|
static std::size_t | string_endswith (std::string str, const char *suffix) |
|
◆ ValueUnit() [1/3]
XMLfileUnits::ValueUnit::ValueUnit |
( |
double |
value = 0. | ) |
|
|
inline |
◆ ValueUnit() [2/3]
XMLfileUnits::ValueUnit::ValueUnit |
( |
double |
value, |
|
|
const std::string & |
symbol |
|
) |
| |
|
inline |
◆ ValueUnit() [3/3]
XMLfileUnits::ValueUnit::ValueUnit |
( |
const ValueUnit & |
vu | ) |
|
|
inline |
◆ operator/()
divide operator divide other ValueUnit
- Returns
- XMLfile::ValueUnit result
◆ operator=() [1/2]
ValueUnit& XMLfileUnits::ValueUnit::operator= |
( |
const double |
d | ) |
|
|
inline |
assignment operator for scalar values assign (dimensionless) double value
- Parameters
-
- Returns
- XMLfile::ValueUnit& reference to this node
◆ operator=() [2/2]
assignment operator copy/duplicate other ValueUnit content to ValueUnit
- Parameters
-
- Returns
- XMLfile::ValueUnit& reference to this node
◆ print()
void XMLfileUnits::ValueUnit::print |
( |
std::ostream & |
ostrm = std::cout , |
|
|
bool |
simplify = true |
|
) |
| const |
print data to stream print the node data
- Parameters
-
std::ostream& | stream to write to (default: std::cout) |
The documentation for this class was generated from the following files: