CatapultServer  v0.5.0.1 (Elephant)
catapult::mongo::plugins::LockInfoMapper< TTraits > Class Template Reference

Traits based lock info mapper. More...

Static Public Member Functions

static bsoncxx::document::value ToDbModel (const LockInfoType &lockInfo, const Address &accountAddress)
 

Private Types

using LockInfoType = typename TTraits::LockInfoType
 

Static Private Member Functions

static void StreamLockMetadata (mappers::bson_stream::document &builder)
 
static void StreamLockInfo (mappers::bson_stream::document &builder, const state::LockInfo &lockInfo, const Address &accountAddress)
 

Detailed Description

template<typename TTraits>
class catapult::mongo::plugins::LockInfoMapper< TTraits >

Traits based lock info mapper.

Member Typedef Documentation

◆ LockInfoType

template<typename TTraits >
using catapult::mongo::plugins::LockInfoMapper< TTraits >::LockInfoType = typename TTraits::LockInfoType
private

Member Function Documentation

◆ StreamLockInfo()

template<typename TTraits >
static void catapult::mongo::plugins::LockInfoMapper< TTraits >::StreamLockInfo ( mappers::bson_stream::document &  builder,
const state::LockInfo lockInfo,
const Address accountAddress 
)
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StreamLockMetadata()

template<typename TTraits >
static void catapult::mongo::plugins::LockInfoMapper< TTraits >::StreamLockMetadata ( mappers::bson_stream::document &  builder)
inlinestaticprivate
Here is the caller graph for this function:

◆ ToDbModel()

template<typename TTraits >
static bsoncxx::document::value catapult::mongo::plugins::LockInfoMapper< TTraits >::ToDbModel ( const LockInfoType lockInfo,
const Address accountAddress 
)
inlinestatic
Here is the call graph for this function:

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