1#ifndef COVISE_RESTRAINT_H
2#define COVISE_RESTRAINT_H
32 mutable std::vector<ssize_t> values,
min, max;
33 mutable bool changed, stringCurrent;
34 mutable std::string restraintString;
40 void add(ssize_t mi, ssize_t ma);
41 void add(ssize_t val);
42 void add(
const std::string &selection);
43 bool get(ssize_t val, ssize_t &group)
const;
46 const std::vector<ssize_t> &getValues()
const;
47 ssize_t lower()
const;
48 ssize_t upper()
const;
49 const std::string &getRestraintString()
const;
50 const std::string getRestraintString(std::vector<ssize_t>)
const;
53 bool operator()(ssize_t val)
const;
Definition: coRestraint.h:29
size_t getNumGroups() const
Definition: coRestraint.h:44
static T min(T a, T b)
Definition: messages.cpp:28
Definition: allobjects.cpp:30
#define V_UTILEXPORT
Definition: export.h:19