Lines Matching refs:Attribute
111 // Only used by Attribute::Query functions
180 /** Return the position, in the original source file, of this node or attribute.
413 /// Appends the XML node or attribute to a std::string.
687 /** An attribute is a name-value pair. Elements have an arbitrary
699 /// Construct an empty attribute.
717 /// Construct an attribute with a name and value.
726 const char* Name() const { return name.c_str (); } ///< Return the name of this attribute.
727 const char* Value() const { return value.c_str (); } ///< Return the value of this attribute.
728 int IntValue() const; ///< Return the value of this attribute, converted to an integer.
729 double DoubleValue() const; ///< Return the value of this attribute, converted to a double.
744 void SetName( const char* _name ) { name = _name; } ///< Set the name of this attribute.
765 /// Get the next sibling attribute in the DOM. Returns null at end.
768 /// Get the previous sibling attribute in the DOM. Returns null at beginning.
776 /* Attribute parsing starts: first letter of the name
781 // Prints this Attribute to a FILE stream.
786 // Set the document pointer so the attribute can report errors.
805 classes that use it, but NOT transparent to the Attribute
819 void Add( TiXmlAttribute* attribute );
820 void Remove( TiXmlAttribute* attribute );
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.
868 If the attribute exists and can be converted to an integer,
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.
876 If the attribute exists and can be converted to an double,
880 const char* Attribute( const char* name, double* d ) const;
882 /** QueryIntAttribute examines the attribute - it is an alternative to the
883 Attribute() method with richer error checking.
884 If the attribute is an integer, it is stored in 'value' and
886 an integer, it returns TIXML_WRONG_TYPE. If the attribute
890 /// QueryDoubleAttribute examines the attribute - see QueryIntAttribute().
892 /// QueryFloatAttribute examines the attribute - see QueryIntAttribute().
902 /** Sets an attribute of name to a given value. The attribute
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 ); }
931 /** Sets an attribute of name to a given value. The attribute
936 /** Sets an attribute of name to a given value. The attribute
941 /** Deletes an attribute with the given name.
948 const TiXmlAttribute* FirstAttribute() const { return attributeSet.First(); } ///< Access the first attribute in this element.
950 const TiXmlAttribute* LastAttribute() const { return attributeSet.Last(); } ///< Access the last attribute in this element.
1307 greater than 0, the row and column of each node and attribute is stored