Classes | Public Member Functions | Public Attributes | List of all members
fhicl::CondConfig Struct Reference

#include <CondConfig.h>

Classes

struct  BoxParameters
 
struct  SphereParameters
 

Public Member Functions

bool flag_is_true () const
 

Public Attributes

Atom< boolflag {Name("flag")}
 
OptionalAtom< int > num1
 
Atom< int > num2
 
Atom< std::stringshape {Name("shape"), "box"}
 
Table< BoxParametersboxParams
 
Table< SphereParameterssphereParams
 

Detailed Description

Definition at line 35 of file CondConfig.h.

Member Function Documentation

bool fhicl::CondConfig::flag_is_true ( ) const
inline

Definition at line 40 of file CondConfig.h.

41  {
42  return flag();
43  }
Atom< bool > flag
Definition: CondConfig.h:37

Member Data Documentation

Table<BoxParameters> fhicl::CondConfig::boxParams
Initial value:
{
Name("parameters"),
Comment("Used if \"shape: box\"."),
MaybeUseFunction([this]() { return shape() == "box"; })}

Definition at line 61 of file CondConfig.h.

Atom<bool> fhicl::CondConfig::flag {Name("flag")}

Definition at line 37 of file CondConfig.h.

OptionalAtom<int> fhicl::CondConfig::num1
Initial value:
{Name("num1"),
Comment("Used if \"flag: true\"."),

Definition at line 45 of file CondConfig.h.

Atom<int> fhicl::CondConfig::num2
Initial value:
{Name("num2"),
Comment("Used if \"flag: false\"."),

Definition at line 49 of file CondConfig.h.

Atom<std::string> fhicl::CondConfig::shape {Name("shape"), "box"}

Definition at line 53 of file CondConfig.h.

Table<SphereParameters> fhicl::CondConfig::sphereParams
Initial value:
{
Name("parameters"),
Comment("Used if \"shape: sphere\"."),
MaybeUseFunction([this]() { return shape() == "sphere"; })}

Definition at line 69 of file CondConfig.h.


The documentation for this struct was generated from the following file: