PrivateVertexWrapper< TYPE > Class Template Reference

#include <vertexwrapper.h>

Public Types

using ValueType = TYPE
 

Public Member Functions

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

Protected Member Functions

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

Private Attributes

UChar _data [sizeof(ValueType)]
 
Bool _multiple
 

Member Typedef Documentation

◆ ValueType

using ValueType = TYPE

Constructor & Destructor Documentation

◆ PrivateVertexWrapper()

◆ ~PrivateVertexWrapper()

Member Function Documentation

◆ CopyFrom()

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

Copies the data from another object.

Returns
OK on success.

◆ IsSingleValue()

Bool IsSingleValue ( ) const

◆ IsMultipleValue()

Bool IsMultipleValue ( ) const

◆ operator==()

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

◆ operator<()

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

◆ operator>()

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

◆ GetHashCode()

HashInt GetHashCode ( ) const

◆ MoveContent()

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

◆ GetPointer()

void* GetPointer ( ) const
protected

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

◆ GetDataPointer()

void* GetDataPointer ( ) const
protected

◆ ToStringHelper()

String ToStringHelper ( FN &&  toStringValue) const
protected

Member Data Documentation

◆ _data

UChar _data[sizeof(ValueType)]
private

◆ _multiple

Bool _multiple
private