26 #ifndef _constructor_h 27 #define _constructor_h 1 35 #define FILE_METHODS 1 60 typedef std::vector<BaseType *>::const_iterator
Vars_citer ;
61 typedef std::vector<BaseType *>::iterator
Vars_iter ;
62 typedef std::vector<BaseType *>::reverse_iterator
Vars_riter ;
81 virtual void print_decl(ostream &out,
string space =
" ",
82 bool print_semi =
true,
83 bool constraint_info =
false,
84 bool constrained =
false);
86 virtual void print_xml(ostream &out,
string space =
" ",
87 bool constrained =
false);
90 virtual void print_decl(FILE *out,
string space =
" ",
91 bool print_semi =
true,
92 bool constraint_info =
false,
93 bool constrained =
false);
94 virtual void print_xml(FILE *out,
string space =
" ",
95 bool constrained =
false);
98 virtual void dump(ostream &strm)
const ;
103 #endif // _constructor_h
std::vector< BaseType * >::reverse_iterator Vars_riter
Contains the attributes for a dataset.
std::vector< BaseType * > _vars
std::vector< BaseType * >::iterator Vars_iter
Type
Identifies the data type.
Constructor & operator=(const Constructor &rhs)
virtual void print_xml(ostream &out, string space=" ", bool constrained=false)
virtual bool is_linear()
Check to see whether this variable can be printed simply.
virtual void transfer_attributes(AttrTable *at_container)
BaseType * get_var_index(int i)
virtual void dump(ostream &strm) const
dumps information about this object
std::vector< BaseType * >::const_iterator Vars_citer
The basic data type for the DODS DAP types.
virtual void print_decl(ostream &out, string space=" ", bool print_semi=true, bool constraint_info=false, bool constrained=false)
Print an ASCII representation of the variable structure.
Vars_iter get_vars_iter(int i)
void _duplicate(const Constructor &s)