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

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

#include <sphere_parser.h>

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

Public Member Functions

 SphereParser ()
 
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< Sphereget () override
 
 ~SphereParser ()=default
 
- Public Member Functions inherited from ParserBase< Sphere >
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< Sphere >
 ParserBase ()
 
virtual ~ParserBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 
- Protected Attributes inherited from ParserBase< Sphere >
std::shared_ptr< SphereTptr
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SphereParser()

SphereParser::SphereParser ( )
inline

◆ ~SphereParser()

SphereParser::~SphereParser ( )
default

Member Function Documentation

◆ clear()

void SphereParser::clear ( )
inlineoverridevirtual

Implements ObjectBase.

◆ empty()

bool SphereParser::empty ( ) const
inlineoverridevirtual

Implements ObjectBase.

◆ get()

std::shared_ptr< Sphere > SphereParser::get ( )
inlineoverridevirtual

Reimplemented from ParserBase< Sphere >.

◆ getTypename()

const char * SphereParser::getTypename ( )
inlineoverridevirtual

Implements ObjectBase.

◆ isA()

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

Implements ObjectBase.

◆ parse()

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

Reimplemented from ParserBase< Sphere >.

◆ print()

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

Implements ObjectBase.


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