Classes | |
class | AttributeElement |
class | BaseElement |
class | BaseMultiMappingElement |
class | DataElement |
class | Element |
class | NodeElement |
class | ObjectElement |
Enumerations | |
enum | IncludeNodeType { INCLUDE_NODE_CHILD , INCLUDE_NODE_GROUP , INCLUDE_NODE_MERGE } |
Flags indicating when an element is from an included file that should be treated specifically. More... | |
Functions | |
void | recReplaceAttribute (BaseElement *node, const char *attr, const char *value, const char *nodename=nullptr) |
BaseElement * | includeNode (tinyxml2::XMLNode *root, const char *basefilename) |
BaseElement * | attributeNode (tinyxml2::XMLNode *root, const char *basefilename) |
void | recursiveMergeNode (BaseElement *destNode, BaseElement *srcNode) |
BaseElement * | createNode (tinyxml2::XMLNode *root, const char *basefilename, bool isRoot=false) |
BaseElement * | processXMLLoading (const char *filename, const tinyxml2::XMLDocument &doc, bool fromMem) |
BaseElement * | loadFromMemory (const char *filename, const char *data) |
BaseElement * | loadFromFile (const char *filename) |
SOFA_SIMULATION_COMMON_API bool | save (const char *filename, BaseElement *root) |
Variables | |
Creator< BaseElement::NodeFactory, AttributeElement > | AttributeNodeClass ("Attribute") |
Creator< BaseElement::NodeFactory, DataElement > | DataNodeClass ("Data") |
helper::Creator< BaseElement::NodeFactory, NodeElement > | NodeNodeClass ("Node") |
Creator< BaseElement::NodeFactory, ObjectElement > | ObjectNodeClass ("Object") |
int | numDefault =0 |
Flags indicating when an element is from an included file that should be treated specifically.
BaseElement* sofa::simulation::xml::attributeNode | ( | tinyxml2::XMLNode * | root, |
const char * | basefilename | ||
) |
BaseElement* sofa::simulation::xml::createNode | ( | tinyxml2::XMLNode * | root, |
const char * | basefilename, | ||
bool | isRoot = false |
||
) |
BaseElement * sofa::simulation::xml::includeNode | ( | tinyxml2::XMLNode * | root, |
const char * | basefilename | ||
) |
SOFA_SIMULATION_COMMON_API BaseElement * sofa::simulation::xml::loadFromFile | ( | const char * | filename | ) |
SOFA_SIMULATION_COMMON_API BaseElement * sofa::simulation::xml::loadFromMemory | ( | const char * | filename, |
const char * | data | ||
) |
SOFA_SIMULATION_COMMON_API BaseElement * sofa::simulation::xml::processXMLLoading | ( | const char * | filename, |
const tinyxml2::XMLDocument & | doc, | ||
bool | fromMem | ||
) |
void sofa::simulation::xml::recReplaceAttribute | ( | BaseElement * | node, |
const char * | attr, | ||
const char * | value, | ||
const char * | nodename = nullptr |
||
) |
void sofa::simulation::xml::recursiveMergeNode | ( | BaseElement * | destNode, |
BaseElement * | srcNode | ||
) |
SOFA_SIMULATION_COMMON_API bool sofa::simulation::xml::save | ( | const char * | filename, |
BaseElement * | root | ||
) |
Creator<BaseElement::NodeFactory, AttributeElement> sofa::simulation::xml::AttributeNodeClass("Attribute") | ( | "Attribute" | ) |
Creator<BaseElement::NodeFactory, DataElement> sofa::simulation::xml::DataNodeClass("Data") | ( | "Data" | ) |
helper::Creator<BaseElement::NodeFactory, NodeElement> sofa::simulation::xml::NodeNodeClass("Node") | ( | "Node" | ) |
int SOFA_SIMULATION_COMMON_API sofa::simulation::xml::numDefault =0 |
Creator<BaseElement::NodeFactory, ObjectElement> sofa::simulation::xml::ObjectNodeClass("Object") | ( | "Object" | ) |