Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

FD::GenericType< T > Class Template Reference

#include <net_types.h>

Inheritance diagram for FD::GenericType< T >:

Inheritance graph
[legend]
Collaboration diagram for FD::GenericType< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T basicType
 You can always get the type wrapped by GenericType<T> by using typename GenericType<T>::basicType.

Public Member Functions

T & val ()
 Returns the value.
 GenericType ()
virtual ~GenericType ()
 GenericType (T val)
 GenericType (GenericType< T > &copy)
virtual void printOn (std::ostream &out=std::cout) const

Protected Attributes

value
 The value wrapped by a GenericType<T>.

Detailed Description

template<class T>
class FD::GenericType< T >

This is a generic type that FlowDesigner will handle. Subclass GenericType if you want to add specific operations and operators


Constructor & Destructor Documentation

template<class T>
FD::GenericType< T >::GenericType  )  [inline]
 

default constructor

template<class T>
virtual FD::GenericType< T >::~GenericType  )  [inline, virtual]
 

destructor

template<class T>
FD::GenericType< T >::GenericType val  )  [inline]
 

constructor with a value

template<class T>
FD::GenericType< T >::GenericType GenericType< T > &  copy  )  [inline]
 

copy constructor


Member Function Documentation

template<class T>
virtual void FD::GenericType< T >::printOn std::ostream &  out = std::cout  )  const [inline, virtual]
 

Formatted output in the FlowDesigner format. Not very useful at this stage.
Format : <Generic Type: typeid(T).name() >

Parameters:
out the output stream

Implements FD::Object.

Reimplemented in FD::PrintableGenericType< T >.


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:29:28 2005 for FlowDesigner by  doxygen 1.4.4