CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::PruningBoundary< T > Class Template Reference

Represents an optional pruning boundary. More...

Collaboration diagram for catapult::deltaset::PruningBoundary< T >:

Public Member Functions

constexpr PruningBoundary ()
 Creates a null pruning boundary. More...
 
constexpr PruningBoundary (const T &value)
 Creates a pruning boundary around value. More...
 
constexpr bool isSet () const
 Returns true if the pruning boundary value is set. More...
 
constexpr const T & value () const
 Returns the pruning boundary value. More...
 

Private Attributes

bool m_isSet
 
m_value
 

Detailed Description

template<typename T>
class catapult::deltaset::PruningBoundary< T >

Represents an optional pruning boundary.

Constructor & Destructor Documentation

◆ PruningBoundary() [1/2]

template<typename T>
constexpr catapult::deltaset::PruningBoundary< T >::PruningBoundary ( )
inlineconstexpr

Creates a null pruning boundary.

◆ PruningBoundary() [2/2]

template<typename T>
constexpr catapult::deltaset::PruningBoundary< T >::PruningBoundary ( const T &  value)
inlineconstexpr

Creates a pruning boundary around value.

Member Function Documentation

◆ isSet()

template<typename T>
constexpr bool catapult::deltaset::PruningBoundary< T >::isSet ( ) const
inlineconstexpr

Returns true if the pruning boundary value is set.

◆ value()

template<typename T>
constexpr const T& catapult::deltaset::PruningBoundary< T >::value ( ) const
inlineconstexpr

Returns the pruning boundary value.

Here is the caller graph for this function:

Member Data Documentation

◆ m_isSet

template<typename T>
bool catapult::deltaset::PruningBoundary< T >::m_isSet
private

◆ m_value

template<typename T>
T catapult::deltaset::PruningBoundary< T >::m_value
private

The documentation for this class was generated from the following file: