Changeset 10379
- Timestamp:
- Apr 22, 2015, 10:29:21 PM (10 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/CoreIncludes.h
r10374 r10379 80 80 #include "CorePrereqs.h" 81 81 82 #include "util/OrxAssert.h" 82 83 #include "util/Output.h" 83 84 #include "class/IdentifierManager.h" … … 137 138 return; \ 138 139 else \ 140 OrxVerify(ClassIdentifier<ClassName>::getIdentifier()->isRegistered(), "Assertion failed in ClassIdentifier of type " << typeid(ClassName).name()); \ 139 141 ((void)0) 140 142 … … 171 173 identifier->setFactory(factory); 172 174 identifier->setLoadable(bLoadable); 175 identifier->setRegistered(true); 173 176 return identifier; 174 177 } -
code/branches/core7/src/libraries/core/class/Identifier.cc
r10377 r10379 55 55 this->factory_ = 0; 56 56 this->bInitialized_ = false; 57 this->bRegistered_ = false; 57 58 this->bLoadable_ = false; 58 59 this->bIsVirtualBase_ = false; -
code/branches/core7/src/libraries/core/class/Identifier.h
r10377 r10379 133 133 134 134 Identifiable* fabricate(Context* context); 135 136 inline bool isRegistered() const { return this->bRegistered_; } 137 inline void setRegistered(bool bRegistered) { this->bRegistered_ = bRegistered; } 135 138 136 139 /// Returns true if the class can be loaded through XML. … … 225 228 226 229 bool bInitialized_; //!< Is true if the Identifier was completely initialized 230 bool bRegistered_; 227 231 bool bLoadable_; //!< False = it's not permitted to load the object through XML 228 232 bool bIsVirtualBase_; //!< If true, it is recommended to inherit virtually from this class. This changes the order of initialization of child classes, thus this information is necessary to check the class hierarchy.
Note: See TracChangeset
for help on using the changeset viewer.