fixed: update UDAValue constructors for new dim member
This commit is contained in:
parent
7ac2febae2
commit
c4936d55e1
@ -35,6 +35,8 @@ public:
|
||||
explicit UDAValue(double);
|
||||
explicit UDAValue(const std::string&);
|
||||
UDAValue(const UDAValue& src, const Dimension& dim);
|
||||
UDAValue(double data, const Dimension& dim);
|
||||
UDAValue(const std::string& data, const Dimension& dim);
|
||||
|
||||
/*
|
||||
The get<double>() and get<std::string>() methods will throw an
|
||||
|
@ -29,6 +29,13 @@ UDAValue::UDAValue(double value):
|
||||
{
|
||||
}
|
||||
|
||||
UDAValue::UDAValue(double value, const Dimension& dim_):
|
||||
numeric_value(true),
|
||||
double_value(value),
|
||||
dim(dim_)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
UDAValue::UDAValue() :
|
||||
UDAValue(0)
|
||||
@ -40,6 +47,13 @@ UDAValue::UDAValue(const std::string& value):
|
||||
{
|
||||
}
|
||||
|
||||
UDAValue::UDAValue(const std::string& value, const Dimension& dim_):
|
||||
numeric_value(false),
|
||||
string_value(value),
|
||||
dim(dim_)
|
||||
{
|
||||
}
|
||||
|
||||
UDAValue::UDAValue(const UDAValue& src, const Dimension& new_dim):
|
||||
UDAValue(src)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user