Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2008, 7:32:17 PM (16 years ago)
Author:
rgrieder
Message:

XML Attribute are case insensitive now. However this does not applay to tags since they refer to actual classes, which are case sensitive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/core/BaseObject.h

    r2485 r2539  
    6262    class _CoreExport BaseObject : virtual public OrxonoxClass
    6363    {
     64        template <class T> friend class XMLPortClassParamContainer;
     65
    6466        public:
    6567            BaseObject(BaseObject* creator);
     
    173175
    174176        protected:
    175             std::string name_;                          //!< The name of the object
    176             std::string oldName_;                       //!< The old name of the object
    177             mbool       bActive_;                       //!< True = the object is active
    178             mbool       bVisible_;                      //!< True = the object is visible
     177            std::string name_;                                 //!< The name of the object
     178            std::string oldName_;                              //!< The old name of the object
     179            mbool       bActive_;                              //!< True = the object is active
     180            mbool       bVisible_;                             //!< True = the object is visible
    179181            std::string mainStateName_;
    180182            Functor*    functorSetMainState_;
     
    185187            Template* getTemplate(unsigned int index) const;
    186188
    187             bool                   bInitialized_;         //!< True if the object was initialized (passed the object registration)
    188             const XMLFile*         file_;                 //!< The XMLFile that loaded this object
    189             std::string            loaderIndentation_;    //!< Indentation of the debug output in the Loader
     189            bool                   bInitialized_;              //!< True if the object was initialized (passed the object registration)
     190            const XMLFile*         file_;                      //!< The XMLFile that loaded this object
     191            Element*               lastLoadedXMLElement_;      //!< Non 0 if the TinyXML attributes have already been copied to our own lowercase map
     192            std::map<std::string, std::string> xmlAttributes_; //!< Lowercase XML attributes
     193            std::string            loaderIndentation_;         //!< Indentation of the debug output in the Loader
    190194            Namespace*             namespace_;
    191195            BaseObject*            creator_;
Note: See TracChangeset for help on using the changeset viewer.