Search Results for

    Show / Hide Table of Contents

    Class EsentShapeGeometryCursor

    Inheritance
    System.Object
    EsentCursor
    EsentShapeGeometryCursor
    Implements
    System.IDisposable
    Inherited Members
    EsentCursor.TransactionBatchSize
    EsentCursor.Instance
    EsentCursor.Sesid
    EsentCursor.DbId
    EsentCursor.Table
    EsentCursor.Model
    EsentCursor.GlobalsTable
    EsentCursor.GlobalsTableName
    EsentCursor.EntityCountColumnName
    EsentCursor.GeometryCountColumnName
    EsentCursor.FlushColumnName
    EsentCursor.EntityCountColumn
    EsentCursor.GeometryCountColumn
    EsentCursor.FlushColumn
    EsentCursor.IfcHeaderColumn
    EsentCursor.VersionColumnName
    EsentCursor.Version
    EsentCursor.Session
    EsentCursor.LockObject
    EsentCursor.ReadOnly
    EsentCursor.CreateGlobalsTable(JET_SESID, JET_DBID)
    EsentCursor.BeginLazyTransaction()
    EsentCursor.BeginReadOnlyTransaction()
    EsentCursor.Dispose(Boolean)
    EsentCursor.Dispose()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.IO.Esent
    Assembly: Xbim.IO.Esent.dll
    Syntax
    public class EsentShapeGeometryCursor : EsentCursor, IDisposable

    Constructors

    | Improve this Doc View Source

    EsentShapeGeometryCursor(EsentModel, String)

    Declaration
    public EsentShapeGeometryCursor(EsentModel model, string database)
    Parameters
    Type Name Description
    EsentModel model
    System.String database
    | Improve this Doc View Source

    EsentShapeGeometryCursor(EsentModel, String, OpenDatabaseGrbit)

    Declaration
    public EsentShapeGeometryCursor(EsentModel model, string database, OpenDatabaseGrbit mode)
    Parameters
    Type Name Description
    EsentModel model
    System.String database
    Microsoft.Isam.Esent.Interop.OpenDatabaseGrbit mode

    Fields

    | Improve this Doc View Source

    GeometryTableName

    shape geometry table name

    Declaration
    public static string GeometryTableName
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AddGeometry(IXbimShapeGeometryData)

    Declaration
    public int AddGeometry(IXbimShapeGeometryData shapeGeom)
    Parameters
    Type Name Description
    IXbimShapeGeometryData shapeGeom
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetCost()

    returns the cost for the current record, assume that TryMoveFirstReferenceCounter has been called

    Declaration
    public int GetCost()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetReferenceCount()

    returns the reference count for the current record, assume that TryMoveFirstReferenceCounter has been called

    Declaration
    public int GetReferenceCount()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetReferenceCount(Int32)

    fast retrieval of the reference counf for this geometry

    Declaration
    public int GetReferenceCount(int shapeGeometryLabel)
    Parameters
    Type Name Description
    System.Int32 shapeGeometryLabel
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetShapeGeometryLabel()

    returns the geometry label for the current record, assume that the current index has been set to primary

    Declaration
    public int GetShapeGeometryLabel()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    TryGetShapeGeometry(Int32, ref IXbimShapeGeometryData)

    Returns the shape geometry for the specified label if it exists

    Declaration
    public bool TryGetShapeGeometry(int shapeGeometryLabel, ref IXbimShapeGeometryData sg)
    Parameters
    Type Name Description
    System.Int32 shapeGeometryLabel
    IXbimShapeGeometryData sg
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryMoveFirstReferenceCounter()

    Moves to the first Shape Geometry and sets the index to the reference counter index

    Declaration
    public bool TryMoveFirstReferenceCounter()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryMoveFirstRegion(ref IXbimShapeGeometryData)

    Declaration
    public bool TryMoveFirstRegion(ref IXbimShapeGeometryData sg)
    Parameters
    Type Name Description
    IXbimShapeGeometryData sg
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryMoveFirstShapeGeometry(ref IXbimShapeGeometryData)

    Seeks and returns the first shape geometry

    Declaration
    public bool TryMoveFirstShapeGeometry(ref IXbimShapeGeometryData sg)
    Parameters
    Type Name Description
    IXbimShapeGeometryData sg
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryMoveNextReferenceCounter()

    Moves to the next shape geometry assumes TryMoveFirstReferenceCounter has been called

    Declaration
    public bool TryMoveNextReferenceCounter()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TryMoveNextShapeGeometry(ref IXbimShapeGeometryData)

    Returns the next Shape geometry after a move or a seek call

    Declaration
    public bool TryMoveNextShapeGeometry(ref IXbimShapeGeometryData sg)
    Parameters
    Type Name Description
    IXbimShapeGeometryData sg
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    UpdateCount(Int32)

    Update the count of geometry entities in the globals table. This is done with EscrowUpdate so that there won't be any write conflicts.

    Declaration
    protected override void UpdateCount(int delta)
    Parameters
    Type Name Description
    System.Int32 delta

    The delta to apply to the count.

    Overrides
    EsentCursor.UpdateCount(Int32)
    | Improve this Doc View Source

    UpdateReferenceCount(Int32, Int32)

    Declaration
    public void UpdateReferenceCount(int geomLabel, int refCount)
    Parameters
    Type Name Description
    System.Int32 geomLabel
    System.Int32 refCount

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim