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

model::Mapping Class Reference
[The PCG model layer]

#include <Mapping.h>

List of all members.

Public Member Functions

 Mapping ()
 ~Mapping ()
 Mapping (int id, float weight)
 Mapping (const Mapping &other)
Mappingoperator= (const Mapping &other)
bool operator== (const Mapping &other) const
bool operator!= (const Mapping &other) const

Private Attributes

int m_iId
float m_fWeight


Constructor & Destructor Documentation

model::Mapping::Mapping  )  [inline]
 

Write brief comment for Mapping here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Mapping here.

Remarks:
Write remarks for Mapping here.
See also:
Separate items with the '|' character.

Definition at line 34 of file Mapping.h.

00034 {};

model::Mapping::~Mapping  )  [inline]
 

Write brief comment for ~Mapping here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for ~Mapping here.

Remarks:
Write remarks for ~Mapping here.
See also:
Separate items with the '|' character.

Definition at line 50 of file Mapping.h.

00050 {};

Mapping::Mapping int  id,
float  weight
 

Definition at line 5 of file Mapping.cpp.

References m_fWeight, and m_iId.

00005                                      {
00006         m_iId = id;
00007         m_fWeight = weight;
00008 }

Mapping::Mapping const Mapping other  ) 
 

Write brief comment for Mapping here.

Parameters:
other Description of parameter other.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Mapping here.

Remarks:
Write remarks for Mapping here.
See also:
Separate items with the '|' character.

Definition at line 27 of file Mapping.cpp.

00027                                      {
00028         
00029 }  


Member Function Documentation

bool Mapping::operator!= const Mapping other  )  const
 

Write brief comment for operator != here.

Parameters:
other Description of parameter other.
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator != here.

Remarks:
Write remarks for operator != here.
See also:
Separate items with the '|' character.

Definition at line 113 of file Mapping.cpp.

00114 {
00115         if( true ) {
00116         return false;
00117         }
00118     return true;
00119 }  

Mapping & Mapping::operator= const Mapping other  ) 
 

Write brief comment for operator = here.

Parameters:
other Description of parameter other.
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator = here.

Remarks:
Write remarks for operator = here.
See also:
Separate items with the '|' character.

Definition at line 52 of file Mapping.cpp.

00053 {
00054     // if same object
00055     if ( this == &other )
00056         return *this;
00057         
00058         
00059     return *this;
00060 }  

bool Mapping::operator== const Mapping other  )  const
 

Write brief comment for operator == here.

Parameters:
other Description of parameter other.
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator == here.

Remarks:
Write remarks for operator == here.
See also:
Separate items with the '|' character.

Definition at line 83 of file Mapping.cpp.

00084 {
00085 
00086     if( true ) {
00087         return true;
00088         }
00089     return false;  
00090 }   


Member Data Documentation

float model::Mapping::m_fWeight [private]
 

Definition at line 16 of file Mapping.h.

Referenced by Mapping().

int model::Mapping::m_iId [private]
 

Definition at line 15 of file Mapping.h.

Referenced by Mapping().


The documentation for this class was generated from the following files:
Generated on Tue Apr 17 09:40:02 2007 for PCG Library by  doxygen 1.3.9.1