Specs
Beautiful C++ Test Framework
|
#include <API.h>
Public Types | |
using | ForEachVariableFn = IFunctionPointer< void(IVoidPointer *)> |
Public Member Functions | |
virtual | ~ISpecVariableCollection ()=default |
virtual void | set (const char *name, IVoidPointer *, bool destructable=true)=0 |
virtual void | unset (const char *name)=0 |
virtual bool | is_destructable (const char *name) const =0 |
virtual void | set_destructable (const char *name, bool destructable=true)=0 |
virtual bool | exists (const char *name) const =0 |
virtual IVoidPointer * | get (const char *name) const =0 |
virtual void | foreach_variable (ForEachVariableFn *) const =0 |
virtual void | clear ()=0 |
void | foreach (std::function< void(IVoidPointer *)> fn) const |
using SpecsCpp::ISpecVariableCollection::ForEachVariableFn = IFunctionPointer<void(IVoidPointer*)> |
|
virtualdefault |
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
Referenced by SpecsCpp::ISpecHasVariables::has_var().
|
inline |
Definition at line 148 of file API.h.
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
Referenced by foreach().
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
Referenced by SpecsCpp::ISpecHasVariables::var(), SpecsCpp::SpecGroup::variables(), and SpecsCpp::SpecTest::variables().
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
Referenced by SpecsCpp::ISpecHasVariables::managed_var(), SpecsCpp::ISpecHasVariables::managed_var(), SpecsCpp::ISpecHasVariables::unmanaged_var(), SpecsCpp::ISpecHasVariables::unmanaged_var(), SpecsCpp::ISpecHasVariables::var(), SpecsCpp::ISpecHasVariables::var(), and SpecsCpp::ISpecHasVariables::var_text().
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.
|
pure virtual |
Implemented in SpecsCpp::SpecVariableCollection.