CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace catapult {
namespace state {
86 return !(*
this == rhs);
bool empty() const
Returns true if the array is empty, false otherwise.
Definition: CheckedArray.h:35
A catapult namespace.
Definition: Namespace.h:30
constexpr NamespaceId Namespace_Base_Id(0)
Base id for namespaces.
constexpr size_t Namespace_Max_Depth
Maximum number of parts for a namespace.
Definition: plugins/txes/namespace/src/constants.h:27
NamespaceId rootId() const
Gets the corresponding root namespace id.
Definition: Namespace.h:53
NamespaceId id() const
Gets the namespace id.
Definition: Namespace.h:43
bool operator!=(const Namespace &rhs) const
Returns true if this namespace is not equal to rhs.
Definition: Namespace.h:85
const Path & path() const
Gets the path.
Definition: Namespace.h:63
size_t size() const
Gets the size of the array.
Definition: CheckedArray.h:40
Namespace createChild(NamespaceId id) const
Creates a child namespace of this namespace with namespace identifier id.
Definition: Namespace.h:69
bool isRoot() const
Gets a value indicating whether or not this namespace is a root namespace.
Definition: Namespace.h:58
#define CATAPULT_THROW_OUT_OF_RANGE(MESSAGE)
Macro used to throw a catapult out of range.
Definition: exceptions.h:191
Path m_path
Definition: Namespace.h:90
NamespaceId parentId() const
Gets the parent namespace id.
Definition: Namespace.h:48
void push_back(T val)
Definition: CheckedArray.h:51
Definition: AddressExtractionExtension.cpp:28
bool operator==(const Namespace &rhs) const
Returns true if this namespace is equal to rhs.
Definition: Namespace.h:80
Namespace(const Path &path)
Creates a namespace around path.
Definition: Namespace.h:36