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

Detailed Description

This abstract class represents data within a context document, either inline with TSLOWCInlineContent or remotely (via URL) with TSLOWCRemoteContent.

Public Types

enum  ContentTypeEnum { Inline , Remote }
 

Public Member Functions

void destroy ()
 
const char * mimeType () const
 
int type () const
 

Protected Member Functions

 TSLOWCContent (const char *mimeType)
 
 ~TSLOWCContent ()
 

Member Enumeration Documentation

◆ ContentTypeEnum

This enumeration defines the available types of content that can be referenced by a context document.

Enumerator
Inline 

The content is a TSLOWSInlineContent.

Remote 

The content is a TSLOWSRemoteContent.

Constructor & Destructor Documentation

◆ TSLOWCContent()

TSLOWCContent::TSLOWCContent ( const char * mimeType)
protected

◆ ~TSLOWCContent()

TSLOWCContent::~TSLOWCContent ( )
protected

Member Function Documentation

◆ destroy()

void TSLOWCContent::destroy ( )

Destroy method for content objects. This should be called rather than deleting the object as the calls are redirected internally to MapLink.

◆ mimeType()

const char * TSLOWCContent::mimeType ( ) const

Returns the MIME type of the content represented by this object.

◆ type()

int TSLOWCContent::type ( ) const

Returns the type of this content object. Positive values are reserved for entries from the ContentTypeEnum to indicate built-in offering types. Negative values can be used for plugin implemented offering types.