41 std::string apertureType;
55 void set_value(std::string name, T value);
66 std::cout <<
"aperture> setting value " << std::setw(25) << std::left
67 <<
property << value << std::endl;
71 {
set(
this, property, value);}
72 catch (
const std::runtime_error&)
74 std::cerr <<
"Error: aperture> unknown option \"" <<
property
75 <<
"\" with value \"" << value <<
"\"" << std::endl;
void PublishMembers()
publish members
void set_value(std::string name, T value)
Set methods by property name and value.
void print() const
Print some properties.
Class that provides introspection to its members.
void set(Aperture *instance, const std::string &name, double value)
Parser namespace for GMAD language. Combination of Geant4 and MAD.