Lines Matching defs:Name
289 void Trace( const char* name ) {
291 name, maxAllocs, maxAllocs*SIZE/1024, currentAllocs, SIZE, nAllocs, blockPtrs.Size() );
461 Element: name of the element
484 element with the specified name.
494 element with the specified name.
503 /// Get the previous (left) sibling element of this node, with an opitionally supplied name.
511 /// Get the next (right) sibling element of this node, with an opitionally supplied name.
763 /** An attribute is a name-value pair. Elements have an arbitrary
764 number of attributes, each with a unique name.
773 const char* Name() const { return name.GetStr(); } ///< The name of the attribute.
825 void SetName( const char* name );
829 mutable StrPair name;
836 /** The element is a container class. It has a value, the element name,
845 /// Get the name of an element (which is the Value() of the node.)
846 const char* Name() const { return Value(); }
847 /// Set the name of the element.
854 /** Given an attribute name, Attribute() returns the value
855 for the attribute of that name, or null if none
863 the attribute will only be returned if the 'name' and 'value'
877 const char* Attribute( const char* name, const char* value=0 ) const;
879 /** Given an attribute name, IntAttribute() returns the value
884 int IntAttribute( const char* name ) const { int i=0; QueryIntAttribute( name, &i ); return i; }
886 unsigned UnsignedAttribute( const char* name ) const{ unsigned i=0; QueryUnsignedAttribute( name, &i ); return i; }
888 bool BoolAttribute( const char* name ) const { bool b=false; QueryBoolAttribute( name, &b ); return b; }
890 double DoubleAttribute( const char* name ) const { double d=0; QueryDoubleAttribute( name, &d ); return d; }
892 float FloatAttribute( const char* name ) const { float f=0; QueryFloatAttribute( name, &f ); return f; }
894 /** Given an attribute name, QueryIntAttribute() returns
907 int QueryIntAttribute( const char* name, int* _value ) const { const XMLAttribute* a = FindAttribute( name ); if ( !a ) return XML_NO_ATTRIBUTE; return a->QueryIntValue( _value ); }
909 name, unsigned int* _value ) const { const XMLAttribute* a = FindAttribute( name ); if ( !a ) return XML_NO_ATTRIBUTE; return a->QueryUnsignedValue( _value ); }
911 int QueryBoolAttribute( const char* name, bool* _value ) const { const XMLAttribute* a = FindAttribute( name ); if ( !a ) return XML_NO_ATTRIBUTE; return a->QueryBoolValue( _value ); }
913 int QueryDoubleAttribute( const char* name, double* _value ) const { const XMLAttribute* a = FindAttribute( name ); if ( !a ) return XML_NO_ATTRIBUTE; return a->QueryDoubleValue( _value ); }
915 int QueryFloatAttribute( const char* name, float* _value ) const { const XMLAttribute* a = FindAttribute( name ); if ( !a ) return XML_NO_ATTRIBUTE; return a->QueryFloatValue( _value ); }
918 void SetAttribute( const char* name, const char* _value ) { XMLAttribute* a = FindOrCreateAttribute( name ); a->SetAttribute( _value ); }
920 void SetAttribute( const char* name, int _value ) { XMLAttribute* a = FindOrCreateAttribute( name ); a->SetAttribute( _value ); }
922 void SetAttribute( const char* name, unsigned _value ) { XMLAttribute* a = FindOrCreateAttribute( name ); a->SetAttribute( _value ); }
924 void SetAttribute( const char* name, bool _value ) { XMLAttribute* a = FindOrCreateAttribute( name ); a->SetAttribute( _value ); }
926 void SetAttribute( const char* name, double _value ) { XMLAttribute* a = FindOrCreateAttribute( name ); a->SetAttribute( _value ); }
931 void DeleteAttribute( const char* name );
936 const XMLAttribute* FindAttribute( const char* name ) const;
1021 XMLAttribute* FindAttribute( const char* name );
1022 XMLAttribute* FindOrCreateAttribute( const char* name );
1127 XMLElement* NewElement( const char* name );
1396 void OpenElement( const char* name );
1398 void PushAttribute( const char* name, const char* value );
1399 void PushAttribute( const char* name, int value );
1400 void PushAttribute( const char* name, unsigned value );
1401 void PushAttribute( const char* name, bool value );
1402 void PushAttribute( const char* name, double value );