# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CTileLand Class Reference

Set of tiles for a land. More...

#include <tile_bank.h>

List of all members.

Public Methods

const std::string& getName () const
void setName (const std::string& name)
void addTileSet (const std::string& name)
void removeTileSet (const std::string& name)
bool isTileSet (const std::string& name)
void serial (class NLMISC::IStream &f) throw (NLMISC::EStream)

Private Attributes

std::string _Name
std::set<std::string> _TileSet

Static Private Methods

void intersect (const std::set<sint32>& setSrc1, const std::set<sint32>& setSrc2, std::set<sint32>& setDst)

Static Private Attributes

const sint _Version = 0


Detailed Description

Set of tiles for a land.

Author(s):
Cyril Corvazier , Nevrax France
Date:
2000

Definition at line 160 of file tile_bank.h.


Member Function Documentation

void NL3D::CTileLand::addTileSet ( const std::string & name )
 

Definition at line 56 of file tile_bank.cpp.

const std::string & NL3D::CTileLand::getName ( ) const [inline]
 

Definition at line 165 of file tile_bank.h.

void NL3D::CTileLand::intersect ( const std::set< sint32 >& setSrc1,
const std::set< sint32 >& setSrc2,
std::set< sint32 >& setDst ) [static, private]
 

bool NL3D::CTileLand::isTileSet ( const std::string & name ) [inline]
 

Definition at line 172 of file tile_bank.h.

void NL3D::CTileLand::removeTileSet ( const std::string & name )
 

Definition at line 61 of file tile_bank.cpp.

void NL3D::CTileLand::serial ( class NLMISC::IStream & f ) throw (NLMISC::EStream)
 

Definition at line 48 of file tile_bank.cpp.

void NL3D::CTileLand::setName ( const std::string & name )
 

Definition at line 66 of file tile_bank.cpp.


Member Data Documentation

std::string NL3D::CTileLand::_Name [private]
 

Definition at line 183 of file tile_bank.h.

std::set< std::string > NL3D::CTileLand::_TileSet [private]
 

Definition at line 184 of file tile_bank.h.

const sint NL3D::CTileLand::_Version = 0 [static, private]
 

Definition at line 46 of file tile_bank.cpp.


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