Go to the documentation of this file.
4 #ifndef tools_wroot_branch_element
5 #define tools_wroot_branch_element
13 static const std::string s_v(
"TBranchElement");
20 static const std::string& s_class() {
21 static const std::string s_v(
"tools::wroot::branch_element");
34 if(!a_buffer.
write(
fID))
return false;
44 seek a_seek_directory,
const std::string& a_name,
const std::string& a_title,
bool a_verbose)
45 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,a_verbose)
52 mem::increment(s_class().c_str());
57 mem::decrement(s_class().c_str());
83 static const std::string& s_class() {
84 static const std::string s_v(
"tools::wroot::std_vector_be_ref");
90 seek a_seek_directory,
91 const std::string& a_name,
const std::string& a_title,
const std::vector<T>& a_ref,
bool a_verbose)
92 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,a_verbose)
96 mem::increment(s_class().c_str());
106 mem::decrement(s_class().c_str());
123 if(!a_buffer.
write((
int)
m_ref.size()))
return false;
126 const T& vr =
m_ref[0];
143 static const std::string& s_class() {
144 static const std::string s_v(
"tools::wroot::std_vector_be");
150 seek a_seek_directory,
151 const std::string& a_name,
const std::string& a_title,
const std::vector<T>& a_def,
bool a_verbose)
152 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,
m_value,a_verbose)
156 mem::increment(s_class().c_str());
161 mem::decrement(s_class().c_str());
186 static const std::string& s_class() {
187 static const std::string s_v(
"tools::wroot::std_vector_be_pointer");
193 seek a_seek_directory,
194 const std::string& a_name,
const std::string& a_title,std::vector<T>* a_pointer,
bool a_verbose)
195 :
parent(a_out,a_byte_swap,a_compression,a_seek_directory,a_name,a_title,a_verbose)
199 mem::increment(s_class().c_str());
209 mem::decrement(s_class().c_str());
230 T& vr = (*m_pointer)[0];