Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecsCpp::ISpecDataValue Struct Referenceabstract

#include <API.h>

Inheritance diagram for SpecsCpp::ISpecDataValue:
SpecsCpp::SpecDataValue

Public Member Functions

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
 

Detailed Description

Definition at line 35 of file API.h.

Constructor & Destructor Documentation

◆ ~ISpecDataValue()

virtual SpecsCpp::ISpecDataValue::~ISpecDataValue ( )
virtualdefault

Member Function Documentation

◆ bool_value() [1/2]

virtual bool SpecsCpp::ISpecDataValue::bool_value ( ) const
pure virtual

◆ bool_value() [2/2]

virtual void SpecsCpp::ISpecDataValue::bool_value ( bool  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ float_value() [1/2]

virtual double SpecsCpp::ISpecDataValue::float_value ( ) const
pure virtual

◆ float_value() [2/2]

virtual void SpecsCpp::ISpecDataValue::float_value ( double  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ int_value() [1/2]

virtual int SpecsCpp::ISpecDataValue::int_value ( ) const
pure virtual

◆ int_value() [2/2]

virtual void SpecsCpp::ISpecDataValue::int_value ( int  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_bool()

virtual bool SpecsCpp::ISpecDataValue::is_bool ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_float()

virtual bool SpecsCpp::ISpecDataValue::is_float ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_int()

virtual bool SpecsCpp::ISpecDataValue::is_int ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_pointer()

virtual bool SpecsCpp::ISpecDataValue::is_pointer ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_string()

virtual bool SpecsCpp::ISpecDataValue::is_string ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ is_unsigned_int()

virtual bool SpecsCpp::ISpecDataValue::is_unsigned_int ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ key() [1/2]

virtual const char * SpecsCpp::ISpecDataValue::key ( ) const
pure virtual

◆ key() [2/2]

virtual void SpecsCpp::ISpecDataValue::key ( const char *  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ pointer_value() [1/3]

virtual void * SpecsCpp::ISpecDataValue::pointer_value ( ) const
pure virtual

◆ pointer_value() [2/3]

virtual void SpecsCpp::ISpecDataValue::pointer_value ( IVoidPointer *  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ pointer_value() [3/3]

virtual void SpecsCpp::ISpecDataValue::pointer_value ( void *  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ string_value() [1/2]

virtual const char * SpecsCpp::ISpecDataValue::string_value ( ) const
pure virtual

◆ string_value() [2/2]

virtual void SpecsCpp::ISpecDataValue::string_value ( const char *  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ to_string()

virtual const char * SpecsCpp::ISpecDataValue::to_string ( )
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ type()

virtual SpecDataValueType SpecsCpp::ISpecDataValue::type ( ) const
pure virtual

Implemented in SpecsCpp::SpecDataValue.

◆ unsigned_int_value() [1/2]

virtual unsigned int SpecsCpp::ISpecDataValue::unsigned_int_value ( ) const
pure virtual

◆ unsigned_int_value() [2/2]

virtual void SpecsCpp::ISpecDataValue::unsigned_int_value ( unsigned int  )
pure virtual

Implemented in SpecsCpp::SpecDataValue.


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