This class describes an element of a set. More...
#include <SetElement.h>
Public Member Functions | |
SetElement (int n=0, char **val=NULL) | |
SetElement (int n, IDNode **val) | |
~SetElement () | |
bool | operator() (const SetElement &el1, const SetElement &el2) const |
std::string | getVal () const |
std::string | toString () const |
Private Attributes | |
const int | n |
std::string * | val |
This class describes an element of a set.
It is basically an array of strings (char*) together with a size.
SetElement::~SetElement | ( | ) |
std::string SetElement::getVal | ( | ) | const [inline] |
References val.
Referenced by Set::toString().
bool SetElement::operator() | ( | const SetElement & | el1, | |
const SetElement & | el2 | |||
) | const |
string SetElement::toString | ( | ) | const |
Referenced by Set::findPos().
const int SetElement::n [private] |
Referenced by operator()(), SetElement(), and toString().
std::string* SetElement::val [private] |
Referenced by getVal(), operator()(), SetElement(), and toString().