Changeset 632 in dev for trunk/ab5.0/abdev/ab_common/include/Lexical/Type.h
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/include/Lexical/Type.h
r603 r632 136 136 void PtrLevelDown(){ 137 137 PTR_LEVEL_DOWN( basicType ); 138 } 139 void SetPtrLevel( int level ) 140 { 141 basicType = MAKE_PTR_TYPE( NATURAL_TYPE( basicType ), level ); 138 142 } 139 143 … … 166 170 bool IsReal() const; 167 171 bool Is64() const; 172 bool IsValueType() const; 168 173 bool IsProcPtr() const; 169 174 bool IsStruct() const; … … 233 238 static int GetBasicTypeFromSimpleName( const char *variable ); 234 239 }; 235 typedef std::vector<Type> Types; 240 241 class Types 242 : public std::vector<Type> 243 { 244 // XMLシリアライズ用 245 private: 246 friend class boost::serialization::access; 247 template<class Archive> void serialize(Archive& ar, const unsigned int version) 248 { 249 ar & boost::serialization::make_nvp("vector_Type", boost::serialization::base_object<vector<Type>>(*this)); 250 } 251 252 public: 253 bool IsEquals( const Types &Types ) const; 254 }; 236 255 237 256 /*!
Note:
See TracChangeset
for help on using the changeset viewer.