Definition at line 127 of file ntuple.
◆ sub_ntuple() [1/2]
tools::waxml::ntuple::sub_ntuple::sub_ntuple |
( |
const std::string & |
a_name, |
|
|
const std::string & |
a_spaces |
|
) |
| |
|
inline |
◆ ~sub_ntuple()
virtual tools::waxml::ntuple::sub_ntuple::~sub_ntuple |
( |
| ) |
|
|
inlinevirtual |
◆ sub_ntuple() [2/2]
tools::waxml::ntuple::sub_ntuple::sub_ntuple |
( |
const sub_ntuple & |
a_from | ) |
|
|
inlineprotected |
Definition at line 144 of file ntuple.
145 :iobj(a_from),
m_name(a_from.m_name){}
◆ add_row()
bool tools::waxml::ntuple::sub_ntuple::add_row |
( |
| ) |
|
|
inline |
Definition at line 178 of file ntuple.
179 if(
m_cols.empty())
return false;
180 std::ostringstream sout;
181 sout <<
m_spaces <<
"<row>" << std::endl;
184 sout <<
m_spaces <<
" <entryITuple>" << std::endl;
185 sout <<
sub->value();
186 sout <<
m_spaces <<
" </entryITuple>" << std::endl;
188 }
else if(leaf* lf = id_cast<iobj,leaf>(*(*it))){
192 <<
" value=\"" << _sv
193 <<
"\"/>" << std::endl;
196 sout <<
m_spaces <<
"</row>" << std::endl;
◆ aida_type()
virtual const std::string& tools::waxml::ntuple::sub_ntuple::aida_type |
( |
| ) |
const |
|
inlinevirtual |
◆ booking()
std::string tools::waxml::ntuple::sub_ntuple::booking |
( |
bool |
a_xml_esc | ) |
const |
|
inline |
◆ cast()
virtual void* tools::waxml::ntuple::sub_ntuple::cast |
( |
cid |
a_class | ) |
const |
|
inlinevirtual |
◆ columns()
const std::vector<iobj*>& tools::waxml::ntuple::sub_ntuple::columns |
( |
| ) |
const |
|
inline |
◆ create_column()
template<class T >
column<T>* tools::waxml::ntuple::sub_ntuple::create_column |
( |
const std::string & |
a_name, |
|
|
const T & |
a_def = T() |
|
) |
| |
|
inline |
Definition at line 149 of file ntuple.
150 if(find_named<iobj>(
m_cols,a_name))
return 0;
151 column<T>* col =
new column<T>(a_name,a_def);
◆ create_sub_ntuple()
sub_ntuple* tools::waxml::ntuple::sub_ntuple::create_sub_ntuple |
( |
const std::string & |
a_name | ) |
|
|
inline |
Definition at line 157 of file ntuple.
158 if(find_named<iobj>(
m_cols,a_name))
return 0;
160 for(
unsigned int i=0;i<4;i++) spaces +=
" ";
◆ id_class()
static cid tools::waxml::ntuple::sub_ntuple::id_class |
( |
| ) |
|
|
inlinestatic |
◆ id_cls()
virtual cid tools::waxml::ntuple::sub_ntuple::id_cls |
( |
| ) |
const |
|
inlinevirtual |
◆ name()
virtual const std::string& tools::waxml::ntuple::sub_ntuple::name |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ reset()
void tools::waxml::ntuple::sub_ntuple::reset |
( |
| ) |
|
|
inline |
◆ value()
const std::string& tools::waxml::ntuple::sub_ntuple::value |
( |
| ) |
const |
|
inline |
◆ m_cols
std::vector<iobj*> tools::waxml::ntuple::sub_ntuple::m_cols |
|
protected |
◆ m_name
std::string tools::waxml::ntuple::sub_ntuple::m_name |
|
protected |
◆ m_spaces
std::string tools::waxml::ntuple::sub_ntuple::m_spaces |
|
protected |
◆ m_tmp
std::string tools::waxml::ntuple::sub_ntuple::m_tmp |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/waxml/ntuple