Changeset 8806 for code/branches/output/src/libraries/core/Identifier.cc
- Timestamp:
- Jul 31, 2011, 5:15:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/Identifier.cc
r8267 r8806 130 130 { 131 131 // If no: We have to store the information and initialize the Identifier 132 COUT(4) << "*** ClassIdentifier: Register Class in " << this->getName() << "-Singleton -> Initialize Singleton." << std::endl;132 orxout(verbose, context::identifier) << "Register Class in ClassIdentifier<" << this->getName() << ">-Singleton -> Initialize Singleton." << endl; 133 133 if (bRootClass) 134 134 this->initialize(0); // If a class is derived from two interfaces, the second interface might think it's derived from the first because of the order of constructor-calls. Thats why we set parents to zero in that case. … … 144 144 void Identifier::initialize(std::set<const Identifier*>* parents) 145 145 { 146 COUT(4) << "*** Identifier: Initialize " << this->name_ << "-Singleton." << std::endl;146 orxout(verbose, context::identifier) << "Initialize ClassIdentifier<" << this->name_ << ">-Singleton." << endl; 147 147 this->bCreatedOneObject_ = true; 148 148 … … 191 191 void Identifier::createClassHierarchy() 192 192 { 193 COUT(3) << "*** Identifier: Create class-hierarchy" << std::endl;193 orxout(internal_status) << "Create class-hierarchy" << endl; 194 194 Identifier::startCreatingHierarchy(); 195 195 for (std::map<std::string, Identifier*>::const_iterator it = Identifier::getStringIdentifierMap().begin(); it != Identifier::getStringIdentifierMap().end(); ++it) … … 203 203 } 204 204 Identifier::stopCreatingHierarchy(); 205 COUT(3) << "*** Identifier: Finished class-hierarchy creation" << std::endl;205 orxout(internal_status) << "Finished class-hierarchy creation" << endl; 206 206 } 207 207 … … 242 242 else 243 243 { 244 COUT(1) << "An error occurred in Identifier.cc:" << std::endl;245 COUT(1) << "Error: Cannot fabricate an object of type '" << this->name_ << "'. Class has no factory." << std::endl;246 COUT(1) << "Aborting..." << std::endl;244 orxout(user_error) << "An error occurred in Identifier.cc:" << endl; 245 orxout(user_error) << "Cannot fabricate an object of type '" << this->name_ << "'. Class has no factory." << endl; 246 orxout(user_error) << "Aborting..." << endl; 247 247 abort(); 248 248 return 0; … … 404 404 if (it != this->configValues_.end()) 405 405 { 406 COUT(2) << "Warning: Overwriting config-value with name " << varname << " in class " << this->getName() << '.' << std::endl;406 orxout(internal_warning) << "Overwriting config-value with name " << varname << " in class " << this->getName() << '.' << endl; 407 407 delete (it->second); 408 408 } … … 450 450 if (it != this->xmlportParamContainers_.end()) 451 451 { 452 COUT(2) << "Warning: Overwriting XMLPortParamContainer in class " << this->getName() << '.' << std::endl;452 orxout(internal_warning) << "Overwriting XMLPortParamContainer in class " << this->getName() << '.' << endl; 453 453 delete (it->second); 454 454 } … … 481 481 if (it != this->xmlportObjectContainers_.end()) 482 482 { 483 COUT(2) << "Warning: Overwriting XMLPortObjectContainer in class " << this->getName() << '.' << std::endl;483 orxout(internal_warning) << "Overwriting XMLPortObjectContainer in class " << this->getName() << '.' << endl; 484 484 delete (it->second); 485 485 }
Note: See TracChangeset
for help on using the changeset viewer.