g4tools  5.4.0
iro
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_iro
5 #define tools_rroot_iro
6 
7 #include <string>
8 
9 namespace tools {
10 namespace rroot {
11  class buffer;
12 }}
13 
14 #include "../cid"
15 
16 namespace tools {
17 namespace rroot {
18 
19 class iro {
20 public:
21  virtual ~iro(){}
22 public:
23  virtual void* cast(const std::string&) const = 0; //for ObjArray
24  virtual bool stream(buffer&) = 0;
25 
26  virtual const std::string& s_cls() const = 0;
27  virtual iro* copy() const = 0;
28 
29  virtual void* cast(cid) const = 0; //OPTIMIZATION (geo).
30 };
31 
32 }}
33 
34 #endif
tools::rroot::iro::cast
virtual void * cast(const std::string &) const =0
tools::rroot::iro::copy
virtual iro * copy() const =0
tools::rroot::iro::stream
virtual bool stream(buffer &)=0
tools::rroot::iro::cast
virtual void * cast(cid) const =0
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::rroot::buffer
Definition: buffer:43
tools::rroot::iro
Definition: iro:19
tools::rroot::iro::~iro
virtual ~iro()
Definition: iro:21
tools::rroot::iro::s_cls
virtual const std::string & s_cls() const =0
tools::cid
unsigned short cid
Definition: cid:9