![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents data held externally to the context document that is referenced by the document by URL.
Public Member Functions | |
TSLOWCRemoteContent (const char *url, const char *mimeType, const char *title) | |
TSLOWCInlineContent * | fetchContent (TSLFileLoaderRemote *loader=NULL) const |
const char * | title () const |
const char * | url () const |
void * | operator new (size_t size) TSL_NO_THROW |
void * | operator new (size_t size, char *filename, int line) |
![]() | |
void | destroy () |
const char * | mimeType () const |
int | type () const |
Additional Inherited Members | |
![]() | |
enum | ContentTypeEnum { Inline , Remote } |
![]() | |
TSLOWCContent (const char *mimeType) | |
~TSLOWCContent () | |
TSLOWCRemoteContent::TSLOWCRemoteContent | ( | const char * | url, |
const char * | mimeType, | ||
const char * | title ) |
Creates a new content object that references data held externally to a context document or resource.
url | The URL of the resource. |
mimeType | The MIME type of the data pointed to by the URL. |
title | A human readable description of what this content represents. |
TSLOWCInlineContent * TSLOWCRemoteContent::fetchContent | ( | TSLFileLoaderRemote * | loader = NULL | ) | const |
Fetches the data referenced by the URL and returns it as a new inline content object. The caller assumes ownership of the returned object.
loader | An optional remote loader to use to fetch the data. This can be used to handle retrieval from servers that require authentication by configuring a TSLRemoteAuthenticationCallback on the given loader. If no loader is provided a default one will be used. |
void * TSLOWCRemoteContent::operator new | ( | size_t | size | ) |
void * TSLOWCRemoteContent::operator new | ( | size_t | size, |
char * | filename, | ||
int | line ) |
When included in an MFC application 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 user's application may be in debug mode.
const char * TSLOWCRemoteContent::title | ( | ) | const |
Returns a human-readable description of the content referenced by the URL.
const char * TSLOWCRemoteContent::url | ( | ) | const |
Returns the URL where the data for this content object can be retrieved from.