Logo Search packages:      
Sourcecode: rarian version File versions

bool TiXmlDocument::LoadFile ( TiXmlEncoding  encoding = TIXML_DEFAULT_ENCODING  ) 

Load a file using the current document value. Returns true if successful. Will delete any existing document data before loading.

Definition at line 981 of file tinyxml.cpp.

Referenced by LoadFile().

{
      // See STL_STRING_BUG below.
      StringToBuffer buf( value );

      if ( buf.buffer && LoadFile( buf.buffer, encoding ) )
            return true;

      return false;
}


Generated by  Doxygen 1.6.0   Back to index