Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 240


Ignore:
Timestamp:
Nov 25, 2007, 3:08:49 AM (17 years ago)
Author:
landauf
Message:

removed some "const" qualifiers

Location:
code/branches/objecthierarchie/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/IdentifierList.cc

    r239 r240  
    7474    }
    7575
    76     std::string IdentifierList::toString()
     76    std::string IdentifierList::toString() const
    7777    {
    7878        IdentifierListElement* temp = this->first_;
  • code/branches/objecthierarchie/src/IdentifierList.h

    r239 r240  
    2727            void remove(const Identifier* identifier);
    2828            bool isInList(const Identifier* identifier);
    29             std::string toString();
     29            std::string toString() const;
    3030
    3131            IdentifierListElement* first_;
  • code/branches/objecthierarchie/src/OrxonoxClass.h

    r239 r240  
    1212            OrxonoxClass();
    1313            virtual ~OrxonoxClass();
    14             const Identifier* getIdentifier() const { return this->identifier_; }
    15             void setIdentifier(const Identifier* identifier) { this->identifier_ = identifier; }
     14            Identifier* getIdentifier() const { return this->identifier_; }
     15            void setIdentifier(Identifier* identifier) { this->identifier_ = identifier; }
    1616            IdentifierList* getParents() const { return this->parents_; }
    1717            void setParents(IdentifierList* parents) { this->parents_ = parents; }
    1818
    1919        private:
    20             const Identifier* identifier_;
     20            Identifier* identifier_;
    2121            IdentifierList* parents_;
    2222    };
Note: See TracChangeset for help on using the changeset viewer.