ArStringInfoGroup Class Reference

#include <ArStringInfoGroup.h>

List of all members.


Detailed Description

This class takes callbacks from different classes that want this string information and then lets you just add the information here instead of to each individual class.


Public Member Functions

void addAddStringCallback (ArFunctor3< const char *, ArTypes::UByte2, ArFunctor2< char *, ArTypes::UByte2 > * > *functor, ArListPos::Pos position=ArListPos::LAST)
 This is the function to add a callback to be called by addString.
bool addString (const char *name, ArTypes::UByte2 maxLen, ArFunctor2< char *, ArTypes::UByte2 > *functor)
 Adds a string to the list in the raw format.
bool addStringBool (const char *name, ArTypes::UByte2 maxLen, ArRetFunctor< bool > *functor, const char *format="%s")
 Adds a bool to the list in the helped way.
bool addStringDouble (const char *name, ArTypes::UByte2 maxLen, ArRetFunctor< double > *functor, const char *format="%g")
 Adds a double to the list in the helped way.
bool addStringInt (const char *name, ArTypes::UByte2 maxLen, ArRetFunctor< int > *functor, const char *format="%d")
 Adds an int to the list in the helped way.
bool addStringString (const char *name, ArTypes::UByte2 maxLen, ArRetFunctor< const char * > *functor, const char *format="%s")
 Adds a string to the list in the helped way.
 ArStringInfoGroup ()
 Constructor.
virtual ~ArStringInfoGroup ()
 Destructor.

Protected Attributes

std::set< std::string, ArStrCaseCmpOpmyAddedStrings
std::list< ArFunctor3< const
char *, ArTypes::UByte2, ArFunctor2<
char *, ArTypes::UByte2 > * > * > 
myAddStringCBList
ArMutex myDataMutex


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:39:37 2009 for Aria by  doxygen 1.5.1