|
static const std::string & | s_class () |
|
Definition at line 17 of file directory.
◆ directory() [1/2]
tools::rroot::directory::directory |
( |
ifile & |
a_file | ) |
|
|
inline |
◆ ~directory()
virtual tools::rroot::directory::~directory |
( |
| ) |
|
|
inlinevirtual |
◆ directory() [2/2]
tools::rroot::directory::directory |
( |
const directory & |
a_from | ) |
|
|
inlineprotected |
◆ clear_keys()
void tools::rroot::directory::clear_keys |
( |
| ) |
|
|
inline |
◆ file()
ifile& tools::rroot::directory::file |
( |
| ) |
|
|
inline |
◆ find_key()
key* tools::rroot::directory::find_key |
( |
const std::string & |
a_name | ) |
|
|
inline |
Definition at line 57 of file directory.
59 m_file.
out() <<
"tools::rroot::directory::find_key :"
60 <<
" " << sout(a_name) <<
" ..."
64 if((*it)->object_name()==a_name)
return *it;
◆ find_key_from_class()
key* tools::rroot::directory::find_key_from_class |
( |
const std::string & |
a_class | ) |
|
|
inline |
Definition at line 70 of file directory.
72 m_file.
out() <<
"tools::rroot::directory::find_key_from_class :"
73 <<
" " << sout(a_class) <<
" ..."
77 if((*it)->object_class()==a_class)
return *it;
◆ from_buffer()
bool tools::rroot::directory::from_buffer |
( |
const char * |
aEOB, |
|
|
char *& |
a_buffer |
|
) |
| |
|
inline |
Definition at line 102 of file directory.
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 :"
◆ keys() [1/2]
std::vector<key*>& tools::rroot::directory::keys |
( |
| ) |
|
|
inline |
◆ keys() [2/2]
const std::vector<key*>& tools::rroot::directory::keys |
( |
| ) |
const |
|
inline |
◆ nbytes_name()
uint32 tools::rroot::directory::nbytes_name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ read_keys()
bool tools::rroot::directory::read_keys |
( |
uint32 & |
a_number | ) |
|
|
inline |
Definition at line 144 of file directory.
154 if(!headerkey.read_file(
m_file))
return false;
155 char* buffer = headerkey.data_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++) {
◆ record_size()
uint32 tools::rroot::directory::record_size |
( |
uint32 |
a_version | ) |
const |
|
inline |
Definition at line 85 of file directory.
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);
◆ s_class()
static const std::string& tools::rroot::directory::s_class |
( |
| ) |
|
|
inlinestatic |
Definition at line 19 of file directory.
20 static const std::string s_v(
"tools::rroot::directory");
◆ seek_keys()
seek tools::rroot::directory::seek_keys |
( |
| ) |
const |
|
inline |
◆ m_date_C
date tools::rroot::directory::m_date_C |
|
protected |
◆ m_date_M
date tools::rroot::directory::m_date_M |
|
protected |
◆ m_file
ifile& tools::rroot::directory::m_file |
|
protected |
◆ m_keys
std::vector<key*> tools::rroot::directory::m_keys |
|
protected |
◆ m_nbytes_keys
uint32 tools::rroot::directory::m_nbytes_keys |
|
protected |
◆ m_nbytes_name
uint32 tools::rroot::directory::m_nbytes_name |
|
protected |
◆ m_seek_directory
seek tools::rroot::directory::m_seek_directory |
|
protected |
◆ m_seek_keys
seek tools::rroot::directory::m_seek_keys |
|
protected |
◆ m_seek_parent
seek tools::rroot::directory::m_seek_parent |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/rroot/directory