Specs
Beautiful C++ Test Framework
|
#include <SpecDataValue.h>
Public Member Functions | |
SpecDataValue (const char *key, SpecDataValueType type, IVoidPointer *value) | |
SpecDataValue (const char *key, SpecDataValueType type, void *value) | |
SpecDataValue (const char *key, SpecDataValueType type, bool value) | |
SpecDataValue (const char *key, SpecDataValueType type, int value) | |
SpecDataValue (const char *key, SpecDataValueType type, unsigned int value) | |
SpecDataValue (const char *key, SpecDataValueType type, double value) | |
SpecDataValue (const char *key, SpecDataValueType type, const char *value) | |
~SpecDataValue () override | |
SpecDataValueType | type () const override |
const char * | key () const override |
void | key (const char *key) override |
bool | bool_value () const override |
void | bool_value (bool value) override |
int | int_value () const override |
void | int_value (int value) override |
unsigned int | unsigned_int_value () const override |
void | unsigned_int_value (unsigned int value) override |
double | float_value () const override |
void | float_value (double value) override |
const char * | string_value () const override |
void | string_value (const char *value) override |
void * | pointer_value () const override |
void | pointer_value (void *value) override |
void | pointer_value (IVoidPointer *value) override |
bool | is_bool () const override |
bool | is_int () const override |
bool | is_unsigned_int () const override |
bool | is_float () const override |
bool | is_string () const override |
bool | is_pointer () const override |
const char * | to_string () override |
Public Member Functions inherited from SpecsCpp::ISpecDataValue | |
virtual | ~ISpecDataValue ()=default |
virtual SpecDataValueType | type () const =0 |
virtual const char * | key () const =0 |
virtual void | key (const char *)=0 |
virtual bool | bool_value () const =0 |
virtual void | bool_value (bool)=0 |
virtual int | int_value () const =0 |
virtual void | int_value (int)=0 |
virtual unsigned int | unsigned_int_value () const =0 |
virtual void | unsigned_int_value (unsigned int)=0 |
virtual double | float_value () const =0 |
virtual void | float_value (double)=0 |
virtual const char * | string_value () const =0 |
virtual void | string_value (const char *)=0 |
virtual void * | pointer_value () const =0 |
virtual void | pointer_value (void *)=0 |
virtual void | pointer_value (IVoidPointer *)=0 |
virtual const char * | to_string ()=0 |
virtual bool | is_bool () const =0 |
virtual bool | is_int () const =0 |
virtual bool | is_unsigned_int () const =0 |
virtual bool | is_float () const =0 |
virtual bool | is_string () const =0 |
virtual bool | is_pointer () const =0 |
Static Public Member Functions | |
static ISpecDataValue * | create_bool (const char *key, bool value) |
static ISpecDataValue * | create_int (const char *key, int value) |
static ISpecDataValue * | create_unsigned_int (const char *key, unsigned int value) |
static ISpecDataValue * | create_float (const char *key, double value) |
static ISpecDataValue * | create_string (const char *key, const char *value) |
static ISpecDataValue * | create_pointer (const char *key, void *value) |
static ISpecDataValue * | create_pointer (const char *key, IVoidPointer *value) |
static ISpecDataValue * | create (const char *key, bool value) |
static ISpecDataValue * | create (const char *key, int value) |
static ISpecDataValue * | create (const char *key, unsigned int value) |
static ISpecDataValue * | create (const char *key, double value) |
static ISpecDataValue * | create (const char *key, const char *value) |
static ISpecDataValue * | create (const char *key, void *value) |
static ISpecDataValue * | create (const char *key, IVoidPointer *value) |
Definition at line 9 of file SpecDataValue.h.
|
inline |
Definition at line 17 of file SpecDataValue.h.
|
inline |
Definition at line 20 of file SpecDataValue.h.
|
inline |
Definition at line 23 of file SpecDataValue.h.
|
inline |
Definition at line 26 of file SpecDataValue.h.
|
inline |
Definition at line 29 of file SpecDataValue.h.
|
inline |
Definition at line 34 of file SpecDataValue.h.
|
inline |
Definition at line 37 of file SpecDataValue.h.
|
inlineoverride |
Definition at line 42 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 51 of file SpecDataValue.h.
Referenced by to_string().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 56 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 172 of file SpecDataValue.h.
Referenced by SpecsCpp::DSLs::Functions::set_timeout(), and SpecsCpp::DSLs::Functions::skip().
|
inlinestatic |
Definition at line 182 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 179 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 175 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 188 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 176 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 185 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 150 of file SpecDataValue.h.
Referenced by create().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 168 of file SpecDataValue.h.
|
inlinestatic |
Definition at line 165 of file SpecDataValue.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 156 of file SpecDataValue.h.
Referenced by create().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 81 of file SpecDataValue.h.
Referenced by to_string().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 86 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 61 of file SpecDataValue.h.
Referenced by to_string().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 66 of file SpecDataValue.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 119 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 48 of file SpecDataValue.h.
Referenced by create(), create(), create(), create(), create(), create(), create(), create_bool(), create_float(), create_int(), create_pointer(), create_pointer(), create_string(), and create_unsigned_int().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 49 of file SpecDataValue.h.
Referenced by key().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 102 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 112 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 107 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 91 of file SpecDataValue.h.
Referenced by to_string().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 97 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 126 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 46 of file SpecDataValue.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 71 of file SpecDataValue.h.
Referenced by to_string().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDataValue.
Definition at line 76 of file SpecDataValue.h.