Definition at line 28 of file fac.
◆ fac() [1/2]
tools::rroot::fac::fac |
( |
std::ostream & |
a_out | ) |
|
|
inline |
Definition at line 132 of file fac.
134 mem::increment(s_class().c_str());
◆ ~fac()
virtual tools::rroot::fac::~fac |
( |
| ) |
|
|
inlinevirtual |
Definition at line 137 of file fac.
139 mem::decrement(s_class().c_str());
◆ fac() [2/2]
tools::rroot::fac::fac |
( |
const fac & |
a_from | ) |
|
|
inline |
Definition at line 143 of file fac.
143 :ifac(a_from),
m_out(a_from.m_out){
145 mem::increment(s_class().c_str());
◆ create()
virtual iro* tools::rroot::fac::create |
( |
const std::string & |
a_class, |
|
|
const args & |
|
|
) |
| |
|
inlinevirtual |
Implements tools::rroot::ifac.
Definition at line 33 of file fac.
37 if(a_class==
"TBranch") {
38 return new branch(
m_out,*
this);
39 }
else if(a_class==
"TBranchElement") {
40 return new branch_element(
m_out,*
this);
41 }
else if(a_class==
"TBranchObject") {
42 return new branch_object(
m_out,*
this);
44 }
else if(a_class==
"TLeafB") {
45 return new leaf<char>(
m_out,*
this);
47 }
else if(a_class==
"TLeafS") {
48 return new leaf<short>(
m_out,*
this);
50 }
else if(a_class==
"TLeafI") {
51 return new leaf<int>(
m_out,*
this);
53 }
else if(a_class==
"TLeafF") {
54 return new leaf<float>(
m_out,*
this);
56 }
else if(a_class==
"TLeafD") {
57 return new leaf<double>(
m_out,*
this);
59 }
else if(a_class==
"TLeafO") {
60 return new leaf<bool>(
m_out,*
this);
62 }
else if(a_class==
"TLeafC") {
63 return new leaf_string(
m_out,*
this);
65 }
else if(a_class==
"TLeafElement") {
66 return new leaf_element(
m_out,*
this);
68 }
else if(a_class==
"TLeafObject") {
69 return new leaf_object(
m_out,*
this);
71 }
else if(a_class==
"TBasket") {
72 return new basket(
m_out);
75 }
else if(a_class==
"TTreeIndex") {
76 return new tree_index();
78 }
else if(a_class==
"TList") {
79 return new obj_list(*
this);
80 }
else if(a_class==
"TVector3") {
82 }
else if(a_class==
"TMatrix") {
85 }
else if(a_class==
"TNamed") {
88 }
else if(a_class==
"vector<unsigned short>") {
89 return new stl_vector<unsigned short>();
90 }
else if(a_class==
"vector<short>") {
91 return new stl_vector<short>();
92 }
else if(a_class==
"vector<unsigned int>") {
93 return new stl_vector<unsigned int>();
94 }
else if(a_class==
"vector<int>") {
95 return new stl_vector<int>();
96 }
else if(a_class==
"vector<float>") {
97 return new stl_vector<float>();
98 }
else if(a_class==
"vector<double>") {
99 return new stl_vector<double>();
101 }
else if(a_class==
"vector<unsigned long>") {
102 return new stl_vector<uint64>();
104 }
else if(a_class==
"vector<string>") {
105 return new stl_vector_string();
107 }
else if(a_class==
"vector<vector<unsigned short> >") {
108 return new stl_vector_vector<unsigned short>();
109 }
else if(a_class==
"vector<vector<short> >") {
110 return new stl_vector_vector<short>();
111 }
else if(a_class==
"vector<vector<unsigned int> >") {
112 return new stl_vector_vector<unsigned int>();
113 }
else if(a_class==
"vector<vector<int> >") {
114 return new stl_vector_vector<int>();
115 }
else if(a_class==
"vector<vector<float> >") {
116 return new stl_vector_vector<float>();
117 }
else if(a_class==
"vector<vector<double> >") {
118 return new stl_vector_vector<double>();
120 }
else if(a_class==
"TBranchRef") {
124 m_out <<
"tools::rroot::fac::create :"
125 <<
" unknown class " << sout(a_class) <<
"."
126 <<
" Create a tools::rroot::dummy object."
◆ operator=()
fac& tools::rroot::fac::operator= |
( |
const fac & |
| ) |
|
|
inline |
Definition at line 148 of file fac.
◆ out()
virtual std::ostream& tools::rroot::fac::out |
( |
| ) |
const |
|
inlinevirtual |
◆ m_out
std::ostream& tools::rroot::fac::m_out |
|
protected |
Definition at line 163 of file fac.
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/rroot/fac