SimObjectAttributes Class Reference

Set of attributes which can be associated to SimObject's by using the AugmentedSpatialPopulation. More...

#include <SimObjectAttributes.h>

Collaboration diagram for SimObjectAttributes:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimObjectAttributes ()
 SimObjectAttributes (shared_ptr< SimObjectAttributesDefinition > attrDef)
 SimObjectAttributes (SimObjectAttributes const &attr)
 ~SimObjectAttributes ()
template<typename T>
get (string name) const
template<typename T>
void set (string name, T value)
double getDouble (string name) const


Detailed Description

Set of attributes which can be associated to SimObject's by using the AugmentedSpatialPopulation.

This class manages the memory for storing a fixed set of attributes. This attributes can be set and get.

Definition at line 23 of file SimObjectAttributes.h.


Constructor & Destructor Documentation

SimObjectAttributes::SimObjectAttributes (  )  [inline]

Definition at line 27 of file SimObjectAttributes.h.

SimObjectAttributes::SimObjectAttributes ( shared_ptr< SimObjectAttributesDefinition attrDef  ) 

Definition at line 12 of file SimObjectAttributes.cpp.

SimObjectAttributes::SimObjectAttributes ( SimObjectAttributes const &  attr  ) 

Definition at line 18 of file SimObjectAttributes.cpp.

References attrDef, and mem.

SimObjectAttributes::~SimObjectAttributes (  ) 

Definition at line 24 of file SimObjectAttributes.cpp.


Member Function Documentation

template<typename T>
template long long SimObjectAttributes::get< long long > ( string  name  )  const [inline]

template<typename T>
void SimObjectAttributes::set ( string  name,
value 
) [inline]

Definition at line 35 of file SimObjectAttributes.cpp.

Referenced by PopObjectAttributeFactory::createAttributes().

double SimObjectAttributes::getDouble ( string  name  )  const [inline]

Definition at line 42 of file SimObjectAttributes.h.

Referenced by SimilarAttributeConnectionPredicate::decide().


The documentation for this class was generated from the following files:

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5