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 ;