Changeset 10381 for code/branches
- Timestamp:
- Apr 22, 2015, 10:32:04 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
r10379 r10381 80 80 #include "CorePrereqs.h" 81 81 82 #include "util/OrxAssert.h"83 82 #include "util/Output.h" 84 83 #include "class/IdentifierManager.h" … … 138 137 return; \ 139 138 else \ 140 OrxVerify(ClassIdentifier<ClassName>::getIdentifier()->isRegistered(), "Assertion failed in ClassIdentifier of type " << typeid(ClassName).name()); \141 139 ((void)0) 142 140 … … 173 171 identifier->setFactory(factory); 174 172 identifier->setLoadable(bLoadable); 175 identifier->setRegistered(true);176 173 return identifier; 177 174 } -
code/branches/core7/src/libraries/core/class/Identifier.cc
r10379 r10381 55 55 this->factory_ = 0; 56 56 this->bInitialized_ = false; 57 this->bRegistered_ = false;58 57 this->bLoadable_ = false; 59 58 this->bIsVirtualBase_ = false; -
code/branches/core7/src/libraries/core/class/Identifier.h
r10379 r10381 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; }138 135 139 136 /// Returns true if the class can be loaded through XML. … … 228 225 229 226 bool bInitialized_; //!< Is true if the Identifier was completely initialized 230 bool bRegistered_;231 227 bool bLoadable_; //!< False = it's not permitted to load the object through XML 232 228 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.