6#ifndef ACTIVE_SETTING_VALUE_BASE
7#define ACTIVE_SETTING_VALUE_BASE
9#include "Active/Setting/Values/Value.h"
150 virtual operator bool()
const override {
return false; }
155 virtual operator int32_t()
const override {
return 0; }
160 virtual operator uint32_t()
const override {
return 0; }
165 virtual operator int64_t()
const override {
return 0; }
170 virtual operator double()
const override {
return 0.0; }
Definition ValueBase.h:21
virtual bool isNull() const override
Definition ValueBase.h:193
virtual Value & operator=(const char *val) override
Definition ValueBase.h:130
virtual Value & operator=(uint32_t val) override
Definition ValueBase.h:106
virtual Value * clonePtr() const override
Definition ValueBase.h:53
virtual Value & operator=(const Value &val) override
Definition ValueBase.h:85
virtual bool operator<(const Value &ref) const override
Definition ValueBase.h:79
ValueBase(const T &val, Status stat=good)
Definition ValueBase.h:35
virtual Value & operator=(const active::utility::Time &val) override
Definition ValueBase.h:142
T data
The value data.
Definition ValueBase.h:58
virtual void setDefault() override
Definition ValueBase.h:203
virtual Value & operator=(int32_t val) override
Definition ValueBase.h:100
virtual Type getType() const override
Definition ValueBase.h:198
ValueBase()
Definition ValueBase.h:29
virtual Value & operator=(const active::utility::Guid &val) override
Definition ValueBase.h:136
bool operator!=(const Value &ref) const
Definition ValueBase.h:73
ValueBase(const Value &value)
Definition ValueBase.h:40
virtual Value & operator=(const active::utility::String &val) override
Definition ValueBase.h:124
virtual Value & operator=(int64_t val) override
Definition ValueBase.h:112
virtual Value & operator=(double val) override
Definition ValueBase.h:118
virtual Value & operator=(bool val) override
Definition ValueBase.h:94
ValueBase(const utility::String &stringVal)
Definition ValueBase.h:45
virtual bool operator==(const Value &ref) const override
Definition ValueBase.h:67
Status
The value status (defines whether a value has been explicitly set and (if so) if it's meaningful.
Definition Value.h:44
Type
Supported value types (broad groups, e.g. int32_t and int64_t are both intType)
Definition Value.h:51
virtual Value & operator=(const Value &val)=0
Status status
The value status.
Definition Value.h:100
A Unicode-aware string class.
Definition String.h:51
A class to represent a date/time.
Definition Time.h:19
Definition Transportable.h:13