Public Types | Public Member Functions | List of all members
CallTransferT< T > Struct Template Reference
Inheritance diagram for CallTransferT< T >:
CallTransfer

Public Types

typedef T port_type
 

Public Member Functions

virtual ~CallTransferT ()
 
std::string port_type_name () const
 
bool call (const IPort &a, IPort &b)
 
- Public Member Functions inherited from CallTransfer
virtual ~CallTransfer ()
 

Detailed Description

template<typename T>
struct CallTransferT< T >

Definition at line 121 of file test_typeid.cxx.

Member Typedef Documentation

template<typename T>
typedef T CallTransferT< T >::port_type

Definition at line 122 of file test_typeid.cxx.

Constructor & Destructor Documentation

template<typename T>
virtual CallTransferT< T >::~CallTransferT ( )
inlinevirtual

Definition at line 123 of file test_typeid.cxx.

123 {}

Member Function Documentation

template<typename T>
bool CallTransferT< T >::call ( const IPort a,
IPort b 
)
inlinevirtual

Implements CallTransfer.

Definition at line 127 of file test_typeid.cxx.

127  {
128  const Port<port_type>* pa = dynamic_cast<const Port<port_type>*>(&a);
129  Port<port_type>* pb = dynamic_cast<Port<port_type>*>(&b);
130  return transfer(*pa, *pb);
131  }
bool transfer(const A &a, B &b)
Definition: test_typeid.cxx:91
static const double pb
Definition: Units.h:90
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
static bool * b
Definition: config.cpp:1043
template<typename T>
std::string CallTransferT< T >::port_type_name ( ) const
inline

Definition at line 124 of file test_typeid.cxx.

124  {
125  return typeid(port_type).name();
126  }
static QCString name
Definition: declinfo.cpp:673

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