Struct root_io::RootFile
[−]
[src]
pub struct RootFile { /* fields omitted */ }
RootFile
wraps the most basic information of a ROOT file.
Methods
impl RootFile
[src]
fn new_from_file(path: &Path) -> Result<Self, Error>
[src]
Open a ROOT file and read in the necessary meta information
fn streamers(&self) -> Result<Vec<TStreamerInfo>, Error>
[src]
Return all TSreamerInfo
for the data in this file
fn items(&self) -> &[FileItem]
[src]
Slice of the items contained in this file
fn streamer_info_as_yaml(&self, s: &mut Write) -> Result<(), Error>
[src]
Translate the streamer info of this file to a YAML file
fn streamer_info_as_rust(&self, s: &mut Write) -> Result<(), Error>
[src]
Generate Rust code from the streamer info of this file