|
| static void | getObjectElements (DtEnvironmentSP env, DtEnvValueSPList &objectNodes) |
| | ! XML Utility Functions More...
|
| |
| static DtEnvValueSP | findObjectElementByMatchType (DtEnvironmentSP env, const DtObjectType &objType) |
| | Finds an individual DtXMLSimObject node by object type. More...
|
| |
| static DtEnvValueSP | findObjectElementByObjectType (DtEnvironmentSP env, const DtObjectType &objType) |
| |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| | Gets the named attribute from a DtEnvValueSP. More...
|
| |
| static bool | hasAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| | Returns true if the attribute exists. More...
|
| |
| static bool | FindAndRemove (DtEnvironmentSP env, const DtString &nodeType, const DtString ¶mName, DtEnvValueSP root) |
| |
| static void | remove (DtEnvironmentSP, DtEnvValueSP) |
| | Removes a value from the environment. Use this routine rather than the VR-Link remove routine. More...
|
| |
| static DtString | getPlatform (DtEnvironmentSP env, DtEnvValueSP root) |
| | Gets platform attribute from current Node. More...
|
| |
| static DtString | GetObjectValue (DtEnvValueSP root) |
| |
| static DtEnvValueSP | AddElement (DtEnvironmentSP env, const DtString &type, DtEnvValueSP root, const DtString ¶mName=DtString::nullString()) |
| |
| static DtEnvValueSP | addbooleanElement (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, bool value) |
| | Adds a new boolean type to the given root and returns the new value. More...
|
| |
| static DtEnvValueSP | addRealElement (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, double value) |
| | Adds a new real type to the given root and returns the new value. More...
|
| |
| static DtEnvValueSP | addIntegerElement (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, double value) |
| | Adds a new integer type to the given root and returns the new value. More...
|
| |
| static DtEnvValueSP | addBooleanAttribute (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, bool value) |
| |
| static DtEnvValueSP | addStringElement (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, const DtString &value) |
| | Convenience function. More...
|
| |
| static DtEnvValueSP | addStringAttribute (DtEnvironmentSP env, DtEnvValueSP root, const DtString &name, const DtString &value) |
| |
| static void | setObjectType (DtEnvironmentSP env, DtEnvValueSP root, const DtObjectType &t) |
| |
| static void | setMatchType (DtEnvironmentSP env, DtEnvValueSP root, const DtObjectType &t) |
| |
| static std::list< DtObjectType > | additionalMatchTypes (DtEnvironmentSP env, DtEnvValueSP root) |
| |
| static void | setAdditionalMatchTypes (DtEnvironmentSP env, DtEnvValueSP root, const std::list< DtObjectType > &types) |
| |
| static void | setPlatform (DtEnvironmentSP env, DtEnvValueSP root, const DtString &t) |
| |
| static double | getDoubleAttribute (DtEnvironmentSP env, DtString attributeName, DtEnvValueSP root) |
| |
| static void | ExtractBindings (DtVariableBindingsList &list, const DtReaderWriter::SearchPaths &searchPaths, DtEnvironmentSP env, DtEnvValueSP node) |
| | Get all direct child binding nodes. More...
|
| |
| static DtReaderWriter * | CreateRwObject (const DtString &rwType) |
| | Creates an RW object given the type. More...
|
| |
| static void | getOrientation (DtEnvironmentSP env, const DtEnvValueSP parentNode, DtTaitBryan &orientation) |
| |
| static void | CreateVariableBinding (const DtString &bindingType, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &systemBindings, DtRwVariableBindings &newBindings, DtEnvironmentSP env, DtEnvValueSP binding) |
| | Creates a new variable binding using bindingType. More...
|
| |
| static void | AddSystems (DtComponentSystemDescriptorList &list, const DtVariableBindingsList &variableBindings, DtEnvironmentSP env, DtEnvValueSP *root, const DtReaderWriter::SearchPaths &searchPaths) |
| | Finds all system nodes, calls addSystem on each one. More...
|
| |
| static void | AddSystem (DtComponentSystemDescriptorList &list, DtEnvironmentSP env, const DtVariableBindingsList &variableBindings, DtEnvValueSP root, const DtReaderWriter::SearchPaths &searchPaths, DtEnvironmentSP parentEnt=DtEnvironmentSP(), DtString systemName="") |
| | Creates a new DtComponentSystemDescriptor from node. More...
|
| |
| static DtEnvironmentSP | CreateVrfXmlEnvironment () |
| |
| static DtEnvironmentSP | CreateDtXMLEnvironment (const DtString &dataSourceFilename, bool showConsoleOutput=true) |
| | Creates a new DtEnvironment object using the data file name. More...
|
| |
| static DtEnvValueSP | GetElementByType (DtEnvironmentSP env, const DtString &type, DtEnvValueSP root) |
| |
| static DtEnvValueSPList | GetElementsByType (DtEnvironmentSP env, const DtString &type, DtEnvValueSP root) |
| |
| static DtEnvValueSP | FindElementByParamName (DtEnvironmentSP env, const DtString &nodeType, const DtString &attributeValue, DtEnvValueSP envValue, bool traverseElements=true) |
| |
| static DtEnvValueSP | FindElementByAttrValue (DtEnvironmentSP env, const DtString &nodeType, const DtString &attributeName, const DtString &attributeValue, DtEnvValueSP envValue, bool traverseElements=true) |
| |
| static DtReaderWriterRegistryData * | DeepFindRw (const DtString &keyword, DtReaderWriterRegistry ®istry, StringVector &path) |
| |
| static bool | IsGroupedElement (const DtString &rwName, const DtVrfXmlUtils::GroupMappings &groupedElements, DtString &groupName) |
| |
| static DtEnvValueSP | FindGroupElement (DtEnvironmentSP env, DtEnvValueSP parentNode, const DtString &groupName, bool createIfMissing=true) |
| |
| static void | FindAndRemoveGroupElement (DtEnvironmentSP env, DtEnvValueSP parentNode, const DtString &groupName) |
| |
| static void | IterateOverChildren (DtReaderWriterRegistry &oldRegistry, DtReaderWriterRegistry &newRegistry, DtEnvironmentSP env, DtEnvValueSP root, const GroupMappings &groupedElements, StringVector &path) |
| |
| static DtEnvironmentSP | sortEnvironment (DtEnvironmentSP) |
| | Given the environment, will sort (recursively) all objects in the environment by their main type, and, depending on that main type a sub key (systemName, paramName, etc). More...
|
| |
| static DtEnvValueSP | CreateEnvNode (DtEnvironmentSP env, const DtString &name, DtEnvValueSP parent, DtString bindingName="") |
| |
| static void | ExtractVariableBindings (DtRwVariableBindings *variableBindings, DtEnvironmentSP env, DtEnvValueSP parentNode) |
| |
| static void | ExtractSystem (DtReaderWriter *systemObject, DtEnvironmentSP env, DtEnvValueSP simObjectNode) |
| |
| static void | ExtractSystems (DtReaderWriterRegistry &oldRegistry, DtEnvironmentSP env, DtEnvValueSP simObjectNode) |
| |
| static DtEnvironmentSP | CreateVrfXmlEnvironment (const DtString &dataSourceFilename, bool showConsoleOutput=true) |
| | Creates a new DtEnvironment object using the data file name. More...
|
| |
| static void | WriteXML (DtEnvironmentSP env, DtString filename) |
| |
| static DtString | removeQuotes (const DtString &str) |
| |
| static DtObjectType | getObjectTypeAttr (DtEnvironmentSP env, const DtString &attributeName, DtEnvValueSP root) |
| | Gets objecttype attribute from current Node. More...
|
| |
| static DtObjectType | getMatchType (DtEnvironmentSP env, DtEnvValueSP root, bool fallbackOnObjectType=true) |
| |
| static std::list< DtObjectType > | getMatchTypes (DtEnvironmentSP env, DtEnvValueSP root, bool fallbackOnObjectType=true) |
| |
| static DtObjectType | getObjectType (DtEnvironmentSP env, DtEnvValueSP root, bool fallbackOnMatchType=true) |
| |
| static void | getXYZAttrs (DtEnvironmentSP env, const DtEnvValueSP root, double &x, double &y, double &z) |
| |
| static void | WriteVector (DtEnvironmentSP env, DtEnvValueSP root, const DtRwVector *vec, bool writeAsBodyPosition) |
| |
| static DtString | IntToHexString (const int &number) |
| |
|
| static DtString | XmlBindingCharToMtl (const DtString &str) |
| | Can't use '$' for variables. More...
|
| |
| static DtString | MtlBindingCharToXml (const DtString &str) |
| |