# 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  

NLLIGO::CZoneBankElement Class Reference

#include <zone_bank.h>

List of all members.

Public Methods

 CZoneBankElement ()
void setMask (const std::vector< bool > &mask, uint8 sizeX, uint8 sizeY)
void addCategory (const std::string &CatType, const std::string &CatValue)
const std::string & getName ()
const std::string & getSize ()
uint8 getSizeX ()
uint8 getSizeY ()
const std::vector< bool > & getMask ()
const std::string & getCategory (const std::string &CatType)
 Return the CatValue or STRING_NO_CAT_TYPE if no category of that type found. More...

void convertSize ()
 Convert size in the categories to _SizeX, _SizeY. More...

void serial (NLMISC::IStream &f)

Private Attributes

std::map< std::string, std::string > _CategoriesMap
uint8 _SizeX
uint8 _SizeY
std::vector< bool > _Mask

Static Private Attributes

std::string _NoCatTypeFound = STRING_NO_CAT_TYPE

Friends

class CZoneBank


Constructor & Destructor Documentation

NLLIGO::CZoneBankElement::CZoneBankElement  
 

Definition at line 47 of file zone_bank.cpp.

References _SizeX, and _SizeY.


Member Function Documentation

void NLLIGO::CZoneBankElement::addCategory const std::string &    CatType,
const std::string &    CatValue
 

Definition at line 53 of file zone_bank.cpp.

References _CategoriesMap.

void NLLIGO::CZoneBankElement::convertSize  
 

Convert size in the categories to _SizeX, _SizeY.

Definition at line 81 of file zone_bank.cpp.

References _SizeX, _SizeY, and getSize.

Referenced by serial.

const std::string& NLLIGO::CZoneBankElement::getCategory const std::string &    CatType
 

Return the CatValue or STRING_NO_CAT_TYPE if no category of that type found.

Referenced by getName, and getSize.

const std::vector<bool>& NLLIGO::CZoneBankElement::getMask   [inline]
 

Definition at line 85 of file zone_bank.h.

References _Mask.

const string & NLLIGO::CZoneBankElement::getName  
 

Definition at line 59 of file zone_bank.cpp.

References getCategory.

const string & NLLIGO::CZoneBankElement::getSize  
 

Definition at line 65 of file zone_bank.cpp.

References getCategory.

Referenced by convertSize.

uint8 NLLIGO::CZoneBankElement::getSizeX   [inline]
 

Definition at line 83 of file zone_bank.h.

References _SizeX.

uint8 NLLIGO::CZoneBankElement::getSizeY   [inline]
 

Definition at line 84 of file zone_bank.h.

References _SizeY.

void NLLIGO::CZoneBankElement::serial NLMISC::IStream   f
 

Definition at line 105 of file zone_bank.cpp.

References _CategoriesMap, _Mask, convertSize, NLMISC::IStream::serialCheck, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, NLMISC::IStream::xmlPop, and NLMISC::IStream::xmlPush.

void NLLIGO::CZoneBankElement::setMask const std::vector< bool > &    mask,
uint8    sizeX,
uint8    sizeY
 

Definition at line 129 of file zone_bank.cpp.

References _Mask, _SizeX, and _SizeY.


Friends And Related Function Documentation

friend class CZoneBank [friend]
 

Definition at line 94 of file zone_bank.h.


Member Data Documentation

std::map<std::string, std::string> NLLIGO::CZoneBankElement::_CategoriesMap [private]
 

Definition at line 63 of file zone_bank.h.

Referenced by addCategory, and serial.

std::vector<bool> NLLIGO::CZoneBankElement::_Mask [private]
 

Definition at line 69 of file zone_bank.h.

Referenced by getMask, serial, and setMask.

string NLLIGO::CZoneBankElement::_NoCatTypeFound = STRING_NO_CAT_TYPE [static, private]
 

Definition at line 44 of file zone_bank.cpp.

uint8 NLLIGO::CZoneBankElement::_SizeX [private]
 

Definition at line 68 of file zone_bank.h.

Referenced by convertSize, CZoneBankElement, getSizeX, and setMask.

uint8 NLLIGO::CZoneBankElement::_SizeY [private]
 

Definition at line 68 of file zone_bank.h.

Referenced by convertSize, CZoneBankElement, getSizeY, and setMask.


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