# 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)

Static Private Methods

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

Private Attributes

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

Static Private Attributes

const sint _Version = 0


Detailed Description

Set of tiles for a land.

Author:
Cyril Corvazier , Nevrax France
Date:
2000

Definition at line 164 of file tile_bank.h.


Member Function Documentation

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

Definition at line 63 of file tile_bank.cpp.

References _TileSet.

const std::string& NL3D::CTileLand::getName void    const [inline]
 

Definition at line 169 of file tile_bank.h.

References _Name.

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 176 of file tile_bank.h.

References _TileSet.

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

Definition at line 68 of file tile_bank.cpp.

References _TileSet.

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

Definition at line 55 of file tile_bank.cpp.

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

Definition at line 73 of file tile_bank.cpp.

References _Name.


Member Data Documentation

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

Definition at line 187 of file tile_bank.h.

Referenced by getName, and setName.

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

Definition at line 188 of file tile_bank.h.

Referenced by addTileSet, isTileSet, and removeTileSet.

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

Definition at line 53 of file tile_bank.cpp.


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