CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
RxModelTreeBaseNode.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef _ODRXBASETREENODE_INCLUDED_
25#define _ODRXBASETREENODE_INCLUDED_
26
27#include "OdString.h"
28#include "OdArray.h"
29#include "RxValue.h"
30#include "RxObject.h"
31#include "RxPropertyVariant.h"
32#define STL_USING_SET
33#include "OdaSTL.h"
34
39{
40
42 eHT1 = 1,
43
45 eHT2 = 2,
46
48 eHT3 = 3,
49
52};
53
58{
61
64
67
70
73
76};
77
84{
89 :weight(0.0)
90 {
91 }
92
95
98
101
103 float weight;
104
107
110};
111
112//DOM-IGNORE-BEGIN
113class OdRxModelTreeBaseNodeImpl;
116class OdRxModelHierarchyTreeBaseImpl;
117//DOM-IGNORE-END
118
124
130
136
144{
145 public:
146 //DOM-IGNORE-BEGIN
149 //DOM-IGNORE-END
150
155
161 virtual const OdString& getNodeName() const;
162
170
176 virtual OdUInt64 getUniqueDBID() const;
177
184
191
198
204 virtual const OdArray<PropertyInfo>& getProperties() const;
205
206 protected:
207 //DOM-IGNORE-BEGIN
209
210 virtual void outFields(OdBaseHierarchyTreeFiler* pFiler) const;
211 virtual OdResult inFields(OdBaseHierarchyTreeFiler* pFiler, std::set<OdString>& string_storage);
212
214 OdRxModelTreeBaseNode(OdRxModelTreeBaseNodeImpl* impl);
215 friend class OdRxModelTreeBaseNodeImpl;
216 OdRxModelTreeBaseNodeImpl* m_pImpl;
217 friend class OdRxModelHierarchyTreeBaseImpl;
218 //DOM-IGNORE-END
219};
220
228{
229public:
230
235
241 virtual bool rdBool() = 0;
242
248 virtual double rdDouble() = 0;
249
255 virtual OdUInt8 rdInt8() = 0;
256
262 virtual OdUInt8 rdUInt8() = 0;
263
269 virtual OdUInt16 rdInt16() = 0;
270
276 virtual OdUInt16 rdUInt16() = 0;
277
283 virtual OdUInt32 rdInt32() = 0;
284
290 virtual OdUInt32 rdUInt32() = 0;
291
297 virtual OdInt64 rdInt64() = 0;
298
304 virtual OdInt64 rdUInt64() = 0;
305
311 virtual OdString rdString() = 0;
312
318 virtual OdAnsiString rdAnsiString() = 0;
319
326
333
340
347
355
363
369 virtual void wrBool(const bool value) = 0;
370
376 virtual void wrDouble(const double value) = 0;
377
383 virtual void wrInt8(const OdInt8 value) = 0;
384
390 virtual void wrUInt8(const OdUInt8 value) = 0;
391
397 virtual void wrInt16(const OdInt16 value) = 0;
398
404 virtual void wrUInt16(const OdUInt16 value) = 0;
405
411 virtual void wrInt32(const OdInt32 value) = 0;
412
418 virtual void wrUInt32(const OdUInt32 value) = 0;
419
425 virtual void wrInt64(const OdInt64 value) = 0;
426
432 virtual void wrUInt64(const OdUInt64 value) = 0;
433
439 virtual void wrString(const OdString& value) = 0;
440
446 virtual void wrAnsiString(const OdAnsiString& value) = 0;
447
453 virtual void wrGePoint2d(const OdGePoint2d& value) = 0;
454
460 virtual void wrGePoint3d(const OdGePoint3d& value) = 0;
461
467 virtual void wrGeVector2d(const OdGeVector2d& value) = 0;
468
474 virtual void wrGeVector3d(const OdGeVector3d& value) = 0;
475
481 virtual void wrCmEntityColor(const OdCmEntityColor& value) = 0;
482
488 virtual void wrCmTransparency(const OdCmTransparency& value) = 0;
489
490};
491
492#endif
493
#define ODCDA_EXPORT
Definition: CDAExport.h:35
unsigned int OdUInt32
short OdInt16
signed char OdInt8
unsigned short OdUInt16
int OdInt32
unsigned char OdUInt8
OdResult
Definition: OdResult.h:29
HierarchyTreeVersion
@ eCURRENT
HierarchyTreeObjectType
@ eModel
@ eBlockReference
@ eDatabase
@ eHidden
@ eEntity
@ eBlock
OdArray< OdRxModelTreeBaseNode * > OdRxModelTreeBaseNodeRawPtrArray
OdArray< OdRxModelTreeBaseNodePtr > OdRxModelTreeBaseNodePtrArray
OdSmartPtr< OdRxModelTreeBaseNode > OdRxModelTreeBaseNodePtr
virtual OdUInt8 rdInt8()=0
virtual void wrCmEntityColor(const OdCmEntityColor &value)=0
virtual void wrBool(const bool value)=0
virtual void wrDouble(const double value)=0
virtual void wrUInt16(const OdUInt16 value)=0
virtual OdGePoint2d rdGePoint2d()=0
virtual void wrGeVector3d(const OdGeVector3d &value)=0
virtual void wrCmTransparency(const OdCmTransparency &value)=0
virtual OdUInt16 rdUInt16()=0
virtual OdUInt32 rdUInt32()=0
virtual void wrString(const OdString &value)=0
virtual void wrGeVector2d(const OdGeVector2d &value)=0
virtual OdAnsiString rdAnsiString()=0
virtual OdInt64 rdUInt64()=0
virtual void wrUInt8(const OdUInt8 value)=0
virtual void wrUInt32(const OdUInt32 value)=0
virtual void wrGePoint3d(const OdGePoint3d &value)=0
virtual OdUInt8 rdUInt8()=0
virtual void wrAnsiString(const OdAnsiString &value)=0
virtual OdCmTransparency rdCmTransparency()=0
virtual double rdDouble()=0
virtual OdGeVector2d rdGeVector2d()=0
virtual void wrInt16(const OdInt16 value)=0
virtual OdInt64 rdInt64()=0
virtual OdUInt16 rdInt16()=0
virtual void wrGePoint2d(const OdGePoint2d &value)=0
virtual void wrUInt64(const OdUInt64 value)=0
virtual bool rdBool()=0
virtual void wrInt64(const OdInt64 value)=0
virtual OdGeVector3d rdGeVector3d()=0
virtual OdCmEntityColor rdCmEntityColor()=0
virtual OdUInt32 rdInt32()=0
virtual OdString rdString()=0
virtual OdGePoint3d rdGePoint3d()=0
virtual void wrInt8(const OdInt8 value)=0
virtual void wrInt32(const OdInt32 value)=0
Definition: Int64.h:43
virtual const OdRxModelTreeBaseNodeRawPtrArray & getParents() const
virtual ~OdRxModelTreeBaseNode()
ODRX_DECLARE_MEMBERS(OdRxModelTreeBaseNode)
OdRxModelTreeBaseNode(OdRxModelTreeBaseNodeImpl *impl)
virtual OdUInt64 getUniqueSourceID() const
virtual bool addChild(OdRxModelTreeBaseNodePtr &elem)
virtual const OdString & getNodeName() const
virtual OdResult inFields(OdBaseHierarchyTreeFiler *pFiler, std::set< OdString > &string_storage)
virtual void outFields(OdBaseHierarchyTreeFiler *pFiler) const
virtual OdUInt64 getUniqueDBID() const
OdRxModelTreeBaseNodeImpl * m_pImpl
virtual HierarchyTreeObjectType getNodeType() const
virtual const OdArray< PropertyInfo > & getProperties() const
virtual const OdRxModelTreeBaseNodePtrArray & getChildren() const
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
OdArray< PropertyInfo > subProperties
OdRxPropertyVariant value
OdString localizedName