Go to the documentation of this file.
30 #include "../detail/PrimitiveVariant.h"
33 #include "../../../type/variant/primitive/Int.h"
34 #include "../../../type/variant/enum/IntEnum.h"
40 typedef std::shared_ptr<Int>
IntPtr;
48 Int(
const data::dto::AronIntPtr&,
const Path& =
Path());
65 void fromString(
const std::string& setter)
override;
77 template<
typename... _Args>
80 return std::make_shared<aron::data::Int>(args...);
std::shared_ptr< Variant > VariantPtr
void fromString(const std::string &setter) override
set a primitive from a std string
static data::dto::AronIntPtr ToAronIntDTO(const IntPtr &navigator)
data::dto::AronIntPtr toAronIntDTO() const
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)
std::string getShortName() const override
get a short str representation of this variant
std::filesystem::path Path
bool operator==(const Int &) const override
std::shared_ptr< Int > IntPtr
std::string getFullName() const override
get the full str representation of this variant
type::VariantPtr recalculateType() const override
recalculate the type of a data variant. Please not tha the mapping ist NOT bijective,...
aron::data::IntPtr make_int(_Args &&... args)
AronDataType::PointerType aron
static IntPtr FromAronIntDTO(const data::dto::AronIntPtr &aron)