Public Member Functions | |
std__map_int_HepMC__GenVertexp_std__greater_int_s__dict () | |
Static Public Member Functions | |
void * | constructor_7402 (void *) |
void * | constructor_7403 (void *, const std::vector< void * > &) |
void * | constructor_7404 (void *, const std::vector< void * > &) |
void | destructor (void *o) |
void * | method_x17 (void *, const std::vector< void * > &) |
void * | method_x18 (void *, const std::vector< void * > &) |
|
01105 { 01106 ClassBuilder _c_("std::map<int,HepMC::GenVertex*,std::greater<int> >", "", typeid(std::map<int,HepMC::GenVertex*,std::greater<int> >), sizeof(std::map<int,HepMC::GenVertex*,std::greater<int> >),std::vector<const std::type_info*>(), false, MAP, 0, PUBLIC); 01107 _c_.addField("_M_t", "std::_Rb_tree<int,std::pair<const int,HepMC::GenVertex*>,std::_Select1st<std::pair<const int,HepMC::GenVertex*> >,std::greater<int>,std::allocator<std::pair<const int,HepMC::GenVertex*> > >", "", (int)(&((std::map<int,HepMC::GenVertex*,std::greater<int> >*)64)->_M_t)-64, PRIVATE ); 01108 _c_.addMethod("~map", "", destructor, PUBLIC); 01109 _c_.addMethod("map", "", "std::map<int,HepMC::GenVertex*,std::greater<int> >", constructor_7402, PUBLIC); 01110 _c_.addMethod("map", "", "std::map<int,HepMC::GenVertex*,std::greater<int> >", "std::greater<int>&; std::allocator<std::pair<const int,HepMC::GenVertex*> >&=", constructor_7403, PUBLIC); 01111 _c_.addMethod("map", "", "std::map<int,HepMC::GenVertex*,std::greater<int> >", "std::map<int,HepMC::GenVertex*,std::greater<int> >&", constructor_7404, PUBLIC); 01112 _c_.addMethod("writeData", "", "void*", "std::vector<void*>", method_x17); 01113 _c_.addMethod("readData", "", "void*", "std::vector<void*>", method_x18); 01114 _c_.build(); 01115 }
|
|
01117 { 01118 return new(mem) std::map<int,HepMC::GenVertex*,std::greater<int> >(); 01119 }
|
|
01121 { 01122 if ( arg.size() == 1 ) { 01123 return new(mem) std::map<int,HepMC::GenVertex*,std::greater<int> >(*(const std::greater<int>*)arg[0]); 01124 } 01125 else if ( arg.size() == 2 ) { 01126 return new(mem) std::map<int,HepMC::GenVertex*,std::greater<int> >(*(const std::greater<int>*)arg[0], 01127 *(const std::allocator<std::pair<const int,HepMC::GenVertex*> >*)arg[1]); 01128 } 01129 return 0; 01130 }
|
|
01132 { 01133 return new(mem) std::map<int,HepMC::GenVertex*,std::greater<int> >(*(const std::map<int,HepMC::GenVertex*,std::greater<int> >*)arg[0]); 01134 }
|
|
01096 { ((std::map<int,HepMC::GenVertex*,std::greater<int> >*)o)->~map(); }
|
|
01137 { 01138 std::map<int,HepMC::GenVertex*,std::greater<int> >* v = (std::map<int,HepMC::GenVertex*,std::greater<int> >*)o; 01139 size_t n = v->size(); 01140 ((void (*)(size_t&, const std::vector<void*>&))args[1])(n, args); 01141 if ( n > 0 ) { 01142 for(std::map<int,HepMC::GenVertex*,std::greater<int> >::iterator i = v->begin(); i != v->end(); i++) { 01143 std::pair<void*,void*> pt((void*)&(*i).first, (void*)&(*i).second); 01144 ((void (*)(const void*, const std::vector<void*>&))args[2])(&pt, args); 01145 } 01146 } 01147 return 0; 01148 }
|
|
01151 { 01152 std::map<int,HepMC::GenVertex*,std::greater<int> >* v = (std::map<int,HepMC::GenVertex*,std::greater<int> >*)o; 01153 size_t n = *(size_t*)args[1]; 01154 if (n > 0) { 01155 for(size_t i = 0; i < n; i++) { 01156 std::pair<std::map<int,HepMC::GenVertex*,std::greater<int> >::key_type, std::map<int,HepMC::GenVertex*,std::greater<int> >::value_type::second_type> t; 01157 t.second = 0; // fill with new HepMC::GenVertex; 01158 std::pair<void*, void*> pt(&t.first, &t.second); 01159 ((void (*)(const void*, const std::vector<void*>&))args[2])(&pt, args); 01160 v->insert(t); 01161 } 01162 } 01163 return 0; 01164 }
|