Class for loading rw::core::PropertyMap from XML.  
 More...
#include <DOMCorePropertyMapLoader.hpp>
Class for loading rw::core::PropertyMap from XML. 
The loader is capable of loading all type defined in rw::core::PropertyType.
Implemented using RobWork DOM parser abstraction. 
 
◆ load() [1/2]
  
  
      
        
          | static rw::core::PropertyMap load  | 
          ( | 
          const std::string &  | 
          filename,  | 
         
        
           | 
           | 
          const std::string &  | 
          schemaFileName = ""  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Read in rw::core::PropertyMap from file. 
Throws rw::core::Exception if an error occurs
- Parameters
 - 
  
    | filename | [in] File to load  | 
    | schemaFileName | [in] Name of the schema to use. If empty it will use the schema specified in the XML-file if available.  | 
  
   
- Returns
 - Loaded PropertyMap 
 
 
 
◆ load() [2/2]
Read in rw::core::PropertyMap from istream. 
Throws rw::core::Exception if an error occurs
- Parameters
 - 
  
    | instream | [in] Input stream to read from  | 
    | schemaFileName | [in] Name of the schema to use. If empty it will use the schema specified in the XML-file if available.  | 
  
   
- Returns
 - Loaded PropertyMap 
 
 
 
◆ readProperties()
◆ readProperty()
Reads in a Property from DOMElement. 
May throw rw::core::Exception
- Parameters
 - 
  
    | element | [in] DOMElement describing Property  | 
    | checkHeader | [in] True to check that the header of element matches XMLPropertyFormat::PropertyId  | 
  
   
- Returns
 - Pointer to the property 
 
 
 
The documentation for this class was generated from the following file:
- DOMCorePropertyMapLoader.hpp