TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
CylinderParser Class Reference

Parser for Cylinder geometry, inherits from ParserBase<Cylinder> and provides the functionality to parse the cylinder geometry from XML. More...

#include <cylinder_parser.h>

Inheritance diagram for CylinderParser:
[legend]
Collaboration diagram for CylinderParser:
[legend]

Public Member Functions

 CylinderParser ()
 
void parse (const tinyxml2::XMLElement *xml) override
 
bool isA (const char *name) override
 
const char * getTypename () override
 
void print (std::ostream &os) override
 
bool empty () const override
 
void clear () override
 
std::shared_ptr< Cylinderget () override
 
 ~CylinderParser ()=default
 
- Public Member Functions inherited from ParserBase< Cylinder >
const char * getNameOf (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 

Additional Inherited Members

- Protected Member Functions inherited from ParserBase< Cylinder >
 ParserBase ()
 
virtual ~ParserBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 
- Protected Attributes inherited from ParserBase< Cylinder >
std::shared_ptr< CylinderTptr
 

Detailed Description

Parser for Cylinder geometry, inherits from ParserBase<Cylinder> and provides the functionality to parse the cylinder geometry from XML.

Constructor & Destructor Documentation

◆ CylinderParser()

CylinderParser::CylinderParser ( )
inline

◆ ~CylinderParser()

CylinderParser::~CylinderParser ( )
default

Member Function Documentation

◆ clear()

void CylinderParser::clear ( )
inlineoverridevirtual

Implements ObjectBase.

◆ empty()

bool CylinderParser::empty ( ) const
inlineoverridevirtual

Implements ObjectBase.

◆ get()

std::shared_ptr< Cylinder > CylinderParser::get ( )
inlineoverridevirtual

Reimplemented from ParserBase< Cylinder >.

◆ getTypename()

const char * CylinderParser::getTypename ( )
inlineoverridevirtual

Implements ObjectBase.

◆ isA()

bool CylinderParser::isA ( const char *  name)
inlineoverridevirtual

Implements ObjectBase.

◆ parse()

void CylinderParser::parse ( const tinyxml2::XMLElement *  xml)
inlineoverridevirtual

Reimplemented from ParserBase< Cylinder >.

◆ print()

void CylinderParser::print ( std::ostream &  os)
inlineoverridevirtual

Implements ObjectBase.


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