Go to the documentation of this file.
4 #ifndef tools_rroot_info
5 #define tools_rroot_info
17 static const std::string& s_store_class() {
18 static const std::string s_v(
"TStreamerElement");
23 static const std::string s_v(
"tools::rroot::streamer_element");
28 virtual void*
cast(
const std::string& a_class)
const {
29 if(
void* p = cmp_cast<streamer_element>(
this,a_class))
return p;
33 if(
void* p = cmp_cast<streamer_element>(
this,a_class)) {
return p;}
53 virtual void out(std::ostream& aOut)
const {
57 snpf(s,
sizeof(s),
" %-14s%-15s offset=%3d type=%2d %-20s",
59 aOut << s << std::endl;
67 mem::increment(
s_class().c_str());
73 mem::decrement(
s_class().c_str());
85 mem::increment(
s_class().c_str());
138 a_buffer.
set_offset(startpos+c+
sizeof(
unsigned int));
154 static const std::string& s_store_class() {
155 static const std::string s_v(
"TStreamerInfo");
160 static const std::string s_v(
"tools::rroot::streamer_info");
165 virtual void*
cast(
const std::string& a_class)
const {
166 if(
void* p = cmp_cast<streamer_info>(
this,a_class))
return p;
170 if(
void* p = cmp_cast<streamer_info>(
this,a_class)) {
return p;}
191 a_buffer.
out() <<
"tools::rroot::streamer_info::stream : "
192 <<
"can't read fElements."
197 if(obj_created)
delete obj;}
202 void out(std::ostream& a_out)
const {
203 a_out <<
"streamer_info for class :"
218 mem::increment(
s_class().c_str());
223 mem::decrement(
s_class().c_str());
237 mem::increment(
s_class().c_str());
#define tools_vforcit(a__T, a__v, a__it)