Specs
Beautiful C++ Test Framework
|
#include <API.h>
Public Types | |
using | ForEachSpecDataFn = IFunctionPointer< void(ISpecDataValue *)> |
Public Member Functions | |
virtual | ~ISpecDataValueCollection ()=default |
virtual void | add (ISpecDataValue *)=0 |
virtual bool | has (const char *name) const =0 |
virtual ISpecDataValue * | get (const char *name) const =0 |
virtual bool | get_bool (const char *name) const |
virtual int | get_int (const char *name) const |
virtual unsigned int | get_unsigned_int (const char *name) const |
virtual double | get_float (const char *name) const |
virtual const char * | get_string (const char *name) const |
virtual void * | get_pointer (const char *name) const |
virtual void | foreach_value (ForEachSpecDataFn *) const =0 |
virtual void | merge (ISpecDataValueCollection *)=0 |
virtual void | clear ()=0 |
void | foreach (std::function< void(ISpecDataValue *)> fn) const |
using SpecsCpp::ISpecDataValueCollection::ForEachSpecDataFn = IFunctionPointer<void(ISpecDataValue*)> |
|
virtualdefault |
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.
|
inline |
Definition at line 105 of file API.h.
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.
Referenced by foreach(), and SpecsCpp::SpecDataValueCollection::merge().
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.
Referenced by get_bool(), get_float(), get_int(), get_pointer(), get_string(), and get_unsigned_int().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.
Referenced by get_bool(), get_float(), get_int(), get_pointer(), get_string(), and get_unsigned_int().
|
pure virtual |
Implemented in SpecsCpp::SpecDataValueCollection.