Web API Reference MapGuide Open Source

MgResource Class Reference
[MgResource]

Inherits MgNamedSerializable.

Inherited by MgMap, and MgSelection.

Inheritance diagram for MgResource:

Inheritance graph
[legend]
List of all members.

Detailed Description

The abstract base class for all resource types.


Public Member Functions

MgResourceIdentifierGetResourceId ()
 Identifies the resource.
void Open (MgResourceService *resourceService, MgResourceIdentifier *resourceId)
 Opens the resource using the specified resource service and resource identifier.
void Save (MgResourceService *resourceService, MgResourceIdentifier *resourceId)
 Saves the resource using the specified resource service and resource identifier.
void Save (MgResourceService *resourceService)
 Saves the resource using the specified resource service.