Struct isCompoundUnit

Inheritance Relationships

Base Type

Struct Documentation

struct isCompoundUnit : public nix::valid::isUnit

Check if given class represents valid compound SI unit string(s)

One Check struct that checks whether the given string(s) represent(s) a valid compound SI unit. Parameter can be of type boost optional (containing nothing or string) or of type string or a vector of strings.

Public Functions

inline virtual bool operator()(const std::string &u) const
inline bool operator()(const boost::optional<std::string> &u) const
inline bool operator()(const std::vector<std::string> &u) const