24 #include "ppl-config.h"
39 for (const_iterator i = begin(), set_end = end();
52 for (Variables_Set::const_iterator i = vs.begin(),
53 vs_end = vs.end(); i != vs_end; ) {
67 s <<
"\nvariables( " << variables_set_size <<
" )\n";
68 for (Variables_Set::const_iterator i = begin(),
69 i_end = end(); i != i_end; ++i) {
80 if (!(s >> str) || str !=
"variables(") {
90 if (!(s >> str) || str !=
")") {
96 if (!(s >> variable_value)) {
99 insert(variable_value);
size_t dimension_type
An unsigned integral type for representing space dimensions.
An std::set of variables' indexes.
bool OK() const
Checks if all the invariants are satisfied.
std::ostream & operator<<(std::ostream &s, const Ask_Tell< D > &x)
The standard C++ namespace.
bool OK() const
Checks if all the invariants are satisfied.
dimension_type id() const
Returns the index of the Cartesian axis associated to the variable.
A dimension of the vector space.
std::set< dimension_type > Base
Enable_If< Is_Native_Or_Checked< T >::value, bool >::type ascii_load(std::istream &s, T &t)
void ascii_dump() const
Writes to std::cerr an ASCII representation of *this.
#define PPL_OUTPUT_DEFINITIONS(class_name)
The entire library is confined to this namespace.
void insert(Variable v)
Inserts the index of variable v into the set.
Variables_Set()
Builds the empty set of variable indexes.