14 #include "msdevstudio/MSconfig.h"
33 using namespace hippodraw;
36 :
BaseXML (
"NTupleProjector", controller )
45 const vector < const TupleCut * > & cutlist = projector.
getCutList ();
46 if ( cutlist.empty() )
return;
48 #ifdef ITERATOR_MEMBER_DEFECT
51 vector < const TupleCut * >::const_iterator first = cutlist.begin();
52 for ( ; first != cutlist.end(); ++first ) {
54 const void * addr = reinterpret_cast <
const void * > ( cut );
69 const void * addr = reinterpret_cast <
const void * > ( & projector );
77 int ref = element->
getID ();
81 unsigned int size = bindings.size();
83 for (
unsigned int i = 0; i <
size; i++ ) {
84 string name (
"Axis" );
86 const string & label = bindings[i];
87 tag -> setAttribute ( name, label );
98 bool ok = element->
attribute (
"ref", ref );
107 std::vector < std::string > & bindings )
const
111 for (
int i = 0; ; i++ ) {
113 string name (
"Axis" );
115 bool ok = element -> attribute ( name, label );
118 bindings.push_back ( label );