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

Public Types

typedef T port_type
 

Public Member Functions

virtual ~Port ()
 
virtual std::string port_type_name () const
 
virtual bool put (const port_type &in)
 
virtual bool get (port_type &out) const
 
virtual T make () const
 
- Public Member Functions inherited from IPort
virtual ~IPort ()
 

Detailed Description

template<typename T>
struct Port< T >

Definition at line 35 of file test_typeid.cxx.

Member Typedef Documentation

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

Definition at line 36 of file test_typeid.cxx.

Constructor & Destructor Documentation

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

Definition at line 37 of file test_typeid.cxx.

37 {}

Member Function Documentation

template<typename T>
virtual bool Port< T >::get ( port_type out) const
inlinevirtual

Reimplemented in SubFOut, SubFIn, SubF, and SubI.

Definition at line 42 of file test_typeid.cxx.

42 { return false; }
template<typename T>
virtual T Port< T >::make ( ) const
inlinevirtual

Definition at line 43 of file test_typeid.cxx.

43 { return 0; }
template<typename T>
virtual std::string Port< T >::port_type_name ( ) const
inlinevirtual

Implements IPort.

Definition at line 38 of file test_typeid.cxx.

38  {
39  return typeid(port_type).name();
40  }
static QCString name
Definition: declinfo.cpp:673
T port_type
Definition: test_typeid.cxx:36
template<typename T>
virtual bool Port< T >::put ( const port_type in)
inlinevirtual

Reimplemented in SubFOut, and SubFIn.

Definition at line 41 of file test_typeid.cxx.

41 { return false; }

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