Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Output
Winx64
Build
PublishedApi
DgnPlatform
DisplayPath.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------------------+
2
|
3
| Supplied under applicable software license agreement.
4
|
5
| Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6
|
7
+---------------------------------------------------------------------------------------*/
8
#pragma once
9
10
#include "
DgnPlatform.h
"
11
12
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
13
14
/*=================================================================================**/
38
CLRPUBLIC
struct
DisplayPath
:
RefCountedBase
39
{
40
private
:
41
virtual
void
MakeClassAbstract() = 0;
42
public
:
43
public
:
44
46
DGNPLATFORM_EXPORT
DgnModelRefP
GetRoot ()
const
;
47
49
DGNPLATFORM_EXPORT
int
GetCount ()
const
;
50
53
DGNPLATFORM_EXPORT
ElementRefP
GetPathElem (
int
index)
const
;
54
57
DGNPLATFORM_EXPORT
ElementRefP
GetHeadElem ()
const
;
58
62
DGNPLATFORM_EXPORT
ElementRefP
GetTailElem ()
const
;
63
66
DGNPLATFORM_EXPORT
ElementRefP
GetCursorElem ()
const
;
67
73
DGNPLATFORM_EXPORT
ElementRefP
GetComponentElem ()
const
;
74
81
DGNPLATFORM_EXPORT
ElementRefP
GetChildElem (
ExposeChildrenReason
reason = ExposeChildrenReason::Query)
const
;
82
89
DGNPLATFORM_EXPORT
ElementRefP
GetSharedChildElem (
ExposeChildrenReason
reason = ExposeChildrenReason::Query)
const
;
90
92
DGNPLATFORM_EXPORT
void
SetRoot (
DgnModelRefP
ref);
93
95
DGNPLATFORM_EXPORT
void
PushPathElem (
ElementRefP
elRef);
96
98
DGNPLATFORM_EXPORT
ElementRefP
PopPathElem ();
99
101
DGNPLATFORM_EXPORT
void
SetCursorIndex (
int
index);
102
104
DGNPLATFORM_EXPORT
static
DisplayPathPtr
Create ();
105
106
};
// DisplayPath
107
108
END_BENTLEY_DGNPLATFORM_NAMESPACE
109
END_BENTLEY_DGNPLATFORM_NAMESPACE
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:69
Bentley::DgnPlatform::ExposeChildrenReason
ExposeChildrenReason
The reasons an application can ask a handler for an iterator to look at its "public" children...
Definition:
Handler.h:79
DGNPLATFORM_EXPORT
#define DGNPLATFORM_EXPORT
Definition:
DgnPlatform/ExportMacros.h:58
Bentley::DgnPlatform::DisplayPath
Definition:
DisplayPath.h:38
CLRPUBLIC
#define CLRPUBLIC
Definition:
DgnPlatform/ExportMacros.h:12
Bentley::DgnPlatform::DgnModelRef
A DgnModelRef provides access to a model in a Bentley::DgnPlatform::DgnFile.
Definition:
DgnModelRef.h:172
DgnPlatform.h
Bentley::RefCountedPtr
A shared pointer template for reference-counted objects.
Definition:
RefCounted.h:119
Bentley::DgnPlatform::ElementRefBase
Interface that provides direct and efficient access to element data.
Definition:
ElementRefBase.h:120
BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition:
DgnPlatformBaseType.r.h:68
Bentley::RefCountedBase
Concrete class that can be used to implement the reference-counting pattern.
Definition:
RefCounted.h:109
Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.