Home | History | Annotate | Download | only in tinyxml

Lines Matching defs:Name

306 	/*	Reads an XML name into the string provided. Returns
307 a pointer just past the last character of the name,
310 static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding );
479 Element: name of the element
502 Element: name of the element
772 /** An attribute is a name-value pair. Elements have an arbitrary
773 number of attributes, each with a unique name.
795 name = _name;
802 /// Construct an attribute with a name and value.
805 name = _name;
811 const char* Name() const { return name.c_str(); } ///< Return the name of this attribute.
820 const TIXML_STRING& NameTStr() const { return name; }
835 void SetName( const char* _name ) { name = _name; } ///< Set the name of this attribute.
843 void SetName( const std::string& _name ) { name = _name; }
860 bool operator==( const TiXmlAttribute& rhs ) const { return rhs.name == name; }
861 bool operator<( const TiXmlAttribute& rhs ) const { return name < rhs.name; }
862 bool operator>( const TiXmlAttribute& rhs ) const { return name > rhs.name; }
864 /* Attribute parsing starts: first letter of the name
884 TIXML_STRING name;
936 /** The element is a container class. It has a value, the element name,
957 /** Given an attribute name, Attribute() returns the value
958 for the attribute of that name, or null if none exists.
960 const char* Attribute( const char* name ) const;
962 /** Given an attribute name, Attribute() returns the value
963 for the attribute of that name, or null if none exists.
968 const char* Attribute( const char* name, int* i ) const;
970 /** Given an attribute name, Attribute() returns the value
971 for the attribute of that name, or null if none exists.
976 const char* Attribute( const char* name, double* d ) const;
985 int QueryIntAttribute( const char* name, int* _value ) const;
987 int QueryUnsignedAttribute( const char* name, unsigned* _value ) const;
992 int QueryBoolAttribute( const char* name, bool* _value ) const;
994 int QueryDoubleAttribute( const char* name, double* _value ) const;
996 int QueryFloatAttribute( const char* name, float* _value ) const {
998 int result = QueryDoubleAttribute( name, &d );
1007 int QueryStringAttribute( const char* name, std::string* _value ) const {
1008 const char* cstr = Attribute( name );
1024 template< typename T > int QueryValueAttribute( const std::string& name, T* outValue ) const
1026 const TiXmlAttribute* node = attributeSet.Find( name );
1037 int QueryValueAttribute( const std::string& name, std::string* outValue ) const
1039 const TiXmlAttribute* node = attributeSet.Find( name );
1047 /** Sets an attribute of name to a given value. The attribute
1050 void SetAttribute( const char* name, const char * _value );
1053 const std::string* Attribute( const std::string& name ) const;
1054 const std::string* Attribute( const std::string& name, int* i ) const;
1055 const std::string* Attribute( const std::string& name, double* d ) const;
1056 int QueryIntAttribute( const std::string& name, int* _value ) const;
1057 int QueryDoubleAttribute( const std::string& name, double* _value ) const;
1060 void SetAttribute( const std::string& name, const std::string& _value );
1062 void SetAttribute( const std::string& name, int _value );
1064 void SetDoubleAttribute( const std::string& name, double value );
1067 /** Sets an attribute of name to a given value. The attribute
1070 void SetAttribute( const char * name, int value );
1072 /** Sets an attribute of name to a given value. The attribute
1075 void SetDoubleAttribute( const char * name, double value );
1077 /** Deletes an attribute with the given name.
1079 void RemoveAttribute( const char * name );
1081 void RemoveAttribute( const std::string& name ) { RemoveAttribute (name.c_str ()); } ///< STL std::string form.
1391 The 'value' of a document node is the xml file name.
1396 /// Create an empty document, that has no name.
1398 /// Create a document with a name. The name of the document is also the filename of the xml.
1457 - The ErrorDesc() method will return the name of the error. (very useful)
1649 /// Return a handle to the first child node with the given name.
1653 /// Return a handle to the first child element with the given name.
1656 /** Return a handle to the "index" child with the given name.
1664 /** Return a handle to the "index" child element with the given name.