33#include "BESConstraintFuncs.h"
34#include "BESDataNames.h"
39BESConstraintFuncs::pre_to_post_constraint(
const string &name,
40 const string &pre_constraint )
42 string str = pre_constraint ;
43 string new_name = name ;
44 new_name.append(
"." ) ;
47 str.insert( 0, new_name ) ;
49 pos = str.find(
',', pos ) ;
53 str.insert( pos, new_name ) ;
54 pos = str.find(
',', pos ) ;
77 string constraint = dhi.
data[POST_CONSTRAINT] ;
78 if( constraint !=
"" )
80 constraint.append( to_append ) ;
81 dhi.
data[POST_CONSTRAINT] = constraint ;
std::string get_symbolic_name() const
retrieve the symbolic name for this container
std::string get_constraint() const
retrieve the constraint expression for this container
Structure storing information used by the BES to handle the request.
std::map< std::string, std::string > data
the map of string data that will be required for the current request.
BESContainer * container
pointer to current container in this interface