CatapultServer  v0.5.0.1 (Elephant)
HashLockInfoMapper.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::HashLockInfo& hashLockInfo, const Address& accountAddress);
29 }}}
HashLockInfoMapper.h
catapult::state::HashLockInfo
A hash lock info.
Definition: HashLockInfo.h:27
LockInfoMapper.h
HashLockInfo.h
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
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
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29
MapperInclude.h