SOA::ARCIMS::SERVICEINFO Class Reference

ARCIMS "Service" element. More...

#include <soa/arcimsserviceinfo.h>

List of all members.

Public Types

enum  MAPUNITS { MAPUNIT_DecimalDegrees, MAPUNIT_Feet, MAPUNIT_Meters }

Public Member Functions

 SERVICEINFO ()
void AddRef ()
const LAYERFindLayerByID (const MISTRING &id) const
const LAYERFindLayerByName (const MISTRING &name) const
double GetDPI () const
const SPATREF::COORDREFSYSGetFeatureCRS () const
const SPATREF::COORDREFSYSGetFilterCRS () const
const DRECT2DGetInitialExtent () const
const LAYERLISTGetLayers () const
MAPUNITS GetMapUnit () const
UINT32 GetMaxPixels () const
const MISTRINGGetTitle () const
const MISTRINGGetURL () const
const XMLDOCGetXML () const
void Release ()
void SetURL (const MISTRING &url)
ERRVALUE SetXML (XMLDOC *xmldoc)

Detailed Description

ARCIMS "Service" element.


Member Enumeration Documentation

The units of extents, features, etc.

Enumerator:
MAPUNIT_DecimalDegrees 
MAPUNIT_Feet 
MAPUNIT_Meters 

Constructor & Destructor Documentation

SOA::ARCIMS::SERVICEINFO::SERVICEINFO (  ) 

Constructor.


Member Function Documentation

void SOA::ARCIMS::SERVICEINFO::AddRef (  )  [inline]

Increment reference count.

const LAYER* SOA::ARCIMS::SERVICEINFO::FindLayerByID ( const MISTRING id  )  const

Find a layer given its id.

Retuns nll if no such layer found.

const LAYER* SOA::ARCIMS::SERVICEINFO::FindLayerByName ( const MISTRING name  )  const

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.

ERRVALUE SOA::ARCIMS::SERVICEINFO::SetXML ( XMLDOC xmldoc  ) 

Set the XML of the SERVICEINFO reply.

The SERVICEINFO "owns" the document after this and will free it later


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:39:21 2012 for TNTsdk 2012 by  doxygen 1.6.1