OpenSim  OpenSim 3.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
OpenSim::XMLDocument Class Reference

#include <XMLDocument.h>

Inheritance diagram for OpenSim::XMLDocument:

Public Member Functions

virtual ~XMLDocument ()
 
 XMLDocument ()
 
 XMLDocument (const std::string &aFileName)
 
 XMLDocument (const XMLDocument &aDocument)
 
void copyDefaultObjects (const XMLDocument &aDocument)
 
void writeDefaultObjects (SimTK::Xml::Element &elmt)
 
const int & getDocumentVersion () const
 
Xml::Element getRootDataElement ()
 
bool isEqualTo (XMLDocument &aOtherDocument, double toleranceForDoubles=1e-6, bool compareDefaults=false, bool compareVersionNumbers=false)
 
void setFileName (const std::string &aFileName)
 
const std::string & getFileName () const
 
void addDefaultObject (OpenSim::Object *aDefaultObject)
 
bool hasDefaultObjects () const
 
bool print (const std::string &aFileName=NULL)
 

Static Public Member Functions

static const int & getLatestVersion ()
 
static void renameChildNode (SimTK::Xml::Element &aNode, std::string oldElementName, std::string newElementName)
 
static void getVersionAsString (const int aVersion, std::string &aString)
 

Static Public Attributes

static const int LatestVersion
 Latest version of the code encoded as an int xxyyzz where x: major release, y: minor, z: patch. More...
 

Constructor & Destructor Documentation

virtual OpenSim::XMLDocument::~XMLDocument ( )
virtual
OpenSim::XMLDocument::XMLDocument ( )
OpenSim::XMLDocument::XMLDocument ( const std::string &  aFileName)
OpenSim::XMLDocument::XMLDocument ( const XMLDocument aDocument)

Member Function Documentation

void OpenSim::XMLDocument::addDefaultObject ( OpenSim::Object aDefaultObject)
void OpenSim::XMLDocument::copyDefaultObjects ( const XMLDocument aDocument)
const int& OpenSim::XMLDocument::getDocumentVersion ( ) const
inline
const std::string& OpenSim::XMLDocument::getFileName ( ) const
static const int& OpenSim::XMLDocument::getLatestVersion ( )
inlinestatic
Xml::Element OpenSim::XMLDocument::getRootDataElement ( )
static void OpenSim::XMLDocument::getVersionAsString ( const int  aVersion,
std::string &  aString 
)
static
bool OpenSim::XMLDocument::hasDefaultObjects ( ) const
inline
bool OpenSim::XMLDocument::isEqualTo ( XMLDocument aOtherDocument,
double  toleranceForDoubles = 1e-6,
bool  compareDefaults = false,
bool  compareVersionNumbers = false 
)
bool OpenSim::XMLDocument::print ( const std::string &  aFileName = NULL)
static void OpenSim::XMLDocument::renameChildNode ( SimTK::Xml::Element &  aNode,
std::string  oldElementName,
std::string  newElementName 
)
static
void OpenSim::XMLDocument::setFileName ( const std::string &  aFileName)
void OpenSim::XMLDocument::writeDefaultObjects ( SimTK::Xml::Element &  elmt)

Member Data Documentation

const int OpenSim::XMLDocument::LatestVersion
static

Latest version of the code encoded as an int xxyyzz where x: major release, y: minor, z: patch.


The documentation for this class was generated from the following file: