COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::coRestraint Class Reference

#include <coRestraint.h>

Public Member Functions

 coRestraint ()
 
 ~coRestraint ()
 
void add (ssize_t mi, ssize_t ma)
 
void add (ssize_t val)
 
void add (const char *selection)
 
bool get (ssize_t val, ssize_t &group) const
 
size_t getNumGroups () const
 
void clear ()
 
const std::vector< ssize_t > & getValues () const
 
ssize_t lower () const
 
ssize_t upper () const
 
const std::stringgetRestraintString () const
 
const std::string getRestraintString (std::vector< ssize_t >) const
 
bool operator() (ssize_t val) const
 

Private Attributes

std::vector< ssize_t > values
 
std::vector< ssize_t > min
 
std::vector< ssize_t > max
 
bool changed
 
bool stringChanged
 
std::string restraintString
 

Constructor & Destructor Documentation

coRestraint::coRestraint ( )
coRestraint::~coRestraint ( )

Member Function Documentation

void coRestraint::add ( ssize_t  mi,
ssize_t  ma 
)
void coRestraint::add ( ssize_t  val)
void coRestraint::add ( const char *  selection)
void coRestraint::clear ( void  )
bool coRestraint::get ( ssize_t  val,
ssize_t &  group 
) const
size_t covise::coRestraint::getNumGroups ( ) const
inline
const std::string & coRestraint::getRestraintString ( ) const
const std::string coRestraint::getRestraintString ( std::vector< ssize_t >  sortedValues) const
const std::vector< ssize_t > & coRestraint::getValues ( ) const
ssize_t coRestraint::lower ( ) const
bool coRestraint::operator() ( ssize_t  val) const
ssize_t coRestraint::upper ( ) const

Member Data Documentation

bool covise::coRestraint::changed
mutableprivate
std::vector<ssize_t> covise::coRestraint::max
mutableprivate
std::vector<ssize_t> covise::coRestraint::min
mutableprivate
std::string covise::coRestraint::restraintString
mutableprivate
bool covise::coRestraint::stringChanged
mutableprivate
std::vector<ssize_t> covise::coRestraint::values
mutableprivate

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