Class FeatureReaderBase
Base implementation of the IFeatureReader interface
Implements
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Feature
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public abstract class FeatureReaderBase : ReaderBase, IFeatureReader, IReader, IDisposable, IFeature, IRecord, IEnumerable<IFeature>, IEnumerable
Properties
| Improve this Doc View SourceClassDefinition
Gets the class definition of the object currently being read. If the user has requested only a subset of the class properties (as specified in the filter text), the class definition reflects what the user has requested, rather than the full class definition.
Declaration
public ClassDefinition ClassDefinition { get; protected set; }
Property Value
Type | Description |
---|---|
ClassDefinition |
ReaderType
Gets the type of the reader.
Declaration
public override ReaderType ReaderType { get; }
Property Value
Type | Description |
---|---|
ReaderType | The type of the reader. |
Overrides
Methods
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<IFeature> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IFeature> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
GetFeatureObject(Int32)
Gets a IFeatureReader containing all the nested features at the specified index
Declaration
public IFeatureReader GetFeatureObject(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
IFeatureReader |
GetFeatureObject(String)
Gets a IFeatureReader containing all the nested features of the specified property
Declaration
public IFeatureReader GetFeatureObject(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
IFeatureReader |
GetFieldType(Int32)
Gets the CLR type of the field at the specified index
Declaration
public override Type GetFieldType(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i |
Returns
Type | Description |
---|---|
System.Type |
Overrides
| Improve this Doc View SourceGetName(Int32)
Gets the name of the field at the specified index
Declaration
public override string GetName(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceReadNextFeature()
Reads the next feature.
Declaration
protected abstract IFeature ReadNextFeature()
Returns
Type | Description |
---|---|
IFeature |
ReadNextRecord()
Reads the next record.
Declaration
protected override IRecord ReadNextRecord()
Returns
Type | Description |
---|---|
IRecord |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |