35 void setId(
int _id) { m_id = _id; }
39 int id(
void)
const {
return m_id; }
41 std::string debugInformation(
const std::string& _prefix);
43 void addAsJsonObject(std::stringstream& _stream)
const;
52 template<
class T> T
toNumber(
const std::string& _str,
bool& _failed) {
53 std::stringstream ss(_str);
57 if (ss.fail()) { _failed =
true; }
60 if (!rest.empty()) { _failed =
true; }
Definition AbstractPoint.h:24
virtual coordinate_t v(void) const =0
virtual coordinate_t u(void) const =0
int id(void) const
Definition AbstractPoint.h:39
virtual ~AbstractPoint()
Definition AbstractPoint.h:27
void setId(int _id)
Definition AbstractPoint.h:35
AbstractPoint()
Definition AbstractPoint.h:26
virtual coordinate_t w(void) const =0
float coordinate_t
Definition dataTypes.h:26
#define RBE_API_EXPORT
Definition dataTypes.h:18
Definition ParserAPI.h:21
eAxisDistance
Definition dataTypes.h:37
T toNumber(const std::string &_str, bool &_failed)
Definition AbstractPoint.h:52