33 #include "BESConstraintFuncs.h" 34 #include "BESDataNames.h" 37 BESConstraintFuncs::pre_to_post_constraint(
const string &name,
38 const string &pre_constraint )
40 string str = pre_constraint ;
41 string new_name = name ;
42 new_name.append(
"." ) ;
45 str.insert( 0, new_name ) ;
47 pos = str.find(
',', pos ) ;
51 str.insert( pos, new_name ) ;
52 pos = str.find(
',', pos ) ;
75 string constraint = dhi.
data[POST_CONSTRAINT] ;
76 if( constraint !=
"" )
78 constraint.append( to_append ) ;
79 dhi.
data[POST_CONSTRAINT] = constraint ;
Structure storing information used by the BES to handle the request.
map< string, string > data
the map of string data that will be required for the current request.
string get_constraint() const
retrieve the constraint expression for this container
BESContainer * container
pointer to current container in this interface
string get_symbolic_name() const
retrieve the symbolic name for this container