Classes | Namespaces | Typedefs | Enumerations | Functions
DgnECInstance.h File Reference
#include "DgnPlatform.h"
#include <DgnPlatform/LevelCache.h>
#include <ECObjects/ECObjectsAPI.h>
#include <DgnPlatform/DgnModelRef.h>
#include <DgnPlatform/DgnCore.h>
#include <DgnPlatform/ElementHandle.h>
#include <DgnPlatform/DgnLinkTree.h>

Go to the source code of this file.

Classes

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  DgnECInstanceIterable::const_iterator
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 
 Bentley::DgnPlatform
 The DgnPlatform namespace contains types defined by the DgnPlatform.
 

Typedefs

typedef RefCountedPtr
< DgnPlatform::FindInstancesScope
FindInstancesScopePtr
 
typedef
ECN::IInstanceCollectionAdapter
< DgnECInstanceP const > 
IDgnECInstanceCollectionAdapter
 
typedef RefCountedPtr
< IDgnECInstanceCollectionAdapter > 
IDgnECInstanceCollectionAdapterPtr
 
typedef
ECN::IInstanceCollectionIteratorAdapter
< DgnECInstanceP const > 
IDgnECInstanceCollectionIteratorAdapter
 
typedef
ECN::IInstanceCollectionAdapter
< IDgnECRelationshipInstanceP
const > 
IDgnECRelationshipCollectionAdapter
 
typedef RefCountedPtr
< IDgnECRelationshipCollectionAdapter > 
IDgnECRelationshipCollectionAdapterPtr
 
typedef
ECN::IInstanceCollectionIteratorAdapter
< IDgnECRelationshipInstanceP
const > 
IDgnECRelationshipCollectionIteratorAdapter
 
typedef RefCountedPtr
< DgnECInstanceEnabler > 
DgnECInstanceEnablerPtr
 
typedef RefCountedPtr
< DgnElementECInstance > 
DgnElementECInstancePtr
 
typedef RefCountedPtr
< IDgnECRelationshipInstance > 
IDgnECRelationshipInstancePtr
 
typedef bvector
< DgnElementECInstancePtr > 
DgnElementECInstanceVector
 
typedef bvector< DgnECInstancePtrDgnECInstanceVector
 
typedef bvector
< IDgnECRelationshipInstancePtr > 
IDgnECRelationshipInstanceVector
 
typedef bvector< WStringT_PropertyNameVector
 
typedef RefCountedPtr
< SelectedProperties > 
SelectedPropertiesPtr
 

Enumerations

enum  DgnECInstanceStatus {
  DGNECINSTANCESTATUS_Success = SUCCESS, DGNECINSTANCESTATUS_InstanceIsStale = 1, DGNECINSTANCESTATUS_InstanceIsDeletedOrUndone = 2, DGNECINSTANCESTATUS_InvalidElementRef = 3,
  DGNECINSTANCESTATUS_InstanceIsAlreadyAsleep = 4, DGNECINSTANCESTATUS_IncompatibleWipInstance = 5, DGNECINSTANCESTATUS_UnableToAddInstance = 6, DGNECINSTANCESTATUS_NoInstanceFound = 7,
  DGNECINSTANCESTATUS_InvalidInstance = 8, DGNECINSTANCESTATUS_UnableToUpdateInstance = 9, DGNECINSTANCESTATUS_XAttributeHasBeenRemoved = 10, DGNECINSTANCESTATUS_ClassLayoutNotStored = 11,
  DGNECINSTANCESTATUS_RelationshipInstanceNotCreated = 12, DGNECINSTANCESTATUS_EnablerNotValidForFile = 13, DGNECINSTANCESTATUS_DuplicateRelationshipFound = 14, DGNECINSTANCESTATUS_RequiresSingleEndedRelationshipClass = 15,
  DGNECINSTANCESTATUS_PropertyNotFound = 16, DGNECINSTANCESTATUS_Error = ERROR
}
 Return status for DgnEC operations. More...
 
enum  DgnECHostType : uint32_t {
  Unknown = 0, Element = 1 << 0, Model = 1 << 2, File = 1 << 3,
  DesignLink = 1 << 4, View = 1 << 5, Attachment = 1 << 6, Level = 1 << 7,
  All = 0xffffffff
}
 Describes the underlying type on which an instance can be persisted. More...
 

Functions

DgnECHostType operator| (DgnECHostType a, DgnECHostType b)
 
DgnECHostType operator& (DgnECHostType a, DgnECHostType b)
 
DgnECHostType operator~ (DgnECHostType a)
 
bool operator! (DgnECHostType a)
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.