#include <swcdb/core/config/Property.h>
Public Member Functions | |
Value_uint16 (const uint16_t &v, uint8_t flags=0) noexcept | |
Value_uint16 (Value_uint16 *ptr) noexcept | |
virtual | ~Value_uint16 () noexcept |
Ptr | make_new (const Strings &values=Strings()) override |
void | set_from (Ptr ptr) override |
void | set_from (const Strings &values) override |
Type SWC_CONST_FUNC | type () const noexcept override |
std::string | to_string () const override |
SWC_CAN_INLINE uint16_t | get () const noexcept |
Public Member Functions inherited from SWC::Config::Property::Value | |
Value (uint8_t flags=0) noexcept | |
Value (Ptr ptr) noexcept | |
Value (Value &&)=delete | |
Value (const Value &)=delete | |
Value & | operator= (Value &&)=delete |
Value & | operator= (const Value &)=delete |
virtual | ~Value () noexcept |
std::ostream & | operator<< (std::ostream &ostream) |
bool | is_skippable () const noexcept |
bool | is_guarded () const noexcept |
Ptr | default_value (bool defaulted) noexcept |
bool | is_default () const noexcept |
Ptr | zero_token () noexcept |
bool | is_zero_token () const noexcept |
Public Attributes | |
uint16_t | value |
Public Attributes inherited from SWC::Config::Property::Value | |
Core::Atomic< uint8_t > | flags |
Static Public Attributes | |
static const Type | value_type = TYPE_UINT16 |
Static Public Attributes inherited from SWC::Config::Property::Value | |
static const uint8_t | SKIPPABLE = 0x01 |
static const uint8_t | GUARDED = 0x02 |
static const uint8_t | DEFAULT = 0x04 |
static const uint8_t | NO_TOKEN = 0x08 |
Additional Inherited Members | |
Public Types inherited from SWC::Config::Property::Value | |
enum | Type : uint8_t { TYPE_BOOL, TYPE_UINT8, TYPE_UINT16, TYPE_INT32, TYPE_INT64, TYPE_DOUBLE, TYPE_STRING, TYPE_ENUM, TYPE_STRINGS, TYPE_INT64S, TYPE_DOUBLES, TYPE_BOOL_G, TYPE_UINT8_G, TYPE_UINT16_G, TYPE_INT32_G, TYPE_UINT64_G, TYPE_ENUM_G, TYPE_STRINGS_G } |
typedef Value * | Ptr |
Static Public Member Functions inherited from SWC::Config::Property::Value | |
static const char *SWC_CONST_FUNC | to_string (Type type) noexcept |
template<typename T > | |
static SWC_CAN_INLINE T * | get_pointer (Ptr ptr) |
static void | assure_match (Type t1, Type t2) |
Definition at line 201 of file Property.h.
|
noexcept |
Definition at line 291 of file Property.cc.
Referenced by make_new().
|
noexcept |
Definition at line 294 of file Property.cc.
|
virtualnoexcept |
Definition at line 296 of file Property.cc.
|
inlinenoexcept |
Definition at line 222 of file Property.h.
|
overridevirtual |
Implements SWC::Config::Property::Value.
Definition at line 298 of file Property.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::empty(), and Value_uint16().
|
overridevirtual |
Implements SWC::Config::Property::Value.
Definition at line 311 of file Property.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::back(), SWC::Config::Property::from_string(), and value.
|
overridevirtual |
Implements SWC::Config::Property::Value.
Definition at line 305 of file Property.cc.
References SWC::Config::Property::Value::flags, SWC::Condition::from(), SWC::Core::AtomicBase< T, OrderT >::store(), and value.
|
overridevirtual |
Implements SWC::Config::Property::Value.
Definition at line 319 of file Property.cc.
References SWC::Core::to_string(), and value.
|
overridevirtualnoexcept |
Implements SWC::Config::Property::Value.
Definition at line 315 of file Property.cc.
References value_type.
uint16_t SWC::Config::Property::Value_uint16::value |
Definition at line 226 of file Property.h.
Referenced by set_from(), and to_string().
|
static |
Definition at line 203 of file Property.h.
Referenced by type().