C# 클래스 FdoToolbox.Core.Feature.FdoFeatureTable

A FDO-friendly DataTable
상속: System.Data.DataTable, IEnumerable
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

Private Properties

프로퍼티 타입 설명
InitClass void
InitVars void

공개 메소드들

메소드 설명
AddRow ( FdoFeature feature ) : void

Adds a row (feature) to this table

AddSpatialContext ( SpatialContextInfo ctx ) : void

Adds a spatial context.

Clone ( ) : FdoFeatureTable

Clones this table

Contains ( RTree.Rectangle r ) : FdoToolbox.Core.Feature.FdoFeature[]

Returns a list of features that contains the specified rectangle.

CreateClassDefinition ( bool createAutoGeneratedId ) : ClassDefinition

Creates a ClassDefinition from this instance

FdoFeatureTable ( ) : System

Initializes a new instance of the FdoFeatureTable class.

FdoFeatureTable ( DataTable table ) : System

Initializes a new instance of the FdoFeatureTable class.

GetEnumerator ( ) : IEnumerator

Returns an enumerator for enumerating that rows of this table

GetFeaturesNear ( Point pt, float distance ) : FdoToolbox.Core.Feature.FdoFeature[]

Returns a list of features near the specified point

GetSpatialContext ( string name ) : SpatialContextInfo

Gets a spatial context by name

InitTable ( IFdoReader reader, ClassDefinition origClass, bool ignorePk ) : void

Initializes the table from a reader

Intersects ( RTree.Rectangle r ) : FdoToolbox.Core.Feature.FdoFeature[]

Returns a list of features that intersect with the specified rectangle.

NewRow ( ) : FdoFeature

Creates a new feature with the same schema as the table

RemoveRow ( FdoFeature row ) : void

Removes the row (feature) from the table

this ( int index ) : FdoFeature

Gets the row (feature) at the specified index

보호된 메소드들

메소드 설명
CreateInstance ( ) : DataTable

Creates a new instance

GetRowType ( ) : Type

Gets the row type

NewRowFromBuilder ( DataRowBuilder builder ) : DataRow

Creates a new Feature with the same schema as the table based on a DataRow builder

OnRowChanged ( DataRowChangeEventArgs e ) : void

Raises feature changed

OnRowChanging ( DataRowChangeEventArgs e ) : void

Raises feature changing

OnRowDeleted ( DataRowChangeEventArgs e ) : void

Raises feature deleted

OnRowDeleting ( DataRowChangeEventArgs e ) : void

Raises feature deleting

비공개 메소드들

메소드 설명
InitClass ( ) : void
InitVars ( ) : void

메소드 상세

AddRow() 공개 메소드

Adds a row (feature) to this table
public AddRow ( FdoFeature feature ) : void
feature FdoFeature
리턴 void

AddSpatialContext() 공개 메소드

Adds a spatial context.
public AddSpatialContext ( SpatialContextInfo ctx ) : void
ctx SpatialContextInfo The context.
리턴 void

Clone() 공개 메소드

Clones this table
public Clone ( ) : FdoFeatureTable
리턴 FdoFeatureTable

Contains() 공개 메소드

Returns a list of features that contains the specified rectangle.
public Contains ( RTree.Rectangle r ) : FdoToolbox.Core.Feature.FdoFeature[]
r RTree.Rectangle The r.
리턴 FdoToolbox.Core.Feature.FdoFeature[]

CreateClassDefinition() 공개 메소드

Creates a ClassDefinition from this instance
public CreateClassDefinition ( bool createAutoGeneratedId ) : ClassDefinition
createAutoGeneratedId bool If true, will add an auto-generated id property to this class definition
리턴 ClassDefinition

CreateInstance() 보호된 메소드

Creates a new instance
protected CreateInstance ( ) : DataTable
리턴 System.Data.DataTable

FdoFeatureTable() 공개 메소드

Initializes a new instance of the FdoFeatureTable class.
public FdoFeatureTable ( ) : System
리턴 System

FdoFeatureTable() 공개 메소드

Initializes a new instance of the FdoFeatureTable class.
public FdoFeatureTable ( DataTable table ) : System
table System.Data.DataTable The table.
리턴 System

GetEnumerator() 공개 메소드

Returns an enumerator for enumerating that rows of this table
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetFeaturesNear() 공개 메소드

Returns a list of features near the specified point
public GetFeaturesNear ( Point pt, float distance ) : FdoToolbox.Core.Feature.FdoFeature[]
pt Point The point.
distance float The distance.
리턴 FdoToolbox.Core.Feature.FdoFeature[]

GetRowType() 보호된 메소드

Gets the row type
protected GetRowType ( ) : Type
리턴 System.Type

GetSpatialContext() 공개 메소드

Gets a spatial context by name
public GetSpatialContext ( string name ) : SpatialContextInfo
name string The name.
리턴 SpatialContextInfo

InitTable() 공개 메소드

Initializes the table from a reader
public InitTable ( IFdoReader reader, ClassDefinition origClass, bool ignorePk ) : void
reader IFdoReader The reader.
origClass ClassDefinition The original class definition
ignorePk bool If true, will not convert the identity properties of the class definition to primary keys
리턴 void

Intersects() 공개 메소드

Returns a list of features that intersect with the specified rectangle.
public Intersects ( RTree.Rectangle r ) : FdoToolbox.Core.Feature.FdoFeature[]
r RTree.Rectangle The intersection rectangle.
리턴 FdoToolbox.Core.Feature.FdoFeature[]

NewRow() 공개 메소드

Creates a new feature with the same schema as the table
public NewRow ( ) : FdoFeature
리턴 FdoFeature

NewRowFromBuilder() 보호된 메소드

Creates a new Feature with the same schema as the table based on a DataRow builder
protected NewRowFromBuilder ( DataRowBuilder builder ) : DataRow
builder System.Data.DataRowBuilder
리턴 System.Data.DataRow

OnRowChanged() 보호된 메소드

Raises feature changed
protected OnRowChanged ( DataRowChangeEventArgs e ) : void
e System.Data.DataRowChangeEventArgs
리턴 void

OnRowChanging() 보호된 메소드

Raises feature changing
protected OnRowChanging ( DataRowChangeEventArgs e ) : void
e System.Data.DataRowChangeEventArgs
리턴 void

OnRowDeleted() 보호된 메소드

Raises feature deleted
protected OnRowDeleted ( DataRowChangeEventArgs e ) : void
e System.Data.DataRowChangeEventArgs
리턴 void

OnRowDeleting() 보호된 메소드

Raises feature deleting
protected OnRowDeleting ( DataRowChangeEventArgs e ) : void
e System.Data.DataRowChangeEventArgs
리턴 void

RemoveRow() 공개 메소드

Removes the row (feature) from the table
public RemoveRow ( FdoFeature row ) : void
row FdoFeature
리턴 void

this() 공개 메소드

Gets the row (feature) at the specified index
public this ( int index ) : FdoFeature
index int
리턴 FdoFeature