Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2015, 10:56:59 AM (9 years ago)
Author:
landauf
Message:

made some functions private in ClassIdentifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/Identifier.h

    r10512 r10537  
    289289            bool initializeObject(T* object);
    290290
     291            virtual void updateConfigValues(bool updateChildren = true) const;
     292
     293            virtual const std::type_info& getTypeInfo()
     294                { return typeid(T); }
     295
     296            virtual bool canDynamicCastObjectToIdentifierClass(Identifiable* object) const
     297                { return dynamic_cast<T*>(object) != 0; }
     298
     299            static ClassIdentifier<T>* getIdentifier();
     300
     301        private:
     302            ClassIdentifier(const ClassIdentifier<T>& identifier) {}    // don't copy
     303
    291304            void setConfigValues(T* object, Configurable*) const;
    292305            void setConfigValues(T* object, Identifiable*) const;
     
    294307            void addObjectToList(T* object, Listable*);
    295308            void addObjectToList(T* object, Identifiable*);
    296 
    297             virtual void updateConfigValues(bool updateChildren = true) const;
    298 
    299             virtual const std::type_info& getTypeInfo()
    300                 { return typeid(T); }
    301 
    302             virtual bool canDynamicCastObjectToIdentifierClass(Identifiable* object) const
    303                 { return dynamic_cast<T*>(object) != 0; }
    304 
    305             static ClassIdentifier<T>* getIdentifier();
    306 
    307         private:
    308             ClassIdentifier(const ClassIdentifier<T>& identifier) {}    // don't copy
    309309
    310310            void updateConfigValues(bool updateChildren, Listable*) const;
Note: See TracChangeset for help on using the changeset viewer.