Go to the documentation of this file.
30 detail::PrimitiveVariant<
data::dto::AronBool, bool,
Bool>::PrimitiveVariant(
38 detail::PrimitiveVariant<
data::dto::AronBool, bool,
Bool>::PrimitiveVariant(
45 detail::PrimitiveVariant<
data::dto::AronBool, bool,
Bool>::PrimitiveVariant(
57 if (
aron->value != otherAron->value)
71 return *
this == *other;
82 return std::make_shared<Bool>(
aron);
85 data::dto::AronBoolPtr
88 return navigator ? navigator->toAronBoolDTO() :
nullptr;
92 data::dto::AronBoolPtr
102 if (setter ==
"true" || setter ==
"1" || setter ==
"yes")
106 else if (setter ==
"false" || setter ==
"0" || setter ==
"no")
114 "Could not set from string. Got: '" + setter +
"'");
127 return "armarx::aron::data::Bool";
data::dto::AronBoolPtr toAronBoolDTO() const
A base class for aron exceptions.
std::shared_ptr< Variant > VariantPtr
Bool(const Path &=Path())
The NotImplementedYetException class.
void fromString(const std::string &setter) override
set a primitive from a std string
type::VariantPtr recalculateType() const override
recalculate the type of a data variant. Please not tha the mapping ist NOT bijective,...
std::string getShortName() const override
get a short str representation of this variant
bool fullfillsType(const type::VariantPtr &) const override
checks, if the current data variant fullfills the given type
A convenience header to include all aron files (full include, not forward declared)
static data::dto::AronBoolPtr ToAronBoolDTO(const BoolPtr &navigator)
static BoolPtr FromAronBoolDTO(const data::dto::AronBoolPtr &aron)
std::string getFullName() const override
get the full str representation of this variant
AronDataType::PointerType aron
void setValue(const bool &x)
bool operator==(const Bool &other) const override
std::shared_ptr< Bool > BoolPtr