olp-cpp-sdk 1.25.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olp::dataservice::read::model::Partitions Class Reference

A model that represents a collection of layer partitions. More...

#include <Partitions.h>

Public Member Functions

 Partitions (const Partitions &)=default
 
 Partitions (Partitions &&)=default
 
Partitions & operator= (const Partitions &)=default
 
Partitions & operator= (Partitions &&)=default
 
const std::vector< Partition > & GetPartitions () const
 Gets the list of partitions for the given layer and layer version.
 
std::vector< Partition > & GetMutablePartitions ()
 Gets a mutable reference to the list of partitions for the given layer and layer version.
 
void SetPartitions (std::vector< Partition > value)
 Sets the list of partitions.
 

Detailed Description

A model that represents a collection of layer partitions.

Member Function Documentation

◆ GetMutablePartitions()

std::vector< Partition > & olp::dataservice::read::model::Partitions::GetMutablePartitions ( )
inline

Gets a mutable reference to the list of partitions for the given layer and layer version.

Returns
The mutable reference to the list of partitions.

◆ GetPartitions()

const std::vector< Partition > & olp::dataservice::read::model::Partitions::GetPartitions ( ) const
inline

Gets the list of partitions for the given layer and layer version.

Returns
The list of partitions.

◆ SetPartitions()

void olp::dataservice::read::model::Partitions::SetPartitions ( std::vector< Partition >  value)
inline

Sets the list of partitions.

Parameters
valueThe list of partitions for the given layer and layer version.

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