Changeset 1260 for code/branches/ogre/src/core
- Timestamp:
- May 12, 2008, 7:08:58 PM (17 years ago)
- Location:
- code/branches/ogre/src/core
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre/src/core/BaseObject.cc
r1209 r1260 45 45 @brief Constructor: Registers the object in the BaseObject-list. 46 46 */ 47 BaseObject::BaseObject() 47 BaseObject::BaseObject() : 48 bActive_(true), 49 bVisible_(true), 50 level_(0), 51 namespace_(0) 48 52 { 49 53 RegisterRootObject(BaseObject); 50 51 this->bActive_ = true;52 this->bVisible_ = true;53 this->level_ = 0;54 this->namespace_ = 0;55 54 } 56 55 -
code/branches/ogre/src/core/Error.cc
r1062 r1260 37 37 namespace orxonox 38 38 { 39 Error::Error()40 {41 Error(0,"");42 }43 44 39 Error::Error(std::string errorMsg, int errorCode) 45 {46 Error(errorCode, errorMsg);47 }48 49 Error::Error(int errorCode, std::string errorMsg)50 40 { 51 41 COUT(1) << "############################ "<< std::endl -
code/branches/ogre/src/core/Error.h
r1062 r1260 44 44 { 45 45 public: 46 Error(); 47 Error(std::string errorMsg, int errorCode = 0); 48 Error(int errorCode, std::string errorMsg = ""); 46 Error(std::string errorMsg = "", int errorCode = 0); 49 47 private: 50 48 -
code/branches/ogre/src/core/Namespace.cc
r1062 r1260 37 37 CreateFactory(Namespace); 38 38 39 Namespace::Namespace() 39 Namespace::Namespace() : 40 bAutogeneratedFileRootNamespace_(false), 41 bRoot_(false), 42 operator_("or") 40 43 { 41 44 RegisterObject(Namespace); 42 43 this->bAutogeneratedFileRootNamespace_ = false;44 this->bRoot_ = false;45 this->operator_ = "or";46 45 } 47 46 -
code/branches/ogre/src/core/OrxonoxClass.cc
r1056 r1260 37 37 { 38 38 /** @brief Constructor: Sets the default values. */ 39 OrxonoxClass::OrxonoxClass() 39 OrxonoxClass::OrxonoxClass() : 40 identifier_(0), 41 parents_(0) 40 42 { 41 43 this->setConfigValues(); 42 43 this->identifier_ = 0;44 this->parents_ = 0;45 44 } 46 45
Note: See TracChangeset
for help on using the changeset viewer.