33 #ifndef DART_UTILS_MJCF_DETAIL_DEFAULT_HPP_
34 #define DART_UTILS_MJCF_DETAIL_DEFAULT_HPP_
37 #include <unordered_map>
50 namespace MjcfParser {
82 bool hasDefault(
const std::string& className)
const;
Definition: Default.hpp:54
const MeshAttributes & getMeshAttributes() const
Definition: Default.cpp:56
const GeomAttributes & getGeomAttributes() const
Definition: Default.cpp:44
WeldAttributes mWeldAttributes
Definition: Default.hpp:76
MeshAttributes mMeshAttributes
Definition: Default.hpp:73
const WeldAttributes & getWeldAttributes() const
Definition: Default.cpp:62
Errors read(tinyxml2::XMLElement *element, const Default *parent)
Definition: Default.cpp:68
const JointAttributes & getJointAttributes() const
Definition: Default.cpp:50
JointAttributes mJointAttributes
Definition: Default.hpp:72
Default()=default
Default constructor.
GeomAttributes mGeomAttributes
Definition: Default.hpp:71
Definition: Default.hpp:80
std::unordered_map< std::string, Default > mDefaultMap
Definition: Default.hpp:94
Errors read(tinyxml2::XMLElement *element, const Default *parent)
Definition: Default.cpp:159
std::string mRootClassName
Definition: Default.hpp:93
bool hasDefault(const std::string &className) const
Definition: Default.cpp:133
const Default * getRootDefault() const
Definition: Default.cpp:152
const Default * getDefault(const std::string &className) const
Definition: Default.cpp:139
Main class to parse MJCF model file.
Definition: MujocoModel.hpp:56
std::vector< Error > Errors
Definition: Error.hpp:85
Definition: BulletCollisionDetector.cpp:65
Intermediate raw data read from the XML file.
Definition: GeomAttributes.hpp:53
Definition: JointAttributes.hpp:49
Intermediate raw data read from the XML file.
Definition: MeshAttributes.hpp:50
Definition: WeldAttributes.hpp:48