PrivateVertexWrapper< TYPE > Class Template Reference

#include <vertexwrapper.h>

Public Types

using ValueType = TYPE
 

Public Member Functions

 PrivateVertexWrapper ()
 
 ~PrivateVertexWrapper ()
 
Result< void > CopyFrom (const PrivateVertexWrapper< TYPE > &src)
 
Bool IsSingleValue () const
 
Bool IsMultipleValue () const
 
Bool operator== (const PrivateVertexWrapper< TYPE > &dst) const
 
Bool operator< (const PrivateVertexWrapper< TYPE > &dst) const
 
Bool operator> (const PrivateVertexWrapper< TYPE > &dst) const
 
HashInt GetHashCode () const
 

Protected Member Functions

void MoveContent (PrivateVertexWrapper< TYPE > &&src)
 
void * GetPointer () const
 
template<typename FN >
String ToStringHelper (FN &&toStringValue) const
 

Private Member Functions

void * ClearMultipleBit (void *ptr) const
 

Private Attributes

void * _value
 

Member Typedef Documentation

◆ ValueType

using ValueType = TYPE

Constructor & Destructor Documentation

◆ PrivateVertexWrapper()

◆ ~PrivateVertexWrapper()

Member Function Documentation

◆ CopyFrom()

Result<void> CopyFrom ( const PrivateVertexWrapper< TYPE > &  src)

Copies the data from another object.

Returns
OK on success.

◆ IsSingleValue()

Bool IsSingleValue ( ) const

◆ IsMultipleValue()

Bool IsMultipleValue ( ) const

◆ operator==()

Bool operator== ( const PrivateVertexWrapper< TYPE > &  dst) const

◆ operator<()

Bool operator< ( const PrivateVertexWrapper< TYPE > &  dst) const

◆ operator>()

Bool operator> ( const PrivateVertexWrapper< TYPE > &  dst) const

◆ GetHashCode()

HashInt GetHashCode ( ) const

◆ MoveContent()

void MoveContent ( PrivateVertexWrapper< TYPE > &&  src)
protected

◆ GetPointer()

void* GetPointer ( ) const
protected

Returns the stored pointer - or a nullptr if the pointer bit was not set.

◆ ToStringHelper()

String ToStringHelper ( FN &&  toStringValue) const
protected

◆ ClearMultipleBit()

void* ClearMultipleBit ( void *  ptr) const
private

Member Data Documentation

◆ _value

void* _value
private