Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

cNetworkType Class Reference

#include <ctypes.h>

Inheritance diagram for cNetworkType::

cObject List of all members.

Public Methods

Constructors, destructor, assignment
 cNetworkType (const cNetworkType &n)
 cNetworkType (const char *name, void(*f)())
virtual ~cNetworkType ()
cNetworkType& operator= (const cNetworkType &)
Redefined cObject member functions.
virtual const char* className () const
virtual cObjectdup () const

Detailed Description

Registration class. An instance knows how to build a network of specific type.

Objects of this class are usually created via the Define_Network() macro.


Constructor & Destructor Documentation

cNetworkType::cNetworkType ( const cNetworkType & n ) [inline]
 

Copy constructor.

cNetworkType::cNetworkType ( const char * name,
void(* f)() ) [inline]
 

Constructor. It takes pointer to a function that can build up a network.

cNetworkType::~cNetworkType ( ) [inline, virtual]
 

Destructor.


Member Function Documentation

const char * cNetworkType::className ( ) const [inline, virtual]
 

Returns pointer to a string containing the class name, "cNetworkType".

Reimplemented from cObject.

cObject * cNetworkType::dup ( ) const [inline, virtual]
 

Creates and returns an exact copy of this object. See cObject for more details.

Reimplemented from cObject.

cNetworkType & cNetworkType::operator= ( const cNetworkType & ) [inline]
 

Assignment is not supported for this class. This function raises an error when called.


The documentation for this class was generated from the following file:
Generated at Sat May 4 15:45:50 2002 for OMNeT++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001