CatapultServer  v0.5.0.1 (Elephant)
SecretLockInfoMapper.h
Go to the documentation of this file.
1 
21 #pragma once
24 
25 namespace catapult { namespace mongo { namespace plugins {
26 
28  bsoncxx::document::value ToDbModel(const state::SecretLockInfo& secretLockInfo, const Address& accountAddress);
29 }}}
catapult::state::SecretLockInfo
A secret lock info.
Definition: SecretLockInfo.h:29
LockInfoMapper.h
catapult::utils::to_underlying_type
constexpr std::underlying_type_t< TEnum > to_underlying_type(TEnum value)
Converts a strongly typed enumeration value to its underlying integral value.
Definition: Casting.h:37
catapult::mongo::mappers
Definition: AccountStateMapper.cpp:26
catapult::mongo::plugins::ToDbModel
bsoncxx::document::value ToDbModel(const state::HashLockInfo &hashLockInfo, const Address &accountAddress)
Maps a hashLockInfo and accountAddress to the corresponding db model value.
Definition: HashLockInfoMapper.cpp:40
catapult
Definition: AddressExtractionExtension.cpp:28
SecretLockInfo.h
catapult::mongo::mappers::ToBinary
bsoncxx::types::b_binary ToBinary(const uint8_t *pData, size_t size)
Converts raw array (pData) of size elements into bson binary type.
Definition: MapperUtils.cpp:30
catapult::mongo::mappers::ToDbModel
bsoncxx::document::value ToDbModel(const state::AccountState &accountState)
Maps an account state (accountState) to the corresponding db model value.
Definition: AccountStateMapper.cpp:81
catapult::utils::ByteArray< Address_Decoded_Size, Address_tag >
catapult::mongo::plugins::ToDbModel
bsoncxx::document::value ToDbModel(const state::SecretLockInfo &secretLockInfo, const Address &accountAddress)
Maps a secretLockInfo and accountAddress to the corresponding db model value.
Definition: SecretLockInfoMapper.cpp:44
MapperInclude.h
SecretLockInfoMapper.h