14 #include "msdevstudio/MSconfig.h"
37 :
BaseXML (
"PointRep", controller ),
40 a_xerror (
"xerror" ),
41 a_yerror (
"yerror" ),
43 a_value_transform (
"value_transform" )
68 tag -> appendChild ( *element );
80 const void * addr = reinterpret_cast <
const void * > ( & rep );
88 string value = rep.
xError() ?
"yes" :
"no";
90 value = rep.
yError() ?
"yes" :
"no";
106 rep = factory->
create ( type );
109 rep = factory->
create ( type );
112 if ( rep == 0 )
return 0;
119 if ( btc_element != 0 ) {
121 rep -> setValueTransform ( btc );
128 unsigned int style = 0;
129 ok = element -> attribute (
a_style, style );
130 if ( ok ) rep -> setStyle ( style );
132 string xerror =
"no";
134 if ( xerror ==
"yes" ) {
138 string yerror =
"no";
140 if ( yerror ==
"yes" ) {
156 BinToColor * btc = factory -> create ( transform );
157 rep -> setValueTransform ( btc );