g4tools  5.4.0
icol
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_wroot_icol
5 #define tools_wroot_icol
6 
7 #include "../typedefs"
8 #include "../cid"
9 
10 #include <string>
11 
12 namespace tools {
13 namespace wroot {
14 class branch;
15 class base_leaf;
16 }}
17 
18 namespace tools {
19 namespace wroot {
20 
21 class icol {
22  public:
23  virtual ~icol(){}
24  public:
25  virtual void* cast(cid) const = 0;
26  virtual cid id_cls() const = 0;
27  public:
28  virtual void add() = 0;
29  virtual void set_def() = 0;
30  virtual const std::string& name() const = 0;
31  virtual void set_basket_size(uint32) = 0;
32  virtual branch& get_branch() const = 0;
33  virtual base_leaf* get_leaf() const = 0;
34 };
35 
36 }}
37 
38 #endif
tools::wroot::icol
Definition: icol:21
tools::wroot::icol::set_basket_size
virtual void set_basket_size(uint32)=0
tools::wroot::branch
Definition: branch:16
tools::wroot::icol::cast
virtual void * cast(cid) const =0
tools::wroot::icol::add
virtual void add()=0
tools::wroot::base_leaf
Definition: base_leaf:19
tools::wroot::icol::set_def
virtual void set_def()=0
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::wroot::icol::~icol
virtual ~icol()
Definition: icol:23
tools::wroot::icol::name
virtual const std::string & name() const =0
tools::wroot::icol::get_branch
virtual branch & get_branch() const =0
tools::wroot::icol::get_leaf
virtual base_leaf * get_leaf() const =0
tools::wroot::icol::id_cls
virtual cid id_cls() const =0
tools::uint32
unsigned int uint32
Definition: typedefs:71
tools::cid
unsigned short cid
Definition: cid:9