CatapultServer  v0.5.0.1 (Elephant)
catapult::mongo::MongoReceiptPlugin Class Referenceabstract

A mongo receipt plugin. More...

Inheritance diagram for catapult::mongo::MongoReceiptPlugin:

Public Member Functions

virtual ~MongoReceiptPlugin ()=default
 
virtual model::ReceiptType type () const =0
 Gets the receipt type. More...
 
virtual void streamReceipt (bsoncxx::builder::stream::document &builder, const model::Receipt &receipt) const =0
 Streams a receipt to builder. More...
 

Detailed Description

A mongo receipt plugin.

Constructor & Destructor Documentation

◆ ~MongoReceiptPlugin()

virtual catapult::mongo::MongoReceiptPlugin::~MongoReceiptPlugin ( )
virtualdefault

Member Function Documentation

◆ streamReceipt()

virtual void catapult::mongo::MongoReceiptPlugin::streamReceipt ( bsoncxx::builder::stream::document &  builder,
const model::Receipt receipt 
) const
pure virtual

Streams a receipt to builder.

Implemented in catapult::mongo::MongoReceiptPluginFactory::ReceiptPluginT< TReceipt >.

◆ type()

virtual model::ReceiptType catapult::mongo::MongoReceiptPlugin::type ( ) const
pure virtual

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