20 #include "msdevstudio/MSconfig.h"
115 string::size_type pos = name.find_first_of (
" -" );
117 if ( pos == string::npos ) {
119 assert ( transform != 0 );
120 return transform->
clone ();
124 string name1 = name.substr ( 0, pos );
125 string name2 = name.substr ( pos+1 );
127 string::size_type pos2 = name2.find_first_of (
" -" );
129 if ( pos2 == string::npos ) {
132 return createXY ( name1, name2,
"Linear" );
135 string name21 = name2.substr ( 0, pos2 );
136 string name22 = name2.substr ( pos2+1 );
138 return createXY ( name1, name21, name22 );
142 const std::string & y,
143 const std::string & z )
153 if ( x_unary == 0 || y_unary == 0 || z_unary == 0 ) {
154 cout <<
"Could not create XYTransform" << x <<
" "
155 << y <<
" " << z << endl;
176 const std::string & y,
177 const std::string & z )
187 if ( xut == 0 || yut == 0 || zut == 0 ) {
188 cout <<
"Could not create XYZTransform"
189 << x <<
" " << y <<
" " << z << endl;