Gaudi Framework, version v25r2
Home
Generated: Wed Jun 4 2014
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
.cern.ch
sw
Gaudi
releases
GAUDI
GAUDI_v25r2
GaudiCoreSvc
src
JobOptionsSvc
PragmaOptions.h
Go to the documentation of this file.
1
// $Id:$
2
//$Id:$
3
// ===========================================================================
4
#ifndef JOBOPTIONSVC_PRAGMAOPTIONS_H_
5
#define JOBOPTIONSVC_PRAGMAOPTIONS_H_
6
// ===========================================================================
7
// Include files
8
// ===========================================================================
9
// STD & STL
10
// ===========================================================================
11
// ===========================================================================
12
// Boost
13
// ===========================================================================
14
// ===========================================================================
15
// Gaudi
16
// ===========================================================================
17
// ===========================================================================
18
// Local
19
// ===========================================================================
20
// ===========================================================================
21
22
namespace
Gaudi
{
namespace
Parsers {
23
// ===========================================================================
24
class
PragmaOptions
{
25
public
:
26
PragmaOptions
():
m_is_print
(true),
m_is_print_options
(false),
27
m_is_print_tree
(false){}
28
29
bool
is_print
()
const
{
return
m_is_print
;}
30
void
setIsPrint
(
bool
is_print) {
m_is_print
= is_print; }
31
32
bool
is_print_options
()
const
{
return
m_is_print_options
;}
33
void
setIsPrintOptions
(
bool
is_print_options)
34
{
m_is_print_options
= is_print_options; }
35
36
bool
is_print_tree
()
const
{
return
m_is_print_tree
;}
37
void
setIsPrintTree
(
bool
is_print_tree)
38
{
m_is_print_tree
= is_print_tree; }
39
40
const
std::string&
dumpFile
()
const
{
return
m_dump_file
;}
41
void
setDumpFile
(
const
std::string& dump_file) {
42
m_dump_file
= dump_file;
43
}
44
45
bool
IsPrintOptions
() {
return
is_print_options
() &&
is_print
();}
46
bool
IsPrintTree
() {
return
is_print_tree
() &&
is_print
();}
47
bool
HasDumpFile
() {
return
!
m_dump_file
.empty();}
48
49
private
:
50
bool
m_is_print
;
51
bool
m_is_print_options
;
52
bool
m_is_print_tree
;
53
std::string
m_dump_file
;
54
};
55
// ===========================================================================
56
}
/* Gaudi */
}
/* Parsers */
57
// ===========================================================================
58
#endif
Generated at Wed Jun 4 2014 14:48:56 for Gaudi Framework, version v25r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004