#include <CCopasiXMLInterface.h>
Definition at line 99 of file CCopasiXMLInterface.h.
CCopasiXMLInterface::DBL::DBL |
( |
const C_FLOAT64 & |
value = 0.0 | ) |
|
CCopasiXMLInterface::DBL::DBL |
( |
const char * |
value | ) |
|
Definition at line 201 of file CCopasiXMLInterface.cpp.
References mValue.
202 mValue(std::numeric_limits<C_FLOAT64>::quiet_NaN())
204 if (!value || !*value)
return;
206 std::istringstream in;
208 in.imbue(std::locale::classic());
215 if (!strcmp(value,
"INF"))
216 mValue = std::numeric_limits<C_FLOAT64>::infinity();
217 else if (!strcmp(value,
"-INF"))
218 mValue = - std::numeric_limits<C_FLOAT64>::infinity();
CCopasiXMLInterface::DBL::~DBL |
( |
| ) |
|
CCopasiXMLInterface::DBL::operator const C_FLOAT64 & |
( |
| ) |
const |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const DBL & |
dbl |
|
) |
| |
|
friend |
Definition at line 229 of file CCopasiXMLInterface.cpp.
233 if (isnan(dbl.mValue))
235 else if (finite(dbl.mValue))
237 else if (dbl.mValue > 0.0)
239 else if (dbl.mValue < 0.0)
The documentation for this class was generated from the following files: