olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::read::model::Coverage Class Reference

Geographic areas that the catalog covers. More...

#include <Catalog.h>

Public Member Functions

 Coverage (const Coverage &)=default
 
 Coverage (Coverage &&)=default
 
Coverageoperator= (const Coverage &)=default
 
Coverageoperator= (Coverage &&)=default
 
const std::vector< std::string > & GetAdminAreas () const
 Gets the string of catalog administrative areas. More...
 
std::vector< std::string > & GetMutableAdminAreas ()
 Gets a mutable reference to the catalog administrative areas. More...
 
void SetAdminAreas (const std::vector< std::string > &value)
 Sets the catalog administrative areas. More...
 

Detailed Description

Geographic areas that the catalog covers.

Member Function Documentation

◆ GetAdminAreas()

const std::vector<std::string>& olp::dataservice::read::model::Coverage::GetAdminAreas ( ) const
inline

Gets the string of catalog administrative areas.

The string contains a list of ISO 3166 two-letter codes for countries and regions optionally followed by codes for subdivisions (1–3 characters), such as DE, PL, or CN-HK.

Returns
The string of catalog administrative areas.

◆ GetMutableAdminAreas()

std::vector<std::string>& olp::dataservice::read::model::Coverage::GetMutableAdminAreas ( )
inline

Gets a mutable reference to the catalog administrative areas.

See also
GetAdminAreas for information on the catalog administrative areas.
Returns
The mutable reference to the catalog administrative areas.

◆ SetAdminAreas()

void olp::dataservice::read::model::Coverage::SetAdminAreas ( const std::vector< std::string > &  value)
inline

Sets the catalog administrative areas.

See also
GetAdminAreas for information on the catalog administrative areas.
Parameters
valueThe catalog administrative areas.

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