The DgnECManager holds the API for applying ECObjects concepts (ECInstances and ECSchemas) to DgnFiles. More...
Modules | |
ECObjects | |
ECObjects is a set of abstractions for working with engineering/business data and metadata. | |
Item Types | |
Item Types provide a simplified way for users and applications to create, manage, and use EC data within DgnFiles. | |
Classes | |
struct | FindInstancesScopeOption |
!FindInstancesScopeOption describes how the scope should be configured when ! we are traversing the elements, models etc. More... | |
struct | FindInstancesScope |
A findinstances scope describes where to look for instances on a call to DgnECManager::FindInstances() More... | |
struct | InstanceCountIterable |
Iterable for returning the number of instances for given classes within the given scope. More... | |
struct | DgnECInstanceHost |
Represents some object which resides in a DgnFile and which can host ECInstances. More... | |
struct | SelectedProperties |
Structure used to defined the properties to populate in a DgnECInstance. More... | |
struct | DgnECInstanceCreateOptions |
Defines the set of options used when querying for DgnECInstances. More... | |
struct | DgnECInstanceCreateContext |
Defines the set of options and the properties to select when querying for DgnECInstances. More... | |
struct | DgnECInstanceEnabler |
Implemented by ECEnablers which expose properties of DgnECInstances. More... | |
struct | DgnECInstance |
DgnInstance is an abstract class that represents an ecinstance which is persisted in the DgnPlatform layer. More... | |
struct | DgnElementECInstance |
DgnElementECInstance is an abstract class DgnElementECInstance represents a DgnECInstance which is hosted on an element, often as an XAttribute. More... | |
struct | DgnECRelationshipEnabler |
DgnECRelationshipEnabler is an abstract class. More... | |
struct | IDgnECRelationshipInstance |
IDgnECRelationshipInstance is an abstract class that supports relating two DgnElementECInstances. More... | |
struct | DgnECInstanceIterable |
! Used to return results from DgnECManager::FindInstances. More... | |
struct | DgnECManager |
DgnECManager handles persistence of ECInstances including CRUD operations for ECN::Instances and EC:RelationshipInstances and "FindElementInstances" operations. More... | |
struct | SchemaInfoExt |
A place to store additional information about the ECSchema in the future, e.g. relevant supplemental ECSchemas. More... | |
struct | SchemaInfo |
Holds descriptive information about an ECSchema, particularly so that it can be examined before the ECSchema is actually loaded. More... | |
struct | RelationshipEntry |
struct | IDgnECRelationshipProvider |
Provides DgnECRelationships between DgnECInstances. More... | |
struct | IDgnECProvider |
Implemented for each "persistence technology" that can persist ECInstances and ECRelationships, e.g. More... | |
struct | IDgnElementECProvider |
Implemented for each "persistence technology" that can persist ECInstances and ECRelationships, e.g. More... | |
struct | DgnECIntrinsicRelationshipProvider |
Support for intrinsic relationship providers that provide relationships from DgnContentRelationshipSchema. More... | |
struct | DgnECExtendedType |
An ECSchema may define an extended type for an ECProperty. More... | |
struct | IDgnECTypeAdapterContext |
struct | IDgnECStandaloneTypeAdapterContext |
A reusable IDgnECTypeAdapterContext. More... | |
struct | IDgnECTypeAdapter |
Provides methods for converting to and from an ECProperty's internal type to a user-friendly representation. More... | |
struct | DgnECUnit |
Describes the units associated with a Dgn-based ECProperty. More... | |
struct | ECInstanceHolderHandler |
Handler for Type 66 elements that contain a single ECInstance. More... | |
struct | SearchClass |
! A search class represents a schema name class name pair that can be used to execute a query ! using DgnECManager ! More... | |
struct | IECPropertyValueFilter |
Accepts or rejects property values. More... | |
struct | ECSubstringPropertyValueFilter |
An IECPropertyValueFilter that accepts or rejects property values that contain a specified sub-string using a case-insensitive comparison. More... | |
struct | ECQuery |
An ECQuery is somewhat analogous to a SQL query and is used with DgnECManager::FindElementInstances to find ECInstances that satisfy the query's 'where' clause. More... | |
struct | QueryRelatedClassSpecifier |
How to specify a relationship. More... | |
struct | WhereExpression |
A WhereExpression evalutes to a value that can be used in a WhereCriterion. More... | |
struct | WhereCriterion |
A WhereCriterion is used in the "where clause" of an ECQuery. More... | |
struct | ECExpressionCriterion |
Typedefs | |
typedef RefCountedPtr < DgnECInstanceEnabler > | DgnECInstanceEnablerPtr |
typedef RefCountedPtr < DgnElementECInstance > | DgnElementECInstancePtr |
typedef RefCountedPtr < IDgnECRelationshipInstance > | IDgnECRelationshipInstancePtr |
typedef bvector < DgnElementECInstancePtr > | DgnElementECInstanceVector |
typedef bvector< DgnECInstancePtr > | DgnECInstanceVector |
typedef bvector < IDgnECRelationshipInstancePtr > | IDgnECRelationshipInstanceVector |
typedef bvector< WString > | T_PropertyNameVector |
typedef RefCountedPtr < SelectedProperties > | SelectedPropertiesPtr |
typedef RefCountedPtr < SchemaInfoExt > | SchemaInfoExtPtr |
typedef bmap < ECN::SchemaNameClassNamePair, bool > | ElementECClassInfo |
typedef bvector < RelationshipEntry > | RelationshipEntryVector |
typedef bmap < ECN::SchemaNameClassNamePair, DgnECInstanceEnablerP > | InstanceEnablersByName |
typedef bmap< ECN::ECClassCP, DgnECInstanceEnablerP > | InstanceEnablersByClass |
typedef RefCountedPtr < IDgnECTypeAdapterContext > | IDgnECTypeAdapterContextPtr |
Supplies the context in which an IDgnECTypeAdapter operates. More... | |
typedef RefCountedPtr < IDgnECStandaloneTypeAdapterContext > | IDgnECStandaloneTypeAdapterContextPtr |
typedef bvector< SearchClass > | SearchClassList |
typedef RefCountedPtr < IECPropertyValueFilter > | IECPropertyValueFilterPtr |
typedef RefCountedPtr < ECSubstringPropertyValueFilter > | ECSubstringPropertyValueFilterPtr |
typedef RefCountedPtr < QueryRelatedClassSpecifier > | QueryRelatedClassSpecifierPtr |
typedef RefCountedPtr < WhereCriterion > | WhereCriterionPtr |
typedef RefCountedPtr < WhereExpression > | WhereExpressionPtr |
typedef RefCountedPtr < WhereCriterion::RelatedInstanceFinder > | WhereCriterionRelatedInstanceFinderPtr |
Functions | |
DgnECHostType | operator| (DgnECHostType a, DgnECHostType b) |
DgnECHostType | operator& (DgnECHostType a, DgnECHostType b) |
DgnECHostType | operator~ (DgnECHostType a) |
bool | operator! (DgnECHostType a) |
The DgnECManager holds the API for applying ECObjects concepts (ECInstances and ECSchemas) to DgnFiles.
DgnECInstances are associated with DgnFiles, DgnModels, or DgnElements. They may represent "intrinsic" data such as the geometry of a line element, or "extrinsic" (application- or user-defined) data such as the serial number of an element representing a piece of equipment. The primary (and default) persistence format for extrinsic ECInstances is ECXAttributes (an XAttribute holding a binary-serialized ECInstance).
See the DgnECDemo example in the SDK for more complete information on typical use of the DgnEC APIs
The DgnEC system is extensible via IDgnECProvider implementations. Multiple providers exist, each handling a different type of ECInstance persistence. The DgnECManager API is designed to hide this multiplicity, so that users need never interact directly with the providers. Instead, ECInstances can be found by telling the DgnECManager:
typedef RefCountedPtr<DgnECInstanceEnabler> DgnECInstanceEnablerPtr |
typedef bvector<DgnECInstancePtr> DgnECInstanceVector |
typedef RefCountedPtr<DgnElementECInstance> DgnElementECInstancePtr |
typedef bvector<DgnElementECInstancePtr> DgnElementECInstanceVector |
typedef RefCountedPtr<ECSubstringPropertyValueFilter> ECSubstringPropertyValueFilterPtr |
typedef bmap<ECN::SchemaNameClassNamePair, bool> ElementECClassInfo |
typedef RefCountedPtr<IDgnECRelationshipInstance> IDgnECRelationshipInstancePtr |
typedef bvector<IDgnECRelationshipInstancePtr> IDgnECRelationshipInstanceVector |
typedef RefCountedPtr<IDgnECStandaloneTypeAdapterContext> IDgnECStandaloneTypeAdapterContextPtr |
typedef RefCountedPtr<IDgnECTypeAdapterContext> IDgnECTypeAdapterContextPtr |
Supplies the context in which an IDgnECTypeAdapter operates.
typedef RefCountedPtr<IECPropertyValueFilter> IECPropertyValueFilterPtr |
typedef bmap<ECN::ECClassCP, DgnECInstanceEnablerP> InstanceEnablersByClass |
typedef bmap<ECN::SchemaNameClassNamePair, DgnECInstanceEnablerP> InstanceEnablersByName |
typedef RefCountedPtr<QueryRelatedClassSpecifier> QueryRelatedClassSpecifierPtr |
typedef bvector<RelationshipEntry> RelationshipEntryVector |
typedef RefCountedPtr<SchemaInfoExt> SchemaInfoExtPtr |
typedef bvector<SearchClass> SearchClassList |
typedef RefCountedPtr<SelectedProperties> SelectedPropertiesPtr |
typedef RefCountedPtr<WhereCriterion> WhereCriterionPtr |
typedef RefCountedPtr<WhereCriterion::RelatedInstanceFinder> WhereCriterionRelatedInstanceFinderPtr |
typedef RefCountedPtr<WhereExpression> WhereExpressionPtr |
enum DeleteDgnECInstanceStatus |
|
strong |
Describes the underlying type on which an instance can be persisted.
Enumerator | |
---|---|
Unknown |
Unknown host type. |
Element |
Hosted on an element. |
Model |
Hosted on a DgnModel. |
File |
Hosted on a DgnFile. |
DesignLink |
Hosted on a DgnLinkTree or DgnLinkTreeNode. |
View |
Hosted on an indexed View. |
Attachment |
Hosted on a DgnAttachment. |
Level |
Hosted on a level. |
All |
Hosted on any host type. |
enum DgnECInstanceStatus |
Return status for DgnEC operations.
enum ECQueryProcessFlags : unsigned int |
enum ECSchemaPersistence : byte |
Enumerator | |
---|---|
ECSCHEMAPERSISTENCE_Unknown | |
ECSCHEMAPERSISTENCE_Stored |
When we have not yet determined how an ECSchema is persisted. |
ECSCHEMAPERSISTENCE_External |
ECSchemas stored in a dgn file. |
ECSCHEMAPERSISTENCE_All |
ECSchemas not stored in a dgn file. Usually provider by an application or found from file sytem. |
enum ReferencedModelScopeOption : byte |
enum SchemaDeleteStatus |
enum SchemaImportStatus |
enum SchemaUpdateStatus |
bool Bentley::DgnPlatform::operator! | ( | DgnECHostType | a | ) |
DgnECHostType Bentley::DgnPlatform::operator& | ( | DgnECHostType | a, |
DgnECHostType | b | ||
) |
DgnECHostType Bentley::DgnPlatform::operator| | ( | DgnECHostType | a, |
DgnECHostType | b | ||
) |
DgnECHostType Bentley::DgnPlatform::operator~ | ( | DgnECHostType | a | ) |