Changeset 828 in dev for trunk/ab5.0/abdev/ab_common/include/Lexical/Const.h
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/ab_common/include/Lexical/Const.h
r647 r828 43 43 { 44 44 } 45 private: 45 46 CConst() 47 : RelationalObjectModuleItem() 48 , type() 49 , i64data() 46 50 { 47 51 } 52 public: 48 53 ~CConst() 49 54 { … … 66 71 67 72 virtual bool Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors ); 73 74 private: 75 CConst(CConst const&); 76 CConst& operator =(CConst const&); 68 77 }; 69 78 class Consts : public Jenga::Common::Hashmap<CConst> … … 81 90 82 91 public: 92 Consts() {} 83 93 84 94 void Add( const Symbol &symbol, _int64 i64data, const Type &type ); … … 93 103 double GetDoubleData( const Symbol &symbol ); 94 104 bool IsStringPtr( const Symbol &symbol, bool isUnicode ); 105 106 private: 107 Consts(Consts const&); 108 Consts& operator =(Consts const&); 95 109 }; 96 110 … … 153 167 154 168 virtual bool Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors ); 169 170 private: 171 ConstMacro(ConstMacro const&); 172 ConstMacro& operator =(ConstMacro const&); 155 173 }; 156 174 class ConstMacros … … 169 187 170 188 public: 189 ConstMacros() {} 190 171 191 bool Add( const Symbol &symbol, const char *parameterStr ); 172 192 ConstMacro *Find( const Symbol &name ); 193 194 private: 195 ConstMacros(ConstMacros const&); 196 ConstMacros& operator =(ConstMacros const&); 173 197 };
Note:
See TracChangeset
for help on using the changeset viewer.