CACAO
Public Types | Public Member Functions | Private Attributes | Friends
VariableSet Class Reference

A container for variables names. More...

Public Types

typedef std::set< s4 >::iterator iterator
 

Public Member Functions

void insert (s4 variableIndex)
 
void remove (s4 variableIndex)
 
bool contains (s4 variableIndex)
 
std::set< s4 >::iterator begin ()
 
std::set< s4 >::iterator end ()
 

Private Attributes

std::set< s4_variables
 

Friends

std::ostream & operator<< (std::ostream &, const VariableSet &)
 

Detailed Description

A container for variables names.

Every variable is contained no more than once.

Definition at line 37 of file VariableSet.hpp.

Member Typedef Documentation

Definition at line 43 of file VariableSet.hpp.

Member Function Documentation

std::set<s4>::iterator VariableSet::begin ( )
inline

Definition at line 49 of file VariableSet.hpp.

bool VariableSet::contains ( s4  variableIndex)
inline

Definition at line 47 of file VariableSet.hpp.

std::set<s4>::iterator VariableSet::end ( )
inline

Definition at line 50 of file VariableSet.hpp.

void VariableSet::insert ( s4  variableIndex)
inline

Definition at line 45 of file VariableSet.hpp.

void VariableSet::remove ( s4  variableIndex)
inline

Definition at line 46 of file VariableSet.hpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const VariableSet set 
)
friend

Definition at line 27 of file VariableSet.cpp.

Field Documentation

std::set<s4> VariableSet::_variables
private

Definition at line 39 of file VariableSet.hpp.


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