33 #include "BESConstraintFuncs.h"
34 #include "BESDataNames.h"
39 BESConstraintFuncs::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 ;