stlab.adobe.com Adobe Systems Incorporated
final.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2005-2007 Adobe Systems Incorporated
3  Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
4  or a copy at http://stlab.adobe.com/licenses.html)
5 */
6 
7 /*************************************************************************************************/
8 
9 #ifndef ADOBE_FINAL_HPP
10 #define ADOBE_FINAL_HPP
11 
12 #include <adobe/config.hpp>
13 
14 /*************************************************************************************************/
15 
16 #ifndef ADOBE_NO_DOCUMENTATION
17 
18 /*************************************************************************************************/
19 
20 namespace adobe {
21 
22 /*************************************************************************************************/
23 
24 namespace implementation {
25 
26 /*************************************************************************************************/
27 
28 template <typename T>
29 class final
30 {
31 protected:
32  final() { }
33 };
34 
35 /*************************************************************************************************/
36 
37 } // namespace implementation
38 
39 /*************************************************************************************************/
40 
41 } // namespace adobe
42 
43 /*************************************************************************************************/
44 
45 #endif
46 
47 /*************************************************************************************************/
48 
49 #define ADOBE_FINAL(T) private virtual adobe::implementation::final<T>
50 
51 /*************************************************************************************************/
52 
53 #endif
54 
55 /*************************************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google