Go to the documentation of this file.
4 #ifndef tools_rroot_directory
5 #define tools_rroot_directory
20 static const std::string s_v(
"tools::rroot::directory");
28 mem::increment(
s_class().c_str());
41 mem::decrement(
s_class().c_str());
47 mem::increment(
s_class().c_str());
59 m_file.
out() <<
"tools::rroot::directory::find_key :"
60 <<
" " <<
sout(a_name) <<
" ..."
64 if((*it)->object_name()==a_name)
return *it;
72 m_file.
out() <<
"tools::rroot::directory::find_key_from_class :"
73 <<
" " <<
sout(a_class) <<
" ..."
77 if((*it)->object_class()==a_class)
return *it;
86 uint32 nbytes =
sizeof(short);
87 nbytes +=
sizeof(
date);
88 nbytes +=
sizeof(
date);
91 if(a_version>=40000) {
92 nbytes +=
sizeof(
seek);
93 nbytes +=
sizeof(
seek);
94 nbytes +=
sizeof(
seek);
107 if(!rb.
read(versiondir))
return false;
109 if(!rb.
read(_date))
return false;
111 if(!rb.
read(_date))
return false;
114 if(!rb.
read(v))
return false;
117 if(!rb.
read(v))
return false;
125 if(!rb.
read(i))
return false;
129 if(!rb.
read(i))
return false;
133 if(!rb.
read(i))
return false;
137 m_file.
out() <<
"tools::rroot::key::from_buffer :"
159 if(!rb.
read(nkeys))
return false;
161 m_file.
out() <<
"tools::rroot::directory::read_keys :"
162 <<
" nkeys " << nkeys
166 for(
int i=0;i<nkeys;i++) {
#define tools_vforcit(a__T, a__v, a__it)