MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLOWCRasterOffering Class Reference
Inheritance diagram for TSLOWCRasterOffering:

Public Member Functions

 TSLOWCRasterOffering ()
 
virtual ~TSLOWCRasterOffering ()
 
virtual TSLOWCOffering::OfferingTypeEnum type () const
 
virtual TSLOWCOfferingcreate ()
 
virtual bool dataExtent (TSLEnvelope &extent, TSLCoordinateSystem *&coordinateSystem) const
 
virtual void freeMemory (char *ptr)
 
virtual bool readExtensionData (const char *data, unsigned int dataSize)
 
virtual bool readOperation (TSLOWCOperation *operation)
 
virtual bool readInlineContent (TSLOWCContent *content)
 
virtual TSLDataLayerListvisualizeOffering (const TSLOWSContext *context, const TSLCoordinateSystem *coordSys) const
 
virtual TSLOWSOperationList * writeOperations (TSLOWSContext::FormatEnum format)
 
- Public Member Functions inherited from TSLOWCOffering
 TSLOWCOffering ()
 
virtual ~TSLOWCOffering ()
 
virtual unsigned int numStyles () const
 
virtual const TSLOWCStylestyle (unsigned int index) const
 
virtual void addStyle (TSLOWCStyle *style)
 
virtual bool activeStyle (unsigned int index)
 
virtual unsigned int activeStyle () const
 
virtual void clearStyles ()
 
virtual char * writeExtensionData (TSLOWSContext::FormatEnum format, unsigned int &length)
 

Additional Inherited Members

- Public Types inherited from TSLOWCOffering
enum  OfferingTypeEnum {
  UnknownOffering , UndefinedOffering , WMSOffering , WMTSOffering ,
  GMLOffering
}
 

Constructor & Destructor Documentation

◆ TSLOWCRasterOffering()

TSLOWCRasterOffering::TSLOWCRasterOffering ( )

◆ ~TSLOWCRasterOffering()

virtual TSLOWCRasterOffering::~TSLOWCRasterOffering ( )
virtual

Member Function Documentation

◆ create()

virtual TSLOWCOffering * TSLOWCRasterOffering::create ( )
virtual

This method should return a new instance of the offering type, initialised to default values.

This method is used by the TSLOWCOfferingRegister when reading context documents to create the appropriate offering class types.

Implements TSLOWCOffering.

◆ dataExtent()

virtual bool TSLOWCRasterOffering::dataExtent ( TSLEnvelope & extent,
TSLCoordinateSystem *& coordinateSystem ) const
virtual

This method will be invoked as part of visualizing a context document through TSLOWSContextVisualizer::visualizeContextDocument().

Implementations should return the full extent of the data the offering represents and the coordinate system that the extent is in.

Parameters
extentThis should be set to the full extent of the data represented by the offering.
coordinateSystemThis should be set to the coordinate system that the extent is defined in. The OWS context SDK will assume ownership of the coordinate system.

Implementations should return true if they have set the extent, or false if they cannot determine the extent of the data.

Implements TSLOWCOffering.

◆ freeMemory()

virtual void TSLOWCRasterOffering::freeMemory ( char * ptr)
virtual

This method will be invoked to delete memory previously returned from write ExtensionData().

Implements TSLOWCOffering.

◆ readExtensionData()

virtual bool TSLOWCRasterOffering::readExtensionData ( const char * data,
unsigned int dataSize )
virtual

This method will be invoked when extension data is present on the offering. The extension data will be passed verbatim to the offering. The default implementation does nothing.

Implementations should return true if they have handled the extension data, or false otherwise.

Reimplemented from TSLOWCOffering.

◆ readInlineContent()

virtual bool TSLOWCRasterOffering::readInlineContent ( TSLOWCContent * content)
virtual

This method will be invoked each time inline content is encountered on the offering. The default implementation does nothing.

Implementations should return true if they have taken ownership of the content object, or false if they have not.

Reimplemented from TSLOWCOffering.

◆ readOperation()

virtual bool TSLOWCRasterOffering::readOperation ( TSLOWCOperation * operation)
virtual

This method will be invoked by the core parser once for each operation present on the offering. The offering should decode the contents of the operation into an easily consumable form.

Implements TSLOWCOffering.

◆ type()

virtual TSLOWCOffering::OfferingTypeEnum TSLOWCRasterOffering::type ( ) const
virtual

Returns the type of offering this represents.

Implements TSLOWCOffering.

◆ visualizeOffering()

virtual TSLDataLayerList * TSLOWCRasterOffering::visualizeOffering ( const TSLOWSContext * context,
const TSLCoordinateSystem * coordSys ) const
virtual

This method will be invoked by the TSLOWSContextVisualizer when visualizin a context document. Implementations should create and return a set of MapLink data layers configured to match the offering.

The OWS context SDK will assume ownership of the returned layer list and the layers contained within it.

Implements TSLOWCOffering.

◆ writeOperations()

virtual TSLOWSOperationList * TSLOWCRasterOffering::writeOperations ( TSLOWSContext::FormatEnum format)
virtual

This method will be invoked when writing a context document. The implementation should return a list of populated TSLOWSOperation classes that represent the offering's operations.

Implements TSLOWCOffering.