#include <svkXMLUtils.h>
 | 
| static svkXMLUtils *  | New () | 
|   | 
| static vtkXMLDataElement *  | CreateNestedXMLDataElement (vtkXMLDataElement *parent, string name, string value) | 
|   | 
| static vtkXMLDataElement *  | ReadXMLAndSubstituteVariables (string xmlFileName, vector< string > xmlVariables) | 
|   | 
| static vtkXMLDataElement *  | FindNestedElementWithPath (vtkXMLDataElement *root, string xmlPath) | 
|   | 
| static bool  | GetNestedElementCharacterDataWithPath (vtkXMLDataElement *root, string xmlPath, string *data) | 
|   | 
| static bool  | SetNestedElementWithPath (vtkXMLDataElement *root, string xmlPath, string value) | 
|   | 
| static void  | ReadLine (ifstream *fs, istringstream *iss) | 
|   | 
| static vector< string >  | SplitString (string str, string token) | 
|   | 
  
  
      
        
          | vtkXMLDataElement * CreateNestedXMLDataElement  | 
          ( | 
          vtkXMLDataElement *  | 
          parent,  | 
         
        
           | 
           | 
          string  | 
          name,  | 
         
        
           | 
           | 
          string  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | vtkXMLDataElement * FindNestedElementWithPath  | 
          ( | 
          vtkXMLDataElement *  | 
          root,  | 
         
        
           | 
           | 
          string  | 
          xmlPath  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | bool GetNestedElementCharacterDataWithPath  | 
          ( | 
          vtkXMLDataElement *  | 
          root,  | 
         
        
           | 
           | 
          string  | 
          xmlPath,  | 
         
        
           | 
           | 
          string *  | 
          data  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | void ReadLine  | 
          ( | 
          ifstream *  | 
          fs,  | 
         
        
           | 
           | 
          istringstream *  | 
          iss  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Utility function to read a single line from a file stream. 
 
 
  
  
      
        
          | vtkXMLDataElement * ReadXMLAndSubstituteVariables  | 
          ( | 
          string  | 
          xmlFileName,  | 
         
        
           | 
           | 
          vector< string >  | 
          xmlVariables  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
This method reads an xml file and then substitutes varibales from variables vectors. Each element in the variables vector is expected to have the format: VARIBALE_NAME=value. For this case any string the xml matching $VARIABLE_NAME will be replaced with 'value'. 
 
 
  
  
      
        
          | bool SetNestedElementWithPath  | 
          ( | 
          vtkXMLDataElement *  | 
          root,  | 
         
        
           | 
           | 
          string  | 
          xmlPath,  | 
         
        
           | 
           | 
          string  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | vector< string > SplitString  | 
          ( | 
          string  | 
          str,  | 
         
        
           | 
           | 
          string  | 
          token  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this class was generated from the following files: