MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLWPSOutputFormChoice Class Reference

Detailed Description

Represents a description of an output form. It encodes the OutputFormChoice element from the WPS Schema.

Its use is synonomous with that of a union in that setting a value any of its properties will clear out any values set on its other properties. One, and only one, property holds a value at any one time.

Public Member Functions

 TSLWPSOutputFormChoice (const TSLWPSSupportedComplexDataType &content)
 
 TSLWPSOutputFormChoice (const TSLWPSLiteralOutputType &content)
 
 TSLWPSOutputFormChoice (const TSLWPSSupportedCRSsType &content)
 
void destroy ()
 
TSLWPSOutputFormChoiceType type () const
 
const TSLWPSSupportedComplexDataTypevalAsComplexData () const
 
const TSLWPSLiteralOutputTypevalAsLiteralData () const
 
const TSLWPSSupportedCRSsTypevalAsBoundingBoxData () const
 
void val (const TSLWPSSupportedComplexDataType &content)
 
void val (const TSLWPSLiteralOutputType &content)
 
void val (const TSLWPSSupportedCRSsType &content)
 
void * operator new (size_t size)
 
void * operator new (size_t size, char *filename, int line)
 

Constructor & Destructor Documentation

◆ TSLWPSOutputFormChoice() [1/3]

TSLWPSOutputFormChoice::TSLWPSOutputFormChoice ( const TSLWPSSupportedComplexDataType & content)

Constructs an output form choice as a TSLWPSSupportedComplexDataType.

Parameters
contentConst reference to the supported complex data type.

◆ TSLWPSOutputFormChoice() [2/3]

TSLWPSOutputFormChoice::TSLWPSOutputFormChoice ( const TSLWPSLiteralOutputType & content)

Constructs an output form choice as a TSLWPSLiteralOutputType.

Parameters
contentConst reference to the supported literal output type.

◆ TSLWPSOutputFormChoice() [3/3]

TSLWPSOutputFormChoice::TSLWPSOutputFormChoice ( const TSLWPSSupportedCRSsType & content)

Constructs an output form choice as a TSLWPSSupportedCRSsType.

Parameters
contentConst reference to the supported CRSs type.

Member Function Documentation

◆ destroy()

void TSLWPSOutputFormChoice::destroy ( )

Used to delete this object

◆ operator new() [1/2]

void * TSLWPSOutputFormChoice::operator new ( size_t size)

◆ operator new() [2/2]

void * TSLWPSOutputFormChoice::operator new ( size_t size,
char * filename,
int line )

When included in an MFC applicaton in debug mode, the debug new expects this to be here. Override it and return the same as the normal one. The library must include it when compiled in release mode, since the users application may be in debug mode.

◆ type()

TSLWPSOutputFormChoiceType TSLWPSOutputFormChoice::type ( ) const

Returns the type of the output form choice. This indicates which property of the "union" is currently set.

◆ val() [1/3]

void TSLWPSOutputFormChoice::val ( const TSLWPSLiteralOutputType & content)

Sets the literal output type of the union. This will clear either of the other input choices if they are currently set.

Parameters
contentReference to the literal output type to set.

◆ val() [2/3]

void TSLWPSOutputFormChoice::val ( const TSLWPSSupportedComplexDataType & content)

Sets the supported complex data type of the union. This will clear either of the other input choices if they are currently set.

Parameters
contentReference to the supported complex data type to set.

◆ val() [3/3]

void TSLWPSOutputFormChoice::val ( const TSLWPSSupportedCRSsType & content)

Sets the supported CRSs type of the union. This will clear either of the other input choices if they are currently set.

Parameters
contentReference to the supported CRSs type to set.

◆ valAsBoundingBoxData()

const TSLWPSSupportedCRSsType * TSLWPSOutputFormChoice::valAsBoundingBoxData ( ) const

Returns the supported CRSs type of the union. If none has been set this method returns 0.

◆ valAsComplexData()

const TSLWPSSupportedComplexDataType * TSLWPSOutputFormChoice::valAsComplexData ( ) const

Returns the supported complex data type of the union. If none has been set this method returns 0.

◆ valAsLiteralData()

const TSLWPSLiteralOutputType * TSLWPSOutputFormChoice::valAsLiteralData ( ) const

Returns the literal output type of the union. If none has been set this method returns 0.