ARCIMS "Service" element. More...
#include <soa/arcimsserviceinfo.h>
Public Types | |
| enum | MAPUNITS { MAPUNIT_DecimalDegrees, MAPUNIT_Feet, MAPUNIT_Meters } |
Public Member Functions | |
| SERVICEINFO () | |
| void | AddRef () |
| const LAYER * | FindLayerByID (const MISTRING &id) const |
| const LAYER * | FindLayerByName (const MISTRING &name) const |
| double | GetDPI () const |
| const SPATREF::COORDREFSYS & | GetFeatureCRS () const |
| const SPATREF::COORDREFSYS & | GetFilterCRS () const |
| const DRECT2D & | GetInitialExtent () const |
| const LAYERLIST & | GetLayers () const |
| MAPUNITS | GetMapUnit () const |
| UINT32 | GetMaxPixels () const |
| const MISTRING & | GetTitle () const |
| const MISTRING & | GetURL () const |
| const XMLDOC & | GetXML () const |
| void | Release () |
| void | SetURL (const MISTRING &url) |
| ERRVALUE | SetXML (XMLDOC *xmldoc) |
ARCIMS "Service" element.
| SOA::ARCIMS::SERVICEINFO::SERVICEINFO | ( | ) |
Constructor.
| void SOA::ARCIMS::SERVICEINFO::AddRef | ( | ) | [inline] |
Increment reference count.
Find a layer given its id.
Retuns nll if no such layer found.
Find a layer given its name.
Retuns nll if no such layer found.
| double SOA::ARCIMS::SERVICEINFO::GetDPI | ( | ) | const [inline] |
Get the default DPI used in minscale/maxscale computations.
| const SPATREF::COORDREFSYS& SOA::ARCIMS::SERVICEINFO::GetFeatureCRS | ( | ) | const [inline] |
Get the CRS used for reporting features and extents.
| const SPATREF::COORDREFSYS& SOA::ARCIMS::SERVICEINFO::GetFilterCRS | ( | ) | const [inline] |
Get the default CRS to be used sending a query to the server.
This is usually the same as the Feature CRS, but not always.
| const DRECT2D& SOA::ARCIMS::SERVICEINFO::GetInitialExtent | ( | ) | const [inline] |
Get the initial extents envelope rectangle.
Note, this may or may not be the extents of the full set of data. It's only supposed to be used as a good default initial extents for viewing the data.
| const LAYERLIST& SOA::ARCIMS::SERVICEINFO::GetLayers | ( | ) | const [inline] |
Get the list of layers available on the server.
| MAPUNITS SOA::ARCIMS::SERVICEINFO::GetMapUnit | ( | ) | const [inline] |
Get the units used in coordinates and minscale/maxscale calculations.
| UINT32 SOA::ARCIMS::SERVICEINFO::GetMaxPixels | ( | ) | const [inline] |
Get maximum image size in pixels (height x width).
| const MISTRING& SOA::ARCIMS::SERVICEINFO::GetTitle | ( | ) | const [inline] |
Get Title.
| const MISTRING& SOA::ARCIMS::SERVICEINFO::GetURL | ( | ) | const [inline] |
Get online resource.
| const XMLDOC& SOA::ARCIMS::SERVICEINFO::GetXML | ( | ) | const [inline] |
Get the XML document of the SERVCEINFO reply.
| void SOA::ARCIMS::SERVICEINFO::Release | ( | ) | [inline] |
Decrement reference count, destroy if no more references.
| void SOA::ARCIMS::SERVICEINFO::SetURL | ( | const MISTRING & | url | ) |
Set the URL of the service.
Set the XML of the SERVICEINFO reply.
The SERVICEINFO "owns" the document after this and will free it later
1.6.1