4 #include "opals/config.hpp"
5 #include "opals/String.hpp"
6 #include "opals/CustomOptionType.hpp"
25 double getRad()
const;
26 double getDeg()
const;
27 double getGrad()
const;
28 double getPerc()
const;
30 operator double()
const;
34 void setRad(
const double& value);
35 void setDeg(
const double& value);
36 void setGrad(
const double& value);
37 void setPerc(
const double& value);
39 bool operator==(
const AngleType &ref)
const;
40 bool operator!=(
const AngleType &ref)
const;
42 static const char* help(
bool);
43 static const char* syntax();
44 static bool exportsPythonType();
Base class for all custom parameter types.
Definition: CustomOptionType.hpp:39
Reflects Python's built-in class exceptions.SyntaxError.
Definition: c++_api/inc/opals/Exception.hpp:382
thrown if the provided filename doesn't exist.
Definition: c++_api/inc/opals/Exception.hpp:238
programming error which appears if the opals framework wasn't used correctly;
Definition: c++_api/inc/opals/Exception.hpp:200
AngleType provides defining angular values in different units (deg, rad, grad and percentage)
Definition: AngleType.hpp:15
Reflects Python's built-in class exceptions.TypeError.
Definition: c++_api/inc/opals/Exception.hpp:390
Reflects Python's built-in class exceptions.ValueError.
Definition: c++_api/inc/opals/Exception.hpp:398
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
a general parameter error (usually comes from boost::program_options)
Definition: c++_api/inc/opals/Exception.hpp:206
A dynamic character string whose interface conforms to STL's std::string.
Definition: String.hpp:35