olp-cpp-sdk  1.22.0
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
 
Partitionsoperator= (const Partitions &)=default
 
Partitionsoperator= (Partitions &&)=default
 
const std::vector< Partition > & GetPartitions () const
 Gets the list of partitions for the given layer and layer version. More...
 
std::vector< Partition > & GetMutablePartitions ()
 Gets a mutable reference to the list of partitions for the given layer and layer version. More...
 
void SetPartitions (std::vector< Partition > value)
 Sets the list of partitions. More...
 

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: