29 #error "This is a C++ include file and cannot be used from plain C"
52 Length(
double length,
const std::string &units);
63 inline double get(
const std::string &units)
const {
return sget(
valueIS_, units); }
67 std::string
get(
const std::string &form,
const std::string &units)
const;
107 static double sget(
double value,
const std::string &units);
108 static double sput(
double value,
const std::string &units);
#define ATM_NAMESPACE_END
bool operator>(const Length &rhs) const
Operator "comparator > for two lengths".
Length()
Default constructor: Length value set to 0 m.
bool operator!=(const Length &rhs) const
Operator "comparator != for two lengths".
static double sget(double value, const std::string &units)
Length operator/(float scf)
Operator "division of a length by a float".
Length operator*(unsigned int scf)
Operator "multiplication of a length by an unsigned int".
Length & operator=(double rhs)
Operator "equal to a double converted to Length in m".
Length & operator=(const Length &rhs)
Operator "equal to a Length".
bool operator==(const Length &rhs) const
Operator "comparator == for two lengths".
Length operator+(const Length &rhs)
Operator "addition of lengths".
#define ATM_NAMESPACE_BEGIN
bool operator<=(const Length &rhs) const
Operator "comparator <= for two lengths".
Length operator/(int scf)
Operator "division of a length by an int".
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
Length operator/(unsigned int scf)
Operator "division of a length by an unsigned int".
virtual ~Length()
Destructor.
Length operator*(double scf)
Operator "multiplication of a length by a double".
bool operator>=(const Length &rhs) const
Operator "comparator >= for two lengths".
bool operator<(const Length &rhs) const
Operator "comparator < for two lengths".
Length operator-(const Length &rhs)
Operator "substraction of lengths".
static double sput(double value, const std::string &units)
double get() const
Accessor to get the numerical value of length (in International System units: m)
Length operator*(float scf)
Operator "multiplication of a length by a float".
Class for those physical parameters having dimensions of Length [L].
Length operator*(int scf)
Operator "multiplication of a length by an int".
Length operator/(double scf)
Operator "division of a length by a double".
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.