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

Detailed Description

Represents a description of an input form. It encodes the InputFormChoice 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

 TSLWPSInputFormChoice (const TSLWPSSupportedComplexDataInputType &content)
 
 TSLWPSInputFormChoice (const TSLWPSLiteralInputType &content)
 
 TSLWPSInputFormChoice (const TSLWPSSupportedCRSsType &content)
 
void destroy ()
 
TSLWPSInputFormChoiceType type () const
 
const TSLWPSSupportedComplexDataInputTypevalAsComplexData () const
 
const TSLWPSLiteralInputTypevalAsLiteralData () const
 
const TSLWPSSupportedCRSsTypevalAsBoundingBoxData () const
 
void val (const TSLWPSSupportedComplexDataInputType &content)
 
void val (const TSLWPSLiteralInputType &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

◆ TSLWPSInputFormChoice() [1/3]

TSLWPSInputFormChoice::TSLWPSInputFormChoice ( const TSLWPSSupportedComplexDataInputType & content)

Constructs an input form choice as a TSLWPSSupportedComplexDataInputType.

Parameters
contentConst reference to the supported complex data input type.

◆ TSLWPSInputFormChoice() [2/3]

TSLWPSInputFormChoice::TSLWPSInputFormChoice ( const TSLWPSLiteralInputType & content)

Constructs an input form choice as a TSLWPSLiteralInputType.

Parameters
contentConst reference to the supported literal input type.

◆ TSLWPSInputFormChoice() [3/3]

TSLWPSInputFormChoice::TSLWPSInputFormChoice ( const TSLWPSSupportedCRSsType & content)

Constructs an input form choice as a TSLWPSSupportedCRSsType.

Parameters
contentConst reference to the supported CRSs type.

Member Function Documentation

◆ destroy()

void TSLWPSInputFormChoice::destroy ( )

Used to delete this object

◆ operator new() [1/2]

void * TSLWPSInputFormChoice::operator new ( size_t size)

◆ operator new() [2/2]

void * TSLWPSInputFormChoice::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()

TSLWPSInputFormChoiceType TSLWPSInputFormChoice::type ( ) const

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

◆ val() [1/3]

void TSLWPSInputFormChoice::val ( const TSLWPSLiteralInputType & content)

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

Parameters
contentReference to the literal input type to set.

◆ val() [2/3]

void TSLWPSInputFormChoice::val ( const TSLWPSSupportedComplexDataInputType & content)

Sets the supported complex data input 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 input type to set.

◆ val() [3/3]

void TSLWPSInputFormChoice::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 * TSLWPSInputFormChoice::valAsBoundingBoxData ( ) const

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

◆ valAsComplexData()

const TSLWPSSupportedComplexDataInputType * TSLWPSInputFormChoice::valAsComplexData ( ) const

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

◆ valAsLiteralData()

const TSLWPSLiteralInputType * TSLWPSInputFormChoice::valAsLiteralData ( ) const

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