Lines Matching refs:value

238 TiXmlNode* TiXmlNode::FirstChild( const std::string& value ) const
243 if ( node->Value() == value )
250 TiXmlNode* TiXmlNode::LastChild( const std::string& value ) const
255 if ( node->Value() == value )
290 TiXmlNode* TiXmlNode::NextSibling( const std::string& value ) const
295 if ( node->Value() == value )
302 TiXmlNode* TiXmlNode::PreviousSibling( const std::string& value ) const
307 if ( node->Value() == value )
340 TiXmlElement* TiXmlNode::FirstChildElement( const std::string& value ) const
344 for ( node = FirstChild( value );
346 node = node->NextSibling( value ) )
370 TiXmlElement* TiXmlNode::NextSiblingElement( const std::string& value ) const
374 for ( node = NextSibling( value );
376 node = node->NextSibling( value ) )
408 value = _value;
454 void TiXmlElement::SetAttribute( const std::string& name, const std::string& value )
459 node->SetValue( value );
463 TiXmlAttribute* attrib = new TiXmlAttribute( name, value );
484 fprintf( cfile, "<%s", value.c_str() );
506 fprintf( cfile, "</%s>", value.c_str() );
523 fprintf( cfile, "</%s>", value.c_str() );
530 (*stream) << "<" << value;
550 (*stream) << "</" << value << ">";
596 value = documentName;
603 return LoadFile( value );
609 return SaveFile( value );
617 value = filename;
717 // have a value or name.
718 if ( next->value.empty() && next->name.empty() )
727 // have a value or name.
728 if ( prev->value.empty() && prev->name.empty() )
746 if ( value.find( '\"' ) != std::string::npos )
750 PutString( value, stream );
757 PutString( value, stream );
763 void TiXmlAttribute::SetIntValue( int value )
767 stream << value;
772 void TiXmlAttribute::SetDoubleValue( double value )
776 stream << value;
784 std::istringstream string( value );
793 std::istringstream string( value );
816 PutString( value, stream );
844 PutString( value, stream );
936 (*stream) << "<" << value << ">"; // Don't use entities hear! It is unknown.