55 #ifndef _constructor_h
59 #ifndef constraint_evaluator_h
125 std::vector<BaseType *> d_map_vars;
132 Grid(
const string &n);
133 Grid(
const string &n,
const string &d);
137 typedef std::vector<BaseType *>::const_iterator
Map_citer ;
138 typedef std::vector<BaseType *>::iterator
Map_iter ;
139 typedef std::vector<BaseType *>::reverse_iterator
Map_riter ;
166 virtual unsigned int width(
bool constrained =
false);
168 virtual unsigned int width(
bool constrained);
170 virtual int components(
bool constrained =
false);
180 virtual unsigned int val2buf(
void *buf,
bool reuse =
false);
181 virtual unsigned int buf2val(
void **val);
184 virtual void print_decl(ostream &out,
string space =
" ",
185 bool print_semi =
true,
186 bool constraint_info =
false,
187 bool constrained =
false);
189 virtual void print_xml(ostream &out,
string space =
" ",
190 bool constrained =
false);
193 virtual void print_val(ostream &out,
string space =
"",
194 bool print_decl_p =
true);
196 virtual void print_decl(FILE *out,
string space =
" ",
197 bool print_semi =
true,
198 bool constraint_info =
false,
199 bool constrained =
false);
200 virtual void print_xml(FILE *out,
string space =
" ",
201 bool constrained =
false);
202 virtual void print_val(FILE *out,
string space =
"",
203 bool print_decl_p =
true);
215 virtual void dump(ostream &strm)
const ;