Pact C++ Consumer DSL  0.0.7
DSL to support writing consumer tests in C++
Public Member Functions | List of all members
pact_consumer::matchers::DecimalMatcher Class Reference

#include <matchers.h>

Inheritance diagram for pact_consumer::matchers::DecimalMatcher:
Inheritance graph
[legend]
Collaboration diagram for pact_consumer::matchers::DecimalMatcher:
Collaboration graph
[legend]

Public Member Functions

 DecimalMatcher ()
 
 DecimalMatcher (float v)
 
 DecimalMatcher (double v)
 
virtual std::string getJson () const
 
- Public Member Functions inherited from pact_consumer::matchers::IMatcher
virtual std::string as_example () const
 
virtual std::string as_regex () const
 

Additional Inherited Members

- Public Types inherited from pact_consumer::matchers::IMatcher
using Ptr = std::shared_ptr< IMatcher >
 

Constructor & Destructor Documentation

◆ DecimalMatcher() [1/3]

pact_consumer::matchers::DecimalMatcher::DecimalMatcher ( )
inline

◆ DecimalMatcher() [2/3]

pact_consumer::matchers::DecimalMatcher::DecimalMatcher ( float  v)
inline

◆ DecimalMatcher() [3/3]

pact_consumer::matchers::DecimalMatcher::DecimalMatcher ( double  v)
inline

Member Function Documentation

◆ getJson()

std::string pact_consumer::matchers::DecimalMatcher::getJson ( ) const
virtual

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