LuciadCPillar 2023.1.05
luciad::WmtsModelDecoderOptions::Builder Class Referencefinal

Builder for the WMTS options. More...

#include <luciad/formats/wmts/WmtsModelDecoderOptions.h>

Public Member Functions

 Builder (Builder &&other) noexcept
 
 Builder (const Builder &other)
 
 ~Builder ()
 
WmtsModelDecoderOptions build ()
 Builds the options for the WMTS model decoder. More...
 
BuilderhttpClient (std::shared_ptr< IHttpClient > httpClient)
 Sets the http client to be used for fetching the data. More...
 
Builderoperator= (Builder other) noexcept
 

Detailed Description

Builder for the WMTS options.

Since
2023.0

Constructor & Destructor Documentation

◆ Builder() [1/2]

luciad::WmtsModelDecoderOptions::Builder::Builder ( const Builder other)

◆ Builder() [2/2]

luciad::WmtsModelDecoderOptions::Builder::Builder ( Builder &&  other)
noexcept

◆ ~Builder()

luciad::WmtsModelDecoderOptions::Builder::~Builder ( )

Member Function Documentation

◆ build()

WmtsModelDecoderOptions luciad::WmtsModelDecoderOptions::Builder::build ( )

Builds the options for the WMTS model decoder.

Returns
the options for the WMTS model decoder.
Exceptions
luciad::LogicExceptionIf not all mandatory parameters are set.

◆ httpClient()

Builder & luciad::WmtsModelDecoderOptions::Builder::httpClient ( std::shared_ptr< IHttpClient httpClient)

Sets the http client to be used for fetching the data.

Calling this function is optional.

See related article for an example on how to customize HTTP requests when loading data.

Parameters
httpClientHTTP client implementation to fetch the WMTS resources. When nullptr the decoder uses its own HTTP client.
Returns
this builder.

◆ operator=()

Builder & luciad::WmtsModelDecoderOptions::Builder::operator= ( Builder  other)
noexcept