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

Represents the index layer of the time window type. More...

#include <Index.h>

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

Public Member Functions

 TimeWindowIndexValue (int64_t timeWindowValue, IndexType type)
 Creates the TimeWindowIndexValue instance. More...
 
const int64_t & GetValue () const
 Gets the time vindow value of the index layer. More...
 
int64_t & GetMutableValue ()
 Gets a mutable reference to the time window value of the index layer. More...
 
void SetValue (const int64_t &value)
 Sets the time window 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 time window type.

Constructor & Destructor Documentation

◆ TimeWindowIndexValue()

olp::dataservice::write::model::TimeWindowIndexValue::TimeWindowIndexValue ( int64_t  timeWindowValue,
IndexType  type 
)
inline

Creates the TimeWindowIndexValue instance.

Parameters
timeWindowValueThe time window value.
typeThe IndexType instance.

Member Function Documentation

◆ GetMutableValue()

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

Gets a mutable reference to the time window value of the index layer.

Returns
The mutable reference to the time window value.

◆ GetValue()

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

Gets the time vindow value of the index layer.

Returns
The time window value.

◆ SetValue()

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

Sets the time window value.

Parameters
valueThe time window value.

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