DART  6.10.1
dart::utils::MjcfParser::detail::Defaults Class Reference

#include <Default.hpp>

Public Member Functions

bool hasDefault (const std::string &className) const
 
const DefaultgetDefault (const std::string &className) const
 
const DefaultgetRootDefault () const
 

Private Member Functions

Errors read (tinyxml2::XMLElement *element, const Default *parent)
 

Private Attributes

std::string mRootClassName
 
std::unordered_map< std::string, DefaultmDefaultMap
 

Friends

class MujocoModel
 

Member Function Documentation

◆ getDefault()

const Default * dart::utils::MjcfParser::detail::Defaults::getDefault ( const std::string &  className) const

◆ getRootDefault()

const Default * dart::utils::MjcfParser::detail::Defaults::getRootDefault ( ) const

◆ hasDefault()

bool dart::utils::MjcfParser::detail::Defaults::hasDefault ( const std::string &  className) const

◆ read()

Errors dart::utils::MjcfParser::detail::Defaults::read ( tinyxml2::XMLElement *  element,
const Default parent 
)
private

Friends And Related Function Documentation

◆ MujocoModel

friend class MujocoModel
friend

Member Data Documentation

◆ mDefaultMap

std::unordered_map<std::string, Default> dart::utils::MjcfParser::detail::Defaults::mDefaultMap
private

◆ mRootClassName

std::string dart::utils::MjcfParser::detail::Defaults::mRootClassName
private