|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CStringIdArray Class ReferenceThe goal of this class is to associate number and string.
More...
#include <string_id_array.h>
List of all members.
Detailed Description
The goal of this class is to associate number and string.
It is used in the CCallbackNetBase for message id<->string associations. -
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2001
Definition at line 50 of file string_id_array.h.
Member Typedef Documentation
typedef sint16 NLMISC::CStringIdArray::TStringId
|
|
|
Definition at line 54 of file string_id_array.h.
Referenced by NLNET::CNetManager::addCallbackArray, addString, NLNET::CMessage::CMessage, getId, NLNET::CMessage::getId, getString, NLNET::CCallbackNetBase::processOneMessage, NLNET::CMessage::readType, resize, NLNET::CCallbackNetBase::setOtherSideAssociations, NLNET::CMessage::setType, and size. |
Constructor & Destructor Documentation
NLMISC::CStringIdArray::CStringIdArray |
( |
|
) |
[inline] |
|
Member Function Documentation
void NLMISC::CStringIdArray::addString |
( |
const std::string & |
str |
) |
[inline] |
|
void NLMISC::CStringIdArray::addString |
( |
const std::string & |
str, |
|
|
TStringId |
id |
|
) |
[inline] |
|
void NLMISC::CStringIdArray::clear |
( |
|
) |
[inline] |
|
void NLMISC::CStringIdArray::display |
( |
|
) |
[inline] |
|
const std::set<std::string>& NLMISC::CStringIdArray::getAskedStringArray |
( |
|
) |
const [inline] |
|
TStringId NLMISC::CStringIdArray::getId |
( |
const std::string & |
str, |
|
|
bool |
IgnoreIfUnknown = false |
|
) |
[inline] |
|
const std::set<std::string>& NLMISC::CStringIdArray::getNeedToAskedStringArray |
( |
|
) |
const [inline] |
|
std::string NLMISC::CStringIdArray::getString |
( |
TStringId |
id |
) |
const [inline] |
|
void NLMISC::CStringIdArray::ignoreAllUnknownId |
( |
bool |
b |
) |
[inline] |
|
void NLMISC::CStringIdArray::moveNeedToAskToAskedStringArray |
( |
|
) |
[inline] |
|
void NLMISC::CStringIdArray::resize |
( |
TStringId |
size |
) |
[inline] |
|
TStringId NLMISC::CStringIdArray::size |
( |
|
) |
const [inline] |
|
Member Data Documentation
std::set<std::string> NLMISC::CStringIdArray::_AskedStringArray [private]
|
|
bool NLMISC::CStringIdArray::_IgnoreAllUnknownId [private]
|
|
std::set<std::string> NLMISC::CStringIdArray::_NeedToAskStringArray [private]
|
|
std::vector<std::string> NLMISC::CStringIdArray::_StringArray [private]
|
|
The documentation for this class was generated from the following file:
|
|