g4tools
5.4.0
g4tools
tools
rroot
ifile
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_rroot_ifile
5
#define tools_rroot_ifile
6
7
#include "
seek
"
8
#include "../press_func"
9
10
namespace
tools
{
11
namespace
rroot {
12
13
class
key;
14
class
streamer_info;
15
16
class
ifile
{
17
public
:
18
virtual
~ifile
(){}
19
public
:
20
virtual
const
std::string&
path
()
const
= 0;
21
22
virtual
bool
verbose
()
const
= 0;
23
virtual
std::ostream&
out
()
const
= 0;
24
virtual
bool
byte_swap
()
const
= 0;
25
enum
from
{
26
begin
,
27
current
,
28
end
29
};
30
virtual
bool
set_pos
(
seek
= 0,
from
=
begin
) = 0;
31
virtual
bool
read_buffer
(
char
*,
uint32
) = 0;
32
33
virtual
bool
unziper
(
char
,
decompress_func
&)
const
= 0;
34
35
virtual
key
&
sinfos_key
() = 0;
36
37
virtual
streamer_info
*
find_streamer_info
(
const
std::string&) = 0;
38
};
39
40
}}
41
42
#endif
tools::rroot::streamer_info
Definition:
info:153
tools::rroot::ifile::set_pos
virtual bool set_pos(seek=0, from=begin)=0
tools::rroot::ifile::current
@ current
Definition:
ifile:27
tools::rroot::ifile::out
virtual std::ostream & out() const =0
tools::rroot::ifile::path
virtual const std::string & path() const =0
tools::rroot::ifile::from
from
Definition:
ifile:25
tools::rroot::ifile::~ifile
virtual ~ifile()
Definition:
ifile:18
tools::rroot::ifile::sinfos_key
virtual key & sinfos_key()=0
tools::rroot::ifile::begin
@ begin
Definition:
ifile:26
tools::rroot::ifile::find_streamer_info
virtual streamer_info * find_streamer_info(const std::string &)=0
tools::rroot::ifile::end
@ end
Definition:
ifile:28
tools::rroot::seek
int64 seek
Definition:
seek:16
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::rroot::ifile
Definition:
ifile:16
tools::decompress_func
bool(* decompress_func)(std::ostream &, unsigned int, const char *, unsigned int, char *, unsigned int &)
Definition:
press_func:13
seek
tools::rroot::ifile::byte_swap
virtual bool byte_swap() const =0
tools::rroot::key
Definition:
key:37
tools::rroot::ifile::read_buffer
virtual bool read_buffer(char *, uint32)=0
tools::uint32
unsigned int uint32
Definition:
typedefs:71
tools::rroot::ifile::verbose
virtual bool verbose() const =0
tools::rroot::ifile::unziper
virtual bool unziper(char, decompress_func &) const =0
Generated by
1.8.20