Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecsCpp::SpecDocumented Class Reference

#include <SpecDocumented.h>

Inheritance diagram for SpecsCpp::SpecDocumented:
SpecsCpp::ISpecDocumented SpecsCpp::SpecGroup SpecsCpp::SpecTest

Public Member Functions

 SpecDocumented (std::string_view description)
 
const char * description () const override
 
- Public Member Functions inherited from SpecsCpp::ISpecDocumented
virtual ~ISpecDocumented ()=default
 
virtual const char * description () const =0
 
virtual const char * full_description () const =0
 

Detailed Description

Definition at line 10 of file SpecDocumented.h.

Constructor & Destructor Documentation

◆ SpecDocumented()

SpecsCpp::SpecDocumented::SpecDocumented ( std::string_view  description)
inline

Definition at line 14 of file SpecDocumented.h.

14: _description(description) {}
const char * description() const override

Member Function Documentation

◆ description()

const char * SpecsCpp::SpecDocumented::description ( ) const
inlineoverridevirtual

Implements SpecsCpp::ISpecDocumented.

Definition at line 16 of file SpecDocumented.h.

16{ return _description.c_str(); }

Referenced by SpecsCpp::SpecGroup::SpecGroup(), and SpecsCpp::SpecTest::SpecTest().


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