Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9915 in orxonox.OLD for branches/network/src/lib/lang


Ignore:
Timestamp:
Nov 3, 2006, 10:27:59 AM (18 years ago)
Author:
rennerc
Message:

moved copy constructor from LimitedWidthText to BaseObject

Location:
branches/network/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/lang/base_object.cc

    r9912 r9915  
    3434  this->registerObject(this, BaseObject::_objectList);
    3535}
     36
     37/**
     38 * copyconstructor
     39 * @param bo instance to copy
     40 */
     41BaseObject::BaseObject( const BaseObject& bo )
     42{
     43  this->className = "BaseObject";
     44  this->objectName = "";
     45  this->xmlElem = NULL;
     46  this->registerObject( this, BaseObject::_objectList);
     47}
     48
    3649
    3750/**
  • branches/network/src/lib/lang/base_object.h

    r9908 r9915  
    3030public:
    3131  BaseObject (const std::string& objectName = "");
     32  BaseObject( const BaseObject& bo );
    3233
    3334  virtual ~BaseObject ();
Note: See TracChangeset for help on using the changeset viewer.