Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecsCpp::ISpec Struct Reference

#include <API.h>

Inheritance diagram for SpecsCpp::ISpec:
SpecsCpp::ISpecComponent SpecsCpp::ISpecDocumented SpecsCpp::ISpecHasCodeBlock SpecsCpp::ISpecHasVariables SpecsCpp::SpecTest

Public Member Functions

virtual ~ISpec ()=default
 
- Public Member Functions inherited from SpecsCpp::ISpecComponent
virtual ~ISpecComponent ()=default
 
virtual ISpecGroupgroup () const =0
 
virtual void set_group (ISpecGroup *group)=0
 
virtual ISpecDataValueCollectiondata () const =0
 
virtual ISpecTagCollectiontags () const =0
 
virtual SpecComponentType type () const =0
 
virtual bool skip () const =0
 
virtual void mark_skipped (bool skip=true)=0
 
- Public Member Functions inherited from SpecsCpp::ISpecDocumented
virtual ~ISpecDocumented ()=default
 
virtual const char * description () const =0
 
virtual const char * full_description () const =0
 
- Public Member Functions inherited from SpecsCpp::ISpecHasCodeBlock
virtual ~ISpecHasCodeBlock ()=default
 
virtual ISpecCodeBlockcode_block () const =0
 
- Public Member Functions inherited from SpecsCpp::ISpecHasVariables
virtual ~ISpecHasVariables ()=default
 
virtual ISpecVariableCollectionvariables () const =0
 
ISpecVariableCollectionvars () const
 
bool has_var (const char *name) const
 
IVoidPointer * var (const char *name) const
 
template<typename T >
var (const char *name) const
 
template<typename T >
T * var (const char *name, T *value, bool destructable=true)
 
template<typename T >
void var (const char *name, T &&value, bool destructable=true)
 
template<typename T >
T * managed_var (const char *name, T *value)
 
template<typename T >
void managed_var (const char *name, T &&value)
 
template<typename T >
T * unmanaged_var (const char *name, T *value)
 
template<typename T >
void unmanaged_var (const char *name, T &&value)
 
const char * var_text (const char *name)
 
const char * var_text (const char *name, const char *value)
 

Detailed Description

Definition at line 362 of file API.h.

Constructor & Destructor Documentation

◆ ~ISpec()

virtual SpecsCpp::ISpec::~ISpec ( )
virtualdefault

The documentation for this struct was generated from the following file: