The Gaudi Framework  master (37c0b60a)
Gaudi::Parsers::PragmaOptions Class Referencefinal

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/PragmaOptions.h>

Collaboration diagram for Gaudi::Parsers::PragmaOptions:

Public Member Functions

 PragmaOptions ()=default
 
bool is_print () const
 
void setIsPrint (bool is_print)
 
bool is_print_options () const
 
void setIsPrintOptions (bool is_print_options)
 
bool is_print_tree () const
 
void setIsPrintTree (bool is_print_tree)
 
const std::stringdumpFile () const
 
void setDumpFile (std::string dump_file)
 
bool IsPrintOptions ()
 
bool IsPrintTree ()
 
bool HasDumpFile ()
 

Private Attributes

bool m_is_print = true
 
bool m_is_print_options = false
 
bool m_is_print_tree = false
 
std::string m_dump_file
 

Detailed Description

Definition at line 33 of file PragmaOptions.h.

Constructor & Destructor Documentation

◆ PragmaOptions()

Gaudi::Parsers::PragmaOptions::PragmaOptions ( )
default

Member Function Documentation

◆ dumpFile()

const std::string& Gaudi::Parsers::PragmaOptions::dumpFile ( ) const
inline

Definition at line 46 of file PragmaOptions.h.

46 { return m_dump_file; }

◆ HasDumpFile()

bool Gaudi::Parsers::PragmaOptions::HasDumpFile ( )
inline

Definition at line 51 of file PragmaOptions.h.

51 { return !m_dump_file.empty(); }

◆ is_print()

bool Gaudi::Parsers::PragmaOptions::is_print ( ) const
inline

Definition at line 37 of file PragmaOptions.h.

37 { return m_is_print; }

◆ is_print_options()

bool Gaudi::Parsers::PragmaOptions::is_print_options ( ) const
inline

Definition at line 40 of file PragmaOptions.h.

40 { return m_is_print_options; }

◆ is_print_tree()

bool Gaudi::Parsers::PragmaOptions::is_print_tree ( ) const
inline

Definition at line 43 of file PragmaOptions.h.

43 { return m_is_print_tree; }

◆ IsPrintOptions()

bool Gaudi::Parsers::PragmaOptions::IsPrintOptions ( )
inline

Definition at line 49 of file PragmaOptions.h.

49 { return is_print_options() && is_print(); }

◆ IsPrintTree()

bool Gaudi::Parsers::PragmaOptions::IsPrintTree ( )
inline

Definition at line 50 of file PragmaOptions.h.

50 { return is_print_tree() && is_print(); }

◆ setDumpFile()

void Gaudi::Parsers::PragmaOptions::setDumpFile ( std::string  dump_file)
inline

Definition at line 47 of file PragmaOptions.h.

47 { m_dump_file = std::move( dump_file ); }

◆ setIsPrint()

void Gaudi::Parsers::PragmaOptions::setIsPrint ( bool  is_print)
inline

Definition at line 38 of file PragmaOptions.h.

38 { m_is_print = is_print; }

◆ setIsPrintOptions()

void Gaudi::Parsers::PragmaOptions::setIsPrintOptions ( bool  is_print_options)
inline

Definition at line 41 of file PragmaOptions.h.

◆ setIsPrintTree()

void Gaudi::Parsers::PragmaOptions::setIsPrintTree ( bool  is_print_tree)
inline

Definition at line 44 of file PragmaOptions.h.

Member Data Documentation

◆ m_dump_file

std::string Gaudi::Parsers::PragmaOptions::m_dump_file
private

Definition at line 57 of file PragmaOptions.h.

◆ m_is_print

bool Gaudi::Parsers::PragmaOptions::m_is_print = true
private

Definition at line 54 of file PragmaOptions.h.

◆ m_is_print_options

bool Gaudi::Parsers::PragmaOptions::m_is_print_options = false
private

Definition at line 55 of file PragmaOptions.h.

◆ m_is_print_tree

bool Gaudi::Parsers::PragmaOptions::m_is_print_tree = false
private

Definition at line 56 of file PragmaOptions.h.


The documentation for this class was generated from the following file:
std::move
T move(T... args)
Gaudi::Parsers::PragmaOptions::is_print
bool is_print() const
Definition: PragmaOptions.h:37
Gaudi::Parsers::PragmaOptions::m_is_print_options
bool m_is_print_options
Definition: PragmaOptions.h:55
Gaudi::Parsers::PragmaOptions::is_print_options
bool is_print_options() const
Definition: PragmaOptions.h:40
Gaudi::Parsers::PragmaOptions::is_print_tree
bool is_print_tree() const
Definition: PragmaOptions.h:43
Gaudi::Parsers::PragmaOptions::m_is_print
bool m_is_print
Definition: PragmaOptions.h:54
Gaudi::Parsers::PragmaOptions::m_is_print_tree
bool m_is_print_tree
Definition: PragmaOptions.h:56
Gaudi::Parsers::PragmaOptions::m_dump_file
std::string m_dump_file
Definition: PragmaOptions.h:57
std::string::empty
T empty(T... args)