Changeset 8858 for code/trunk/src/libraries/core/SubclassIdentifier.h
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/libraries/core/SubclassIdentifier.h
r7401 r8858 69 69 70 70 #include <cstdlib> 71 #include "util/ Debug.h"71 #include "util/Output.h" 72 72 #include "Identifier.h" 73 73 … … 119 119 if (!identifier || !identifier->isA(ClassIdentifier<T>::getIdentifier())) 120 120 { 121 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;121 orxout(internal_error) << "An error occurred in SubclassIdentifier (Identifier.h):" << endl; 122 122 if (identifier) 123 123 { 124 COUT(1) << "Error: Class " << identifier->getName() << " is not a " << ClassIdentifier<T>::getIdentifier()->getName() << '!' << std::endl;125 COUT(1) << "Error: SubclassIdentifier<" << ClassIdentifier<T>::getIdentifier()->getName() << "> = Class(" << identifier->getName() << ") is forbidden." << std::endl;124 orxout(internal_error) << "Class " << identifier->getName() << " is not a " << ClassIdentifier<T>::getIdentifier()->getName() << '!' << endl; 125 orxout(internal_error) << "SubclassIdentifier<" << ClassIdentifier<T>::getIdentifier()->getName() << "> = Class(" << identifier->getName() << ") is forbidden." << endl; 126 126 } 127 127 else 128 128 { 129 COUT(1) << "Error: Can't assign NULL identifier" << std::endl;129 orxout(internal_error) << "Can't assign NULL identifier" << endl; 130 130 } 131 131 } … … 177 177 if (this->identifier_) 178 178 { 179 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;180 COUT(1) << "Error: Class " << this->identifier_->getName() << " is not a " << ClassIdentifier<T>::getIdentifier()->getName() << '!' << std::endl;181 COUT(1) << "Error: Couldn't fabricate a new Object." << std::endl;179 orxout(user_error) << "An error occurred in SubclassIdentifier (Identifier.h):" << endl; 180 orxout(user_error) << "Class " << this->identifier_->getName() << " is not a " << ClassIdentifier<T>::getIdentifier()->getName() << '!' << endl; 181 orxout(user_error) << "Couldn't fabricate a new Object." << endl; 182 182 } 183 183 else 184 184 { 185 COUT(1) << "An error occurred in SubclassIdentifier (Identifier.h):" << std::endl;186 COUT(1) << "Error: Couldn't fabricate a new Object - Identifier is undefined." << std::endl;187 } 188 189 COUT(1) << "Aborting..." << std::endl;185 orxout(user_error) << "An error occurred in SubclassIdentifier (Identifier.h):" << endl; 186 orxout(user_error) << "Couldn't fabricate a new Object - Identifier is undefined." << endl; 187 } 188 189 orxout(user_error) << "Aborting..." << endl; 190 190 abort(); 191 191 return 0;
Note: See TracChangeset
for help on using the changeset viewer.