Go to the documentation of this file.
4 #ifndef tools_rroot_tree_index
5 #define tools_rroot_tree_index
13 static const std::string& s_store_class() {
14 static const std::string s_v(
"TTreeIndex");
19 static const std::string s_v(
"tools::rroot::tree_index");
23 virtual void*
cast(
const std::string& a_class)
const {
24 if(
void* p = cmp_cast<tree_index>(
this,a_class))
return p;
31 if(
void* p = cmp_cast<tree_index>(
this,a_class)) {
return p;}
47 if(!a_buffer.
read(ds))
return false;
49 if(!a_buffer.
read(ds))
return false;
53 if(!a_buffer.
read(m_n))
return false;
56 if(!dummy_array_stream<int64>(a_buffer,
int(m_n)))
return false;
57 if(!dummy_array_stream<int64>(a_buffer,
int(m_n)))
return false;
61 a_buffer.
set_offset(startpos+c+
sizeof(
unsigned int));
73 mem::increment(
s_class().c_str());
78 mem::decrement(
s_class().c_str());
86 static const std::string s_v(
"TVirtualIndex");