Information about an RFile object's Key.
Every object inside a ROOT file has an associated "Key" which contains metadata on the object, such as its name, type etc. Querying this information can be done via RFile::ListKeys(). Reading an object's Key doesn't deserialize the full object, so it's a relatively lightweight operation.
Public Types | |
| enum class | ECategory : std::uint16_t { kInvalid , kObject , kDirectory } |
Public Member Functions | |
| std::string | GetBaseName () const |
| Returns the base name of this key, i.e. the name of the object without the directory part. | |
| ECategory | GetCategory () const |
| const std::string & | GetClassName () const |
| std::uint16_t | GetCycle () const |
| const std::string & | GetPath () const |
| Returns the absolute path of this key, i.e. the directory part plus the object name. | |
| const std::string & | GetTitle () const |
Private Attributes | |
| ECategory | fCategory = ECategory::kInvalid |
| std::string | fClassName |
| std::uint16_t | fCycle = 0 |
| std::string | fPath |
| std::string | fTitle |
Friends | |
| class | ROOT::Experimental::RFile |
| class | ROOT::Experimental::RFileKeyIterable |
#include <ROOT/RFile.hxx>
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |
|
private |