Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::caster< From, ToBase, ToDaughter > Struct Template Reference

Templatized concrete caster class for casting pointers from a covariant class hierarchy to some other type. More...

#include <bayeux/datatools/caster_utils.h>

Inheritance diagram for datatools::caster< From, ToBase, ToDaughter >:
datatools::i_caster< From, ToBase >

Public Member Functions

virtual ToDaughter * cast (From *ptr_)
 
virtual ~caster ()
 

Detailed Description

template<typename From, typename ToBase, typename ToDaughter>
struct datatools::caster< From, ToBase, ToDaughter >

Templatized concrete caster class for casting pointers from a covariant class hierarchy to some other type.

Constructor & Destructor Documentation

◆ ~caster()

template<typename From , typename ToBase , typename ToDaughter >
virtual datatools::caster< From, ToBase, ToDaughter >::~caster ( )
inlinevirtual

Member Function Documentation

◆ cast()

template<typename From , typename ToBase , typename ToDaughter >
virtual ToDaughter* datatools::caster< From, ToBase, ToDaughter >::cast ( From *  ptr_)
inlinevirtual

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