Main Page | Namespace List | Class Hierarchy | Class List | Class Members

MQClientInterface::Feature Class Reference

Inheritance diagram for MQClientInterface::Feature:

MQClientInterface::MQObject MQClientInterface::LineFeature MQClientInterface::PointFeature MQClientInterface::PolygonFeature List of all members.

Public Member Functions

 Feature ()
 Feature (Feature copy)
override void Init ()
virtual double GetDistance (DistanceUnits du)
virtual void SetDistance (double dist, DistanceUnits du)
override bool Equals (System.Object obj)
bool Equals (Feature otherObject)
override int GetHashCode ()

Static Public Member Functions

static bool operator== (Feature obj1, Feature obj2)
static bool operator!= (Feature obj1, Feature obj2)

Properties

virtual System.String Key
virtual System.String Name
virtual int DT
virtual long GEFID
virtual System.String SourceLayerName
virtual double Distance

Detailed Description

An abstract parent class for objects which refer to map features.
See also:
DistanceUnits


Constructor & Destructor Documentation

MQClientInterface::Feature::Feature  )  [inline]
 

Default Constructor.

MQClientInterface::Feature::Feature Feature  copy  )  [inline]
 

Copy Constructor.

Parameters:
copy Object to copy


Member Function Documentation

bool MQClientInterface::Feature::Equals Feature  otherObject  )  [inline]
 

Equals(type)

Parameters:
otherObject the object to compare this Feature against.
Returns:
true if the Feature objects are equal; false otherwise.

override bool MQClientInterface::Feature::Equals System.Object  obj  )  [inline]
 

Equals(object)

Parameters:
obj the object to compare this Feature against.
Returns:
true if the Feature objects are equal; false otherwise.

Reimplemented from MQClientInterface::MQObject.

Reimplemented in MQClientInterface::LineFeature, MQClientInterface::PointFeature, and MQClientInterface::PolygonFeature.

virtual double MQClientInterface::Feature::GetDistance DistanceUnits  du  )  [inline, virtual]
 

Returns the distance from the center of a radius search

Parameters:
du DistanceUnits Miles or KiloMeters
Returns:
the distance from the center of a radius search.

override int MQClientInterface::Feature::GetHashCode  )  [inline]
 

Returns a hash code for this Feature.

Returns:
a hash code value for this Feature.

Reimplemented from MQClientInterface::MQObject.

Reimplemented in MQClientInterface::LineFeature, MQClientInterface::PointFeature, and MQClientInterface::PolygonFeature.

override void MQClientInterface::Feature::Init  )  [inline, virtual]
 

Initializes the object.

Reimplemented from MQClientInterface::MQObject.

Reimplemented in MQClientInterface::LineFeature, MQClientInterface::PointFeature, and MQClientInterface::PolygonFeature.

static bool MQClientInterface::Feature::operator!= Feature  obj1,
Feature  obj2
[inline, static]
 

Inequality operator

Parameters:
obj1 Feature 1 to compare
obj2 Feature 2 to compare

static bool MQClientInterface::Feature::operator== Feature  obj1,
Feature  obj2
[inline, static]
 

Equality operator

Parameters:
obj1 Feature 1 to compare
obj2 Feature 2 to compare

virtual void MQClientInterface::Feature::SetDistance double  dist,
DistanceUnits  du
[inline, virtual]
 

Sets the distance from the center of a radius search

Parameters:
dist The distance from the center of a radius search
du DistanceUnits Miles or KiloMeters


Property Documentation

virtual double MQClientInterface::Feature::Distance [get, set]
 

Distance property. The distance from the center of a radius search in Miles.

virtual int MQClientInterface::Feature::DT [get, set]
 

Display type property.

virtual long MQClientInterface::Feature::GEFID [get, set]
 

GEF ID property. Unique identifier.

virtual System.String MQClientInterface::Feature::Key [get, set]
 

Key property. The key is a unique identifier for this Feature which is used for a database table key.

virtual System.String MQClientInterface::Feature::Name [get, set]
 

Name property.

virtual System.String MQClientInterface::Feature::SourceLayerName [get, set]
 

Source layer name property. This is the name of the source layer from which this Feature was extracted (used only when the feature is returned from a search).


The documentation for this class was generated from the following file:
Generated on Wed Oct 10 22:12:31 2007 for MapQuest Advantage .NET(C#) API Reference by  doxygen 1.4.1