FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp Class Reference

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::Commands::UnitOfMeasure::OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReader.

Inheritance diagram for OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp:

[legend]
List of all members.

Detailed Description

The IMeasureUnitReaderImp class is a concrete implementation of IMeasureUnitReader. The IMeasureUnitReader interface provides forward-only, read-only functionality for enumerating measurement units. A reference to an IMeasureUnitReader interface is returned from the GetMeasureUnits command. The initial position of the IMeasureUnitReader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.


Public Member Functions

System::Void Close ()
 Closes the IMeasureUnitReader object, freeing any resources it may be holding.
System::String * GetAbbreviation ()
 Gets the abbreviation of the measure unit currently being read.
OSGeo::FDO::Commands::UnitOfMeasure::BaseUnit GetBaseUnit ()
 Gets the base unit of the measure unit currently being read.
System::String * GetDescription ()
 Gets the description of the measure unit currently being read.
System::String * GetName ()
 Gets the name of the measure unit currently being read.
System::Double GetScaleFactor ()
 Gets the scale factor of the measure unit currently being read.
System::Boolean ReadNext ()
 Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

System::Void OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::Close  ) 
 

Closes the IMeasureUnitReader object, freeing any resources it may be holding.

Returns:
Returns nothing

System::String* OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::GetAbbreviation  ) 
 

Gets the abbreviation of the measure unit currently being read.

Returns:
Returns the abbreviation of the measure unit

OSGeo ::FDO ::Commands ::UnitOfMeasure ::BaseUnit OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::GetBaseUnit  ) 
 

Gets the base unit of the measure unit currently being read.

Returns:
Returns the base unit

System::String* OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::GetDescription  ) 
 

Gets the description of the measure unit currently being read.

Returns:
Returns the description of the measure unit

System::String* OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::GetName  ) 
 

Gets the name of the measure unit currently being read.

Returns:
Returns the name of the measure unit

System::Double OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::GetScaleFactor  ) 
 

Gets the scale factor of the measure unit currently being read.

Returns:
Returns the scale factor of the measure unit

System::Boolean OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::ReadNext  ) 
 

Advances the reader to the next item. The default position of the reader is prior to the first item. Thus, you must call ReadNext to begin accessing any data.

Returns:
Returns true if there is a next item

System::Void OSGeo::FDO::Commands::UnitOfMeasure::IMeasureUnitReaderImp::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.


Comments or suggestions? Send us feedback.