Lines Matching defs:Name
259 /* Reads an XML name into the string provided. Returns
260 a pointer just past the last character of the name,
263 static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding );
441 Element: name of the element
462 Element: name of the element
687 /** An attribute is a name-value pair. Elements have an arbitrary
688 number of attributes, each with a unique name.
710 name = _name;
717 /// Construct an attribute with a name and value.
720 name = _name;
726 const char* Name() const { return name.c_str (); } ///< Return the name of this attribute.
744 void SetName( const char* _name ) { name = _name; } ///< Set the name of this attribute.
772 bool operator==( const TiXmlAttribute& rhs ) const { return rhs.name == name; }
773 bool operator<( const TiXmlAttribute& rhs ) const { return name < rhs.name; }
774 bool operator>( const TiXmlAttribute& rhs ) const { return name > rhs.name; }
776 /* Attribute parsing starts: first letter of the name
794 TIXML_STRING name;
827 const TiXmlAttribute* Find( const char * name ) const;
828 TiXmlAttribute* Find( const char * name );
840 /** The element is a container class. It has a value, the element name,
861 /** Given an attribute name, Attribute() returns the value
862 for the attribute of that name, or null if none exists.
864 const char* Attribute( const char* name ) const;
866 /** Given an attribute name, Attribute() returns the value
867 for the attribute of that name, or null if none exists.
872 const char* Attribute( const char* name, int* i ) const;
874 /** Given an attribute name, Attribute() returns the value
875 for the attribute of that name, or null if none exists.
880 const char* Attribute( const char* name, double* d ) const;
889 int QueryIntAttribute( const char* name, int* _value ) const;
891 int QueryDoubleAttribute( const char* name, double* _value ) const;
893 int QueryFloatAttribute( const char* name, float* _value ) const {
895 int result = QueryDoubleAttribute( name, &d );
902 /** Sets an attribute of name to a given value. The attribute
905 void SetAttribute( const char* name, const char * _value );
908 const char* Attribute( const std::string& name ) const { return Attribute( name.c_str() ); }
909 const char* Attribute( const std::string& name, int* i ) const { return Attribute( name.c_str(), i ); }
910 const char* Attribute( const std::string& name, double* d ) const { return Attribute( name.c_str(), d ); }
911 int QueryIntAttribute( const std::string& name, int* _value ) const { return QueryIntAttribute( name.c_str(), _value ); }
912 int QueryDoubleAttribute( const std::string& namename.c_str(), _value ); }
915 void SetAttribute( const std::string& name, const std::string& _value )
917 StringToBuffer n( name );
923 void SetAttribute( const std::string& name, int _value )
925 StringToBuffer n( name );
931 /** Sets an attribute of name to a given value. The attribute
934 void SetAttribute( const char * name, int value );
936 /** Sets an attribute of name to a given value. The attribute
939 void SetDoubleAttribute( const char * name, double value );
941 /** Deletes an attribute with the given name.
943 void RemoveAttribute( const char * name );
945 void RemoveAttribute( const std::string& name ) { RemoveAttribute (name.c_str ()); } ///< STL std::string form.
1219 The 'value' of a document node is the xml file name.
1224 /// Create an empty document, that has no name.
1226 /// Create a document with a name. The name of the document is also the filename of the xml.
1279 - The ErrorDesc() method will return the name of the error. (very useful)
1459 /// Return a handle to the first child node with the given name.
1463 /// Return a handle to the first child element with the given name.
1466 /** Return a handle to the "index" child with the given name.
1474 /** Return a handle to the "index" child element with the given name.