CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace mongo {
namespace plugins {
33 const std::shared_ptr<const state::RootNamespace>& pRootNamespace,
39 ,
pRoot(pRootNamespace)
59 const std::shared_ptr<const state::RootNamespace>
pRoot;
bool IsRoot() const
Returns true if the described namespace is a root namespace.
Definition: NamespaceDescriptor.h:47
A namespace descriptor.
Definition: NamespaceDescriptor.h:27
NamespaceDescriptor(const state::Namespace::Path &path, const state::NamespaceAlias &alias, const std::shared_ptr< const state::RootNamespace > &pRootNamespace, const Address &ownerAddress, uint32_t index, bool isActive)
Creates a namespace descriptor around path, alias, pRootNamespace, ownerAddress, index and isActive.
Definition: NamespaceDescriptor.h:30
Address OwnerAddress
Definition: NamespaceDescriptor.h:63
size_t size() const
Gets the size of the array.
Definition: CheckedArray.h:40
uint32_t Index
Index in the root namespace history.
Definition: NamespaceDescriptor.h:66
A namespace alias.
Definition: NamespaceAlias.h:39
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
const state::Namespace::Path Path
Namespace path.
Definition: NamespaceDescriptor.h:53
bool IsActive
Flag indicating whether or not the namespace is active.
Definition: NamespaceDescriptor.h:69