olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::write::model::IntIndexValue Class Referencefinal

Represents the index layer of the integer type. More...

#include <Index.h>

Inheritance diagram for olp::dataservice::write::model::IntIndexValue:
Inheritance graph
[legend]
Collaboration diagram for olp::dataservice::write::model::IntIndexValue:
Collaboration graph
[legend]

Public Member Functions

 IntIndexValue (int64_t intValue, IndexType type)
 Creates the IntIndexValue instance. More...
 
const int64_t & GetValue () const
 Gets the integer value of the index layer. More...
 
int64_t & GetMutableValue ()
 Gets a mutable reference to the integer value of the index layer. More...
 
void SetValue (const int64_t &value)
 Sets the integer value. More...
 
- Public Member Functions inherited from olp::dataservice::write::model::IndexValue
 IndexValue (IndexType type)
 Creates the IndexValue instance. More...
 
 IndexValue (const IndexValue &)=default
 A default copy constructor.
 
 IndexValue (IndexValue &&)=default
 A default move constructor.
 
IndexValueoperator= (IndexValue &&)=default
 A default move assignment operator.
 
IndexValueoperator= (const IndexValue &)=default
 A default copy assignment operator.
 
virtual ~IndexValue ()=default
 A default virtual destructor.
 
IndexType getIndexType () const
 Gets the index value type. More...
 

Detailed Description

Represents the index layer of the integer type.

Constructor & Destructor Documentation

◆ IntIndexValue()

olp::dataservice::write::model::IntIndexValue::IntIndexValue ( int64_t  intValue,
IndexType  type 
)
inline

Creates the IntIndexValue instance.

Parameters
intValueThe integer value.
typeThe IndexType instance.

Member Function Documentation

◆ GetMutableValue()

int64_t& olp::dataservice::write::model::IntIndexValue::GetMutableValue ( )
inline

Gets a mutable reference to the integer value of the index layer.

Returns
The mutable reference to the integer value.

◆ GetValue()

const int64_t& olp::dataservice::write::model::IntIndexValue::GetValue ( ) const
inline

Gets the integer value of the index layer.

Returns
The integer value.

◆ SetValue()

void olp::dataservice::write::model::IntIndexValue::SetValue ( const int64_t &  value)
inline

Sets the integer value.

Parameters
valueThe integer value.

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