Public Member Functions | Private Attributes

SetElement Class Reference

This class describes an element of a set. More...

#include <SetElement.h>

List of all members.

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

Detailed Description

This class describes an element of a set.

It is basically an array of strings (char*) together with a size.

Constructor & Destructor Documentation

SetElement::SetElement ( int  n = 0,
char **  val = NULL 

References n, and val.

SetElement::SetElement ( int  n,
IDNode **  val 

References n, and val.

SetElement::~SetElement (  ) 

Member Function Documentation

std::string SetElement::getVal (  )  const [inline]

References val.

Referenced by Set::toString().

bool SetElement::operator() ( const SetElement el1,
const SetElement el2 
) const

References n, and val.

string SetElement::toString (  )  const

References n, and val.

Referenced by Set::findPos().

Member Data Documentation

const int SetElement::n [private]

Referenced by operator()(), SetElement(), and toString().

std::string* SetElement::val [private]

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