CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace mongo {
namespace plugins {
28 bsoncxx::document::value
ToDbModel(
const NamespaceDescriptor& descriptor);
bool IsRoot() const
Returns true if the described namespace is a root namespace.
Definition: NamespaceDescriptor.h:47
constexpr NamespaceId Namespace_Base_Id(0)
Base id for namespaces.
A namespace descriptor.
Definition: NamespaceDescriptor.h:27
Address OwnerAddress
Definition: NamespaceDescriptor.h:63
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
int64_t ToInt64(TBaseValue value)
Converts base value to int64_t.
Definition: MapperUtils.h:75
utils::CheckedArray< NamespaceId, Namespace_Max_Depth > Path
Definition: Namespace.h:32
Definition: AccountStateMapper.cpp:26
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
const state::NamespaceAlias Alias
Namespace alias.
Definition: NamespaceDescriptor.h:56
Definition: AddressExtractionExtension.cpp:28
const std::shared_ptr< const state::RootNamespace > pRoot
Associated root namespace.
Definition: NamespaceDescriptor.h:59
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
bsoncxx::document::value ToDbModel(const state::AccountState &accountState)
Maps an account state (accountState) to the corresponding db model value.
Definition: AccountStateMapper.cpp:81
const state::Namespace::Path Path
Namespace path.
Definition: NamespaceDescriptor.h:53