g4tools
5.4.0
g4tools
tools
sg
read_action
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_sg_read_action
5
#define tools_sg_read_action
6
7
#include "
action
"
8
#include "
ifield_factory
"
9
10
namespace
tools
{
11
namespace
io {
12
class
irbuf;
13
}}
14
15
namespace
tools
{
16
namespace
sg {
17
class
node_desc;
18
}}
19
20
namespace
tools
{
21
namespace
sg {
22
23
class
read_action
:
public
action
{
24
TOOLS_ACTION_NO_COPY
(
read_action
,
tools::sg::read_action
,
action
)
25
public
:
26
virtual
io::irbuf
&
buffer
() = 0;
27
virtual
bool
get_node_desc
(
const
std::string&,
node_desc
&)
const
= 0;
28
virtual
const
ifield_factory
&
field_factory
()
const
= 0;
29
public
:
30
read_action
(std::ostream& a_out)
31
:
action
(a_out){}
32
virtual
~read_action
(){}
33
protected
:
34
read_action
(
const
read_action
& a_from)
35
:
action
(a_from)
36
{}
37
read_action
&
operator=
(
const
read_action
& a_from){
38
action::operator=
(a_from);
39
return
*
this
;
40
}
41
};
42
43
}}
44
45
#endif
tools::sg::action::operator=
action & operator=(const action &)
Definition:
action:49
tools::sg::node_desc
Definition:
node_desc:13
tools::sg::action
Definition:
action:19
tools::sg::read_action
Definition:
read_action:23
action
tools::sg::read_action::get_node_desc
virtual bool get_node_desc(const std::string &, node_desc &) const =0
tools::sg::read_action::read_action
read_action(std::ostream &a_out)
Definition:
read_action:30
ifield_factory
tools::sg::read_action::field_factory
virtual const ifield_factory & field_factory() const =0
tools::sg::ifield_factory
Definition:
ifield_factory:17
tools::sg::read_action::operator=
read_action & operator=(const read_action &a_from)
Definition:
read_action:37
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::io::irbuf
Definition:
irbuf:19
tools::sg::read_action::read_action
read_action(const read_action &a_from)
Definition:
read_action:34
tools::sg::read_action::~read_action
virtual ~read_action()
Definition:
read_action:32
TOOLS_ACTION_NO_COPY
#define TOOLS_ACTION_NO_COPY(a__class, a__sclass, a__parent)
Definition:
action:64
tools::sg::read_action::buffer
virtual io::irbuf & buffer()=0
Generated by
1.8.20