| 
    MUSX Document Model
    
   | 
 
Interface for an XML document. More...
#include <XmlInterface.h>
 Inheritance diagram for musx::xml::IXmlDocument:Public Member Functions | |
| virtual void | loadFromBuffer (const char *data, size_t size)=0 | 
| Loads XML content from buffer.   | |
| virtual void | loadFromString (const std::string &xmlContent)=0 | 
| Loads XML content from a string.   | |
| void | loadFromString (const std::vector< char > &xmlContent) | 
| Loads XML content from a vector of characters.   | |
| virtual std::shared_ptr< IXmlElement > | getRootElement () const =0 | 
| Gets the root element of the document.   | |
Interface for an XML document.
      
  | 
  pure virtual | 
Gets the root element of the document.
Implemented in musx::xml::pugi::Document, musx::xml::rapidxml::Document, and musx::xml::tinyxml2::Document.
      
  | 
  pure virtual | 
Loads XML content from buffer.
| data | pointer to the XML content. | 
| size | size of the XML content. | 
| musx::xml::load_error | if the load fails. | 
Implemented in musx::xml::pugi::Document, musx::xml::rapidxml::Document, and musx::xml::tinyxml2::Document.
      
  | 
  pure virtual | 
Loads XML content from a string.
| xmlContent | The XML content as a string. | 
| musx::xml::load_error | if the load fails. | 
Implemented in musx::xml::pugi::Document, musx::xml::rapidxml::Document, and musx::xml::tinyxml2::Document.
      
  | 
  inline | 
Loads XML content from a vector of characters.
| xmlContent | The XML content as a vector of characters. | 
| musx::xml::load_error | if the load fails. |