BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
std__map_int_int__dict Class Reference

Public Member Functions

 std__map_int_int__dict ()
 

Static Public Member Functions

static void destructor (void *o)
 
static void * constructor_7188 (void *)
 
static void * constructor_7189 (void *, const std::vector< void * > &)
 
static void * constructor_7190 (void *, const std::vector< void * > &)
 
static void * method_x10 (void *, const std::vector< void * > &)
 
static void * method_x11 (void *, const std::vector< void * > &)
 

Detailed Description

Definition at line 857 of file McEventDict_dict.cpp.

Constructor & Destructor Documentation

◆ std__map_int_int__dict()

std__map_int_int__dict::std__map_int_int__dict ( )

Definition at line 869 of file McEventDict_dict.cpp.

869 {
870 ClassBuilder _c_("std::map<int,int>", "", typeid(std::map<int,int>), sizeof(std::map<int,int>),std::vector<const std::type_info*>(), false, MAP, 0, PUBLIC);
871 _c_.addField("_M_t", "std::_Rb_tree<int,std::pair<const int,int>,std::_Select1st<std::pair<const int,int> >,std::less<int>,std::allocator<std::pair<const int,int> > >", "", (int)(&((std::map<int,int>*)64)->_M_t)-64, PRIVATE );
872 _c_.addMethod("~map", "", destructor, PUBLIC);
873 _c_.addMethod("map", "", "std::map<int,int>", constructor_7188, PUBLIC);
874 _c_.addMethod("map", "", "std::map<int,int>", "std::less<int>&; std::allocator<std::pair<const int,int> >&=", constructor_7189, PUBLIC);
875 _c_.addMethod("map", "", "std::map<int,int>", "std::map<int,int>&", constructor_7190, PUBLIC);
876 _c_.addMethod("writeData", "", "void*", "std::vector<void*>", method_x10);
877 _c_.addMethod("readData", "", "void*", "std::vector<void*>", method_x11);
878 _c_.build();
879}
static void * method_x10(void *, const std::vector< void * > &)
static void * method_x11(void *, const std::vector< void * > &)
static void destructor(void *o)
static void * constructor_7188(void *)
static void * constructor_7189(void *, const std::vector< void * > &)
static void * constructor_7190(void *, const std::vector< void * > &)

Member Function Documentation

◆ constructor_7188()

void * std__map_int_int__dict::constructor_7188 ( void *  mem)
static

Definition at line 881 of file McEventDict_dict.cpp.

881 {
882 return new(mem) std::map<int,int>();
883}

Referenced by std__map_int_int__dict().

◆ constructor_7189()

void * std__map_int_int__dict::constructor_7189 ( void *  mem,
const std::vector< void * > &  arg 
)
static

Definition at line 885 of file McEventDict_dict.cpp.

885 {
886 if ( arg.size() == 1 ) {
887 return new(mem) std::map<int,int>(*(const std::less<int>*)arg[0]);
888 }
889 else if ( arg.size() == 2 ) {
890 return new(mem) std::map<int,int>(*(const std::less<int>*)arg[0],
891 *(const std::allocator<std::pair<const int,int> >*)arg[1]);
892 }
893 return 0;
894}

Referenced by std__map_int_int__dict().

◆ constructor_7190()

void * std__map_int_int__dict::constructor_7190 ( void *  mem,
const std::vector< void * > &  arg 
)
static

Definition at line 896 of file McEventDict_dict.cpp.

896 {
897 return new(mem) std::map<int,int>(*(const std::map<int,int>*)arg[0]);
898}

Referenced by std__map_int_int__dict().

◆ destructor()

static void std__map_int_int__dict::destructor ( void *  o)
inlinestatic

Definition at line 860 of file McEventDict_dict.cpp.

860{ ((std::map<int,int>*)o)->~map(); }

Referenced by std__map_int_int__dict().

◆ method_x10()

void * std__map_int_int__dict::method_x10 ( void *  o,
const std::vector< void * > &  args 
)
static

Definition at line 900 of file McEventDict_dict.cpp.

901{
902 std::map<int,int>* v = (std::map<int,int>*)o;
903 size_t n = v->size();
904 ((void (*)(size_t&, const std::vector<void*>&))args[1])(n, args);
905 if ( n > 0 ) {
906 for(std::map<int,int>::iterator i = v->begin(); i != v->end(); i++) {
907 std::pair<void*,void*> pt((void*)&(*i).first, (void*)&(*i).second);
908 ((void (*)(const void*, const std::vector<void*>&))args[2])(&pt, args);
909 }
910 }
911 return 0;
912}
const Int_t n
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition: KarLud.h:35

Referenced by std__map_int_int__dict().

◆ method_x11()

void * std__map_int_int__dict::method_x11 ( void *  o,
const std::vector< void * > &  args 
)
static

Definition at line 914 of file McEventDict_dict.cpp.

915{
916 std::map<int,int>* v = (std::map<int,int>*)o;
917 size_t n = *(size_t*)args[1];
918 if (n > 0) {
919 for(size_t i = 0; i < n; i++) {
920 std::pair<std::map<int,int>::key_type, std::map<int,int>::value_type::second_type> t;
921 std::pair<void*, void*> pt(&t.first, &t.second);
922 ((void (*)(const void*, const std::vector<void*>&))args[2])(&pt, args);
923 v->insert(t);
924 }
925 }
926 return 0;
927}
TTree * t
Definition: binning.cxx:23

Referenced by std__map_int_int__dict().


The documentation for this class was generated from the following file: