SOA::ARCIMS::LAYER Class Reference

The LAYER_INFO from an ArcIMS GET_SERVICE_INFO request. More...

#include <soa/arcimsserviceinfo.h>

List of all members.

Public Types

enum  TYPE {
  TYPE_PointFeature, TYPE_LineFeature, TYPE_PolygonFeature, TYPE_Image,
  TYPE_Acetate
}

Public Member Functions

 LAYER ()
 ~LAYER ()
ERRVALUE ComputeSubRegion (const SPATREF::COORDREFSYS &CoordRefSys, SUBREGION2D &SubRegion) const
const DRECT2DGetBoundingBox () const
const MISTRINGGetID () const
double GetMaxScale () const
double GetMaxScaleDenominator () const
double GetMinScale () const
double GetMinScaleDenominator () const
const MISTRINGGetName () const
TYPE GetType () const
bool HasMaxScale () const
bool HasMinScale () const
bool IsVisible () const
ERRVALUE ParseXML (SERVICEINFO *pParent, const XMLNODE *xmlnode)

Detailed Description

The LAYER_INFO from an ArcIMS GET_SERVICE_INFO request.


Member Enumeration Documentation

Enumerator:
TYPE_PointFeature 
TYPE_LineFeature 
TYPE_PolygonFeature 
TYPE_Image 
TYPE_Acetate 

Constructor & Destructor Documentation

SOA::ARCIMS::LAYER::LAYER (  ) 

Constructor.

SOA::ARCIMS::LAYER::~LAYER (  ) 

Destructor.


Member Function Documentation

ERRVALUE SOA::ARCIMS::LAYER::ComputeSubRegion ( const SPATREF::COORDREFSYS CoordRefSys,
SUBREGION2D SubRegion 
) const

Compute subregion for this layer in specified CRS.

const DRECT2D& SOA::ARCIMS::LAYER::GetBoundingBox (  )  const

Get the bounding box for the layer.

The bounding box is in the CRS of the service.

const MISTRING& SOA::ARCIMS::LAYER::GetID (  )  const [inline]

Get Layer ID.

The Layer ID is not meant to be shown to the user.

double SOA::ARCIMS::LAYER::GetMaxScale (  )  const [inline]

Get maximum scale in meters/pixel.

ArcIMS gives scales in different units depending on the CRS used. For this method, it's always converted to meters/pixel.

double SOA::ARCIMS::LAYER::GetMaxScaleDenominator (  )  const

Get the maximum scale denominator.

double SOA::ARCIMS::LAYER::GetMinScale (  )  const [inline]

Get minimum scale in meters/pixel ArcIMS gives scales in different units depending on the CRS used.

For this method, it's always converted to meters/pixel.

double SOA::ARCIMS::LAYER::GetMinScaleDenominator (  )  const

Get the minimum scale denominator.

const MISTRING& SOA::ARCIMS::LAYER::GetName (  )  const [inline]

Get Name.

TYPE SOA::ARCIMS::LAYER::GetType (  )  const [inline]

Get the layer type.

bool SOA::ARCIMS::LAYER::HasMaxScale (  )  const [inline]

Return whether or not the layer has a MaxScale.

bool SOA::ARCIMS::LAYER::HasMinScale (  )  const [inline]

Return whether or not the layer has a MinScale.

bool SOA::ARCIMS::LAYER::IsVisible (  )  const [inline]

Return the default visibillity of the layer.

ERRVALUE SOA::ARCIMS::LAYER::ParseXML ( SERVICEINFO pParent,
const XMLNODE xmlnode 
)

Parse values from XMLNODE.


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