CatapultServer  v0.5.0.1 (Elephant)
catapult::mongo::MongoTransactionPluginT< TTransaction > Class Template Referenceabstract

A typed mongo transaction plugin. More...

Public Member Functions

virtual ~MongoTransactionPluginT ()=default
 
virtual model::EntityType type () const =0
 Gets the transaction entity type. More...
 
virtual void streamTransaction (bsoncxx::builder::stream::document &builder, const TTransaction &transaction) const =0
 Streams a transaction to builder. More...
 

Detailed Description

template<typename TTransaction>
class catapult::mongo::MongoTransactionPluginT< TTransaction >

A typed mongo transaction plugin.

Constructor & Destructor Documentation

◆ ~MongoTransactionPluginT()

template<typename TTransaction>
virtual catapult::mongo::MongoTransactionPluginT< TTransaction >::~MongoTransactionPluginT ( )
virtualdefault

Member Function Documentation

◆ streamTransaction()

template<typename TTransaction>
virtual void catapult::mongo::MongoTransactionPluginT< TTransaction >::streamTransaction ( bsoncxx::builder::stream::document &  builder,
const TTransaction &  transaction 
) const
pure virtual

◆ type()

template<typename TTransaction>
virtual model::EntityType catapult::mongo::MongoTransactionPluginT< TTransaction >::type ( ) const
pure virtual

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