Changeset 8858 for code/trunk/src/orxonox/pickup
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 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/orxonox/pickup/PickupIdentifier.cc
r7494 r8858 51 51 52 52 if(pickup == NULL) 53 COUT(1) << "Error, PickupIdentifier was created without a valid Pickupable." << std::endl;53 orxout(internal_error, context::pickups) << "PickupIdentifier was created without a valid Pickupable." << endl; 54 54 55 55 this->pickup_ = pickup; … … 83 83 if(!(this->parameters_.size() == identifier->parameters_.size())) 84 84 { 85 COUT(1) << "Something went wrong in PickupIdentifier!" << std::endl;85 orxout(internal_error, context::pickups) << "Something went wrong in PickupIdentifier!" << endl; 86 86 return this->parameters_.size()-identifier->parameters_.size(); 87 87 } … … 93 93 if(identifier->parameters_.find(it->first) == identifier->parameters_.end()) 94 94 { 95 COUT(1) << "Something went wrong in PickupIdentifier!" << std::endl;95 orxout(internal_error, context::pickups) << "Something went wrong in PickupIdentifier!" << endl; 96 96 return -1; 97 97 } … … 115 115 bool PickupIdentifier::addParameter(std::string & name, std::string & value) 116 116 { 117 COUT(4) << "PickupIdentifier " << name << ", " << value << std::endl;117 orxout(verbose, context::pickups) << "PickupIdentifier " << name << ", " << value << endl; 118 118 119 119 if(!(this->parameters_.find(name) == this->parameters_.end())) 120 120 { 121 COUT(4) << "Request for adding a parameter that already exists for the PickupIdentififer was denied. name: '" << name << "', value: '" << value << "'."<< std::endl;121 orxout(verbose, context::pickups) << "Request for adding a parameter that already exists for the PickupIdentififer was denied. name: '" << name << "', value: '" << value << "'."<< endl; 122 122 return false; 123 123 }
Note: See TracChangeset
for help on using the changeset viewer.