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::ObjectMatcher Class Reference

#include <matchers.h>

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

Public Member Functions

 ObjectMatcher (const std::unordered_map< std::string, IMatcher::Ptr > &i_fields)
 
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

◆ ObjectMatcher()

pact_consumer::matchers::ObjectMatcher::ObjectMatcher ( const std::unordered_map< std::string, IMatcher::Ptr > &  i_fields)
inline

Member Function Documentation

◆ getJson()

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

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