Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

RCIStructure Class Reference

#include <rcistructure.h>

Inheritance diagram for RCIStructure:

Structure Persistence List of all members.

Public Member Functions

 RCIStructure (const OPENCITY_STRUCTURE_CODE &enumStructCode)
 RCIStructure (const OPENCITY_STRUCTURE_CODE &enumStructCode, Structure *pMain)
const OPENCITY_GRAPHIC_CODE GetNextLevelGraphicCode () const
const OPENCITY_GRAPHIC_CODE GetPreviousLevelGraphicCode () const
const bool LevelUp ()
const bool LevelDown ()

Detailed Description

This is a specialisation of structure. It regroups Residential, Commercial and Industrial

Definition at line 28 of file rcistructure.h.


Member Function Documentation

const OPENCITY_GRAPHIC_CODE RCIStructure::GetNextLevelGraphicCode  )  const [virtual]
 

Returns the GRAPHIC_CODE of the next level

Reimplemented from Structure.

Definition at line 67 of file rcistructure.cpp.

References Structure::_eGC, and Structure::GetBaseGraphicCode().

const OPENCITY_GRAPHIC_CODE RCIStructure::GetPreviousLevelGraphicCode  )  const [virtual]
 

Returns the GRAPHIC_CODE of the previous level

Reimplemented from Structure.

Definition at line 79 of file rcistructure.cpp.

References Structure::_eGC, and Structure::GetBaseGraphicCode().


The documentation for this class was generated from the following files:
Generated on Sat Nov 11 10:21:11 2006 for OpenCity by  doxygen 1.4.2