TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
ParserBase< T > Class Template Reference

#include <parser_base.h>

Inheritance diagram for ParserBase< T >:
[legend]
Collaboration diagram for ParserBase< T >:
[legend]

Public Member Functions

const char * getNameOf (const tinyxml2::XMLElement *xml)
 
virtual void parse (const tinyxml2::XMLElement *xml)
 
template<typename... Args>
void parse (const tinyxml2::XMLElement *xml)
 
template<typename Base , typename... Iter>
void parse (const tinyxml2::XMLElement *xml)
 
virtual std::shared_ptr< T > get ()
 
- Public Member Functions inherited from ObjectBase
virtual void print (std::ostream &os)=0
 
virtual const char * getTypename ()=0
 
virtual bool empty () const =0
 
virtual bool isA (const char *name)=0
 
virtual void clear ()=0
 

Protected Member Functions

 ParserBase ()
 
virtual ~ParserBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Protected Attributes

std::shared_ptr< T > Tptr
 

Constructor & Destructor Documentation

◆ ParserBase()

template<class T >
ParserBase< T >::ParserBase ( )
inlineprotected

◆ ~ParserBase()

template<class T >
virtual ParserBase< T >::~ParserBase ( )
inlineprotectedvirtual

Member Function Documentation

◆ get()

◆ getNameOf()

template<class T >
const char * ParserBase< T >::getNameOf ( const tinyxml2::XMLElement *  xml)
inline

◆ parse() [1/3]

template<class T >
virtual void ParserBase< T >::parse ( const tinyxml2::XMLElement *  xml)
inlinevirtual

◆ parse() [2/3]

template<class T >
template<typename... Args>
void ParserBase< T >::parse ( const tinyxml2::XMLElement *  xml)
inline

◆ parse() [3/3]

template<class T >
template<typename Base , typename... Iter>
void ParserBase< T >::parse ( const tinyxml2::XMLElement *  xml)
inline

Member Data Documentation

◆ Tptr

template<class T >
std::shared_ptr<T> ParserBase< T >::Tptr
protected

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