BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
Converter< Ty1, Ty2 > Class Template Referenceabstract

#include <Converter.h>

+ Inheritance diagram for Converter< Ty1, Ty2 >:

Public Types

typedef Ty1 source
 
typedef Ty2 destination
 

Public Member Functions

destinationoperator (const source &) const
 

Protected Member Functions

virtual destinationconvert (const source &) const =0
 

Detailed Description

template<class Ty1, class Ty2>
class Converter< Ty1, Ty2 >

Definition at line 15 of file Converter.h.

Member Typedef Documentation

◆ destination

template<class Ty1 , class Ty2 >
typedef Ty2 Converter< Ty1, Ty2 >::destination

Definition at line 19 of file Converter.h.

◆ source

template<class Ty1 , class Ty2 >
typedef Ty1 Converter< Ty1, Ty2 >::source

Definition at line 18 of file Converter.h.

Member Function Documentation

◆ convert()

template<class Ty1 , class Ty2 >
virtual destination * Converter< Ty1, Ty2 >::convert ( const source ) const
protectedpure virtual

◆ operator()

template<class Ty1 , class Ty2 >
destination * Converter< Ty1, Ty2 >::operator ( const source ) const
inline

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