55 #ifndef _constructor_h
59 #ifndef constraint_evaluator_h
63 #define FILE_METHODS 1
127 std::vector<BaseType *> _map_vars;
134 Grid(
const string &n);
135 Grid(
const string &n,
const string &d);
139 typedef std::vector<BaseType *>::const_iterator
Map_citer ;
140 typedef std::vector<BaseType *>::iterator
Map_iter ;
141 typedef std::vector<BaseType *>::reverse_iterator
Map_riter ;
153 virtual BaseType *
var(
const string &n,
bool exact =
true,
168 virtual unsigned int width();
170 virtual int components(
bool constrained =
false);
181 virtual unsigned int val2buf(
void *buf,
bool reuse =
false);
183 virtual unsigned int buf2val(
void **val);
185 virtual void print_decl(ostream &out,
string space =
" ",
186 bool print_semi =
true,
187 bool constraint_info =
false,
188 bool constrained =
false);
190 virtual void print_xml(ostream &out,
string space =
" ",
191 bool constrained =
false);
193 virtual void print_val(ostream &out,
string space =
"",
194 bool print_decl_p =
true);
197 virtual void print_decl(FILE *out,
string space =
" ",
198 bool print_semi =
true,
199 bool constraint_info =
false,
200 bool constrained =
false);
201 virtual void print_xml(FILE *out,
string space =
" ",
202 bool constrained =
false);
203 virtual void print_val(FILE *out,
string space =
"",
204 bool print_decl_p =
true);
217 virtual void dump(ostream &strm)
const ;