Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Property Class Template Reference

#include <Property.hpp>

Inheritance diagram for Property:

Inheritance graph
[legend]
Collaboration diagram for Property:

Collaboration graph
[legend]

Detailed Description

template<class T>
class gns::Property< T >

Templated Property class.


Public Types

typedef T property_type
 The type of the property.

Public Member Functions

 Property ()
 Empty Constructor.
 Property (T v)
 Constructor.
 Property (const Property< T > &prop)
 Copy constructor.
virtual ~Property ()
 Destructor.
virtual Property< T > * clone () const
 Return a copy of the Property.
virtual std::string get_type () const
 Get type string for Property.

Data Fields

val
 The value of the property.


Member Typedef Documentation

typedef T property_type
 

The type of the property.


Constructor & Destructor Documentation

Property  )  [inline]
 

Empty Constructor.

Property v  )  [inline]
 

Constructor.

Property const Property< T > &  prop  )  [inline]
 

Copy constructor.

virtual ~Property  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual Property<T>* clone  )  const [inline, virtual]
 

Return a copy of the Property.

Implements AbstractProperty.

virtual std::string get_type  )  const [inline, virtual]
 

Get type string for Property.

Implements AbstractProperty.


Field Documentation

T val
 

The value of the property.


Generated on Sun Nov 5 12:06:31 2006 for Graph by  doxygen 1.4.1