1 #if !defined (__COMMON_HPP)
49 #if defined( __UNICODE )
52 #define _STDTEXT(text) L##text
54 #define _STDTEXT(text) text
57 #define _STDTEXT(text) text
60 #define TEXT(text) _STDTEXT(text)
62 #define __STDFILE__ TEXT( __FILE__ )
71 #define LOCATION __STDFILE__, __LINE__
80 #define IGNORE_RETURN (void)
90 #define DECLARE_TYPE( mydecl, mytype ) \
91 typedef mydecl mytype; \
92 typedef mytype * mytype ## Ptr; \
93 typedef const mytype * mytype ## Cptr; \
94 typedef mytype & mytype ## Ref; \
95 typedef const mytype & mytype ## Cref;
105 #define DECLARE_CLASS( tag ) \
107 typedef tag * tag ## Ptr; \
108 typedef const tag * tag ## Cptr; \
109 typedef tag & tag ## Ref; \
110 typedef const tag & tag ## Cref;
114 #define CORELINUX( tag ) \
121 DECLARE_CLASS( CoreLinuxObject );
122 DECLARE_CLASS( AbstractString );
123 DECLARE_CLASS( StringUtf8 );
124 DECLARE_CLASS( Exception );
125 DECLARE_CLASS( NullPointerException );
126 DECLARE_CLASS( Assertion );
127 DECLARE_CLASS( Synchronized );
128 DECLARE_CLASS( Thread );
129 DECLARE_CLASS( SemaphoreGroup );
130 DECLARE_CLASS( AbstractInteger );
131 DECLARE_CLASS( AbstractReal );
145 #include <Limits.hpp>
149 #include <Exception.hpp>
150 #include <CoreLinuxObject.hpp>
151 #include <AbstractString.hpp>
152 #include <StringUtf8.hpp>
153 #include <NullPointerException.hpp>
154 #include <Assertion.hpp>
155 #include <AccessRights.hpp>
156 #include <Identifier.hpp>
157 #include <ScalarIdentifiers.hpp>
158 #include <Synchronized.hpp>
159 #include <Thread.hpp>
160 #include <Environment.hpp>
169 #if defined(__INCLUDE_COLLECTIONS)
174 #include <Vector.hpp>
184 #endif // !defined __COMMON_HPP
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32