10 #pragma managed(push, off)
22 #if 1 // defined (NOT_VS2012_COMPATIBLE_FOR_DOTNET_INTEROP)
143 void SetView (
ViewGroupR vg,
UInt32 index) { m_hostType = DgnECHostType::View; m_view.m_group = &vg; m_view.m_index = index; }
144 void SetModel (
DgnModelR model) { m_hostType = DgnECHostType::Model; m_model.m_indexFile =
nullptr; m_model.m_model = &model; }
145 void SetModelItem (
DgnFileR dgnfile,
ModelId modelId) { m_hostType = DgnECHostType::Model; m_model.m_indexFile = &dgnfile; m_model.m_modelId = modelId; }
160 DgnModelP GetModel()
const {
return IsModel() &&
nullptr == m_model.m_indexFile ? m_model.m_model :
nullptr; }
161 ModelIndexItem const*
GetModelItem()
const {
return IsModel() &&
nullptr != m_model.m_indexFile ? m_model.m_indexFile->GetModelIndex().GetItemByID (m_model.m_modelId,
false) :
nullptr; }
165 ViewGroupP GetView (
UInt32& viewIndex)
const { viewIndex = IsView() ? m_view.m_index : viewIndex;
return IsView() ? m_view.m_group :
nullptr; }
166 DgnLinkTreeNodeP
GetLinkNode()
const {
return IsDesignLink() ? m_linkNode :
nullptr; }
168 bool IsElement()
const {
return DgnECHostType::Element == m_hostType; }
169 bool IsModel()
const {
return DgnECHostType::Model == m_hostType; }
170 bool IsDgnFile()
const {
return DgnECHostType::File == m_hostType; }
171 bool IsAttachment()
const {
return DgnECHostType::Attachment == m_hostType; }
172 bool IsView()
const {
return DgnECHostType::View == m_hostType; }
173 bool IsLevel()
const {
return DgnECHostType::Level == m_hostType; }
174 bool IsDesignLink()
const {
return DgnECHostType::DesignLink == GetType(); }
184 virtual void MakeClassAbstract() = 0;
207 bool m_qualifiedPepBasedId;
209 bool m_exposeHistorical;
442 virtual void MakeClassAbstract() = 0;
617 typedef IDgnECInstanceCollectionAdapter::const_iterator iterator_impl;
619 iterator_impl m_impl;
Definition: DgnECInstance.h:55
#define ENUM_IS_FLAGS(ENUMTYPE)
Definition: Bentley.r.h:164
bool empty() const
Definition: stdcxx/bstdmap.h:210
bvector< IDgnECRelationshipInstancePtr > IDgnECRelationshipInstanceVector
Definition: DgnECInstance.h:73
ECObjectsStatus
General purpose result codes.
Definition: ECObjects.h:128
DgnECInstanceCreateContext(DgnECInstanceCreateOptionsCR options)
Constructs from the specified options and selects all properties.
Definition: DgnECInstance.h:243
void SetSelectedProperties(SelectedPropertiesP selectedProperties)
Returns the set of properties which will be selected in the DgnECInstance.
Definition: DgnECInstance.h:251
struct DgnPlatform::DgnECInstanceCreateOptions const & DgnECInstanceCreateOptionsCR
Definition: DgnPlatform.h:539
Definition: Bentley.h:212
Hosted on a DgnLinkTree or DgnLinkTreeNode.
DgnECInstanceCreateContext(SelectedPropertiesP selectedProperties=nullptr, DgnECInstanceCreateOptionsCR options=DgnECInstanceCreateOptions())
Constructor. By default, all properties are selected and all options are set to false.
Definition: DgnECInstance.h:240
Hosted on a DgnAttachment.
bvector< DgnElementECInstancePtr > DgnElementECInstanceVector
Definition: DgnECInstance.h:71
ECN::IECRelationshipInstance is an instance of an ECRelationshipClass and represents the relationship...
Definition: ECInstance.h:568
Definition: TextTableHandler.h:216
Definition: DgnECInstance.h:49
iterator begin()
Definition: stdcxx/bstdmap.h:178
SelectedPropertiesCP GetSelectedProperties() const
Returns the set of properties which will be selected in the DgnECInstance.
Definition: DgnECInstance.h:249
RefCountedPtr< IDgnECRelationshipInstance > IDgnECRelationshipInstancePtr
Definition: DgnECInstance.h:70
struct DgnPlatform::DgnECInstanceCreateContext const & DgnECInstanceCreateContextCR
Definition: DgnPlatform.h:540
struct DgnPlatform::DgnECInstanceHost const & DgnECInstanceHostCR
Definition: DgnPlatform.h:200
iterator end()
Definition: stdcxx/bstdmap.h:186
struct DgnPlatform::DgnECInstanceEnabler const & DgnECInstanceEnablerCR
Definition: DgnPlatform.h:534
struct DgnPlatform::SelectedProperties const * SelectedPropertiesCP
Definition: DgnPlatform.h:537
SelectedPropertiesP GetSelectedProperties()
Returns the set of properties which will be selected in the DgnECInstance.
Definition: DgnECInstance.h:247
wchar_t const * WCharCP
Definition: Bentley.h:224
RefCountedPtr< DgnECInstanceEnabler > DgnECInstanceEnablerPtr
Definition: DgnECInstance.h:68
bvector< WString > T_PropertyNameVector
Definition: DgnECInstance.h:74
Definition: DgnECInstance.h:61
Template to simplify the task of writing a class that implements the reference-counting pattern...
Definition: RefCounted.h:90
uint32_t UInt32
Definition: Bentley.r.h:128
#define NULL
Definition: Bentley.h:157
StandaloneECRelationshipInstance is used to represent a relationship between two IECInstances.
Definition: StandaloneECRelationshipInstance.h:85
Definition: DgnECInstance.h:64
ECN::StandaloneECInstance is an implementation of IECInstance which is not tied to a specified persis...
Definition: StandaloneECInstance.h:87
Definition: DgnECInstance.h:52
Definition: DgnECInstance.h:54
struct DgnPlatform::DgnElementECInstance const * DgnElementECInstanceCP
Definition: DgnPlatform.h:205
Definition: DgnECInstance.h:53
Definition: DgnECInstance.h:50
Definition: DgnECInstance.h:57
Definition: DgnECInstance.h:65
BentleyStatus
Definition: Bentley.h:208
Definition: DgnECInstance.h:48
Definition: DgnECInstance.h:58
Definition: DgnECInstance.h:51
struct DgnPlatform::ElementHandle const * ElementHandleCP
Definition: DgnPlatform.h:260
IECInstance const & IECInstanceCR
Definition: ECObjects.h:67
RefCountedPtr< SelectedProperties > SelectedPropertiesPtr
Definition: DgnECInstance.h:199
ECRelationshipEnd
Used to define which end of the relationship, source or target.
Definition: ECSchema.h:767
Definition: DgnECInstance.h:63
Definition: DgnECInstance.h:59
DVec3d operator*(Transform const &transform, DVec3d const &vector)
operator overload for multiplication of a transform and a vector li>The vector appears on the left as...
int StatusInt
Definition: Bentley.h:222
DgnECInstanceStatus
Return status for DgnEC operations.
Definition: DgnECInstance.h:46
Definition: DgnECInstance.h:62
Hosted on an indexed View.
Definition: Bentley.h:210
Defines the set of options and the properties to select when querying for DgnECInstances.
Definition: DgnECInstance.h:234
int64_t Int64
Definition: Bentley.r.h:130
struct DgnPlatform::DgnElementECInstance const & DgnElementECInstanceCR
Definition: DgnPlatform.h:205
struct DgnPlatform::ElementHandle const & ElementHandleCR
Definition: DgnPlatform.h:260
unsigned int uint32_t
Definition: Bentley.r.h:93
RefCountedPtr< DgnElementECInstance > DgnElementECInstancePtr
Definition: DgnECInstance.h:69
Definition: DgnECInstance.h:56
DgnECHostType
Describes the underlying type on which an instance can be persisted.
Definition: DgnECInstance.h:78
Definition: DgnECInstance.h:60
An IECInstance represents an instance of an ECClass.
Definition: ECInstance.h:115
ECEnabler for standalone ECInstances (IECInstances not tied to a specific persistent store) ...
Definition: StandaloneECInstance.h:103
bvector< DgnECInstancePtr > DgnECInstanceVector
Definition: DgnECInstance.h:72
A string class that has many of the same capabilities as std::string, plus additional functions such ...
Definition: WString.h:51
unknown status (newly added to system)