42 value(std::make_shared<
Int>(val)),
55 value(std::make_shared<
Real>(val)),
68 value(std::make_shared<
Prop3>(val)),
136 auto i = std::static_pointer_cast<
Int>(value);
139 auto r = std::static_pointer_cast<
Real>(value);
142 auto p = std::static_pointer_cast<
Prop3>(value);
145 auto s = std::static_pointer_cast<
String>(value);
148 auto su = std::static_pointer_cast<
StringUTF8>(value);
150 return U
"StringUTF8";
151 auto pa = std::static_pointer_cast<
Path>(value);
ConfigElement()
Default constructor for serialization.
Unintialized object error.
A UTF32 character string class.
Interface class for the metric real number class.
A convenience class for file paths.
String GetType() const
Gets the inner type of data in the element.
Interface class for the metric real number class.
A character string class.
UObject Clone(const Object &obj)
Clones an object if possible.
Invalid argument error (e.g.: nullptr pointer)