All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 // ===========================================================================
25  public:
27  m_is_print_tree(false){}
28 
29  bool is_print() const { return m_is_print;}
31 
32  bool is_print_options() const { return m_is_print_options;}
35 
36  bool is_print_tree() const { return m_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;
53  std::string m_dump_file;
54 };
55 // ===========================================================================
56 } /* Gaudi */ } /* Parsers */
57 // ===========================================================================
58 #endif
void setIsPrintTree(bool is_print_tree)
Definition: PragmaOptions.h:37
const std::string & dumpFile() const
Definition: PragmaOptions.h:40
void setIsPrintOptions(bool is_print_options)
Definition: PragmaOptions.h:33
void setDumpFile(const std::string &dump_file)
Definition: PragmaOptions.h:41
void setIsPrint(bool is_print)
Definition: PragmaOptions.h:30
This is a number of static methods for bootstrapping the Gaudi framework.
Definition: Bootstrap.h:15