14 #include "msdevstudio/MSconfig.h"
31 using namespace hippodraw;
33 #ifdef ITERATOR_MEMBER_DEFECT
45 m_x_option (
"X error (optional)" ),
46 m_y_option (
"Y error (optional)" )
80 vector< string >:: iterator first
99 vector< string >:: iterator first
175 namespace dp = hippodraw::DataPoint2DTuple;
188 unsigned int columns = 4;
191 vector < string > labels;
192 labels.push_back (
m_ntuple -> getLabelAt ( x_col ) );
193 labels.push_back (
m_ntuple -> getLabelAt ( y_col ) );
195 if ( x_err < UINT_MAX ) {
196 labels.push_back (
m_ntuple -> getLabelAt ( x_err ) );
201 if ( y_err < UINT_MAX ) {
202 labels.push_back (
m_ntuple -> getLabelAt ( y_err ) );
209 ntuple -> reserve ( size );
235 const vector < string > & labels =
m_ntuple -> getLabels ();
236 unsigned int size = labels.size();
238 if ( x_err == UINT_MAX &&
241 if ( y_err == UINT_MAX &&
247 for (
unsigned int i = 0; i <
size; i++ ) {
249 ( in_range ==
true &&
inRange ( i ) ==
false ) )
continue;
256 = x_err < UINT_MAX ?
m_ntuple -> valueAt ( i, x_err ) : 0.0;
258 = y_err < UINT_MAX ?
m_ntuple -> valueAt( i, y_err ) : 0.0;
263 ntuple -> addRow ( row );