CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
ResBuf.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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
25
26
27#if !defined(_ODRESBUF_H___INCLUDED_)
28#define _ODRESBUF_H___INCLUDED_
29
30#include "TD_PackPush.h"
31
32#include "DbExport.h"
33#include "RxObject.h"
34#include "OdString.h"
35#include "DbHandle.h"
36#include "OdError.h"
37
38class OdBinaryData;
39class OdGePoint2d;
40class OdGePoint3d;
41class OdGeVector2d;
42class OdGeVector3d;
43class OdDbObjectId;
44class OdDbDatabase;
45class OdCmColor;
46class OdResBuf;
48
53
54
68{
69public:
70 OdError_InvalidResBuf() : OdError(eInvalidResBuf){}
71};
72
81
107class TOOLKIT_EXPORT OdResBuf : public OdRxObject
108{
109public:
110
112
117
130 void copyFrom( const OdRxObject* pRb );
131
132
145 bool operator==( const OdResBuf& Rb ) const;
146
147
160 bool operator!=( const OdResBuf& Rb ) const;
161
162
167 {
168 //FELIX_CHANGE_BEGIN
169 kRtNorm = 5100, // Normal termination
170 kRtMemErr = -5000, // Global memory error
171 kRtError = -5001, // Some other error
172 kRtCan = -5002, // User cancelled request -- Ctl-C
173 kRtRej = -5003, // Rejected request -- invalid
174 kRtFail = -5004, // Link failure -- Lisp probably died
175 kRtKword = -5005, // Keyword returned from getxxx() routine
176 kRtInputTruncated = -5008, // Input didn't all fit in the buffer
177 //FELIX_CHANGE_END
178
179 kRtNone = 5000,
180 kRtDouble = 5001,
182 kRtInt16 = 5003,
183 kRtAngle = 5004,
184 kRtString = 5005,
185
186 kRtEntName = 5006, // setObjectId()/getEntName()/getObjectId(0)
188
189 kRtOrient = 5008,
190
192 kRtInt32 = 5010,
193 kRtColor = 5011,
194
195 kRtVoid = 5014,
196 kRtListBeg = 5016, // list begin
197 kRtListEnd = 5017, // list end
198 kRtDote = 5018, // dot
199 kRtNil = 5019, // nil
200
201
202
203 kRtDXF0 = 5020,
204 kRtT = 5021,
205 kRtResBuf = 5023,
206// kRtModeless = 5027,
207
208 kRtBool = 290,
209 kRtInt8 = 280,
219
220 kDxfInvalid = -9999,
221
312 // 64-bit integers can only be used with version R24 and higher
314
320 kDxfInt8 = 280,
322 kDxfBool = 290,
359 };
360
361
382 int restype() const;
383
384
402 void setRestype( int resType );
403
404
417
418
431
432
451
452
471
472
491
492
513 void setString( const OdString& sValue );
514
515
535 bool getBool() const;
536
537
558 void setBool( bool bValue );
559
560
579
580
602 void setInt8( OdInt8 iValue );
603
604
623
624
646 void setInt16( OdInt16 iValue );
647
648
649
668
669
691 void setInt32( OdInt32 iValue );
692
693
712
713
735 void setInt64( OdInt64 iValue );
736
737
756 double getDouble() const;
757
758
780 void setDouble( double realValue );
781
782
801 const OdGePoint2d& getPoint2d() const;
802
803
824 void setPoint2d( const OdGePoint2d& gePoint );
825
826
845 const OdGePoint3d& getPoint3d() const;
846
847
868 void setPoint3d( const OdGePoint3d& gePoint );
869
870
889 const OdGeVector2d& getVector2d() const;
890
891
912 void setVector2d( const OdGeVector2d& geVector );
913
914
933 const OdGeVector3d& getVector3d() const;
934
935
956 void setVector3d(const OdGeVector3d& val);
957
958
979
980
1003 void setBinaryChunk( const OdBinaryData& bChunk );
1004
1005
1025 const OdCmColor& getColor() const;
1026
1027
1051 void setColor( const OdCmColor& cmColor );
1052
1053
1070
1071
1090 void setResBuf( const OdResBuf* pResBuf );
1091
1092
1113
1114
1138 void setHandle( const OdDbHandle& vHandle );
1139
1140
1162 const OdDbObjectId& getEntName() const;
1163
1164
1190 void setObjectId( const OdDbObjectId& idObject );
1191
1192
1208
1209
1214
1223 void setPickSet(const OdDbSelectionSet* pSSet);
1224
1225
1242 static OdResBufPtr newRb(int resType = OdResBuf::kRtNone);
1243
1261 static OdResBufPtr newRb(int resType, bool resVal)
1262 {
1263 OdResBufPtr pRes = newRb(resType);
1264 pRes->setBool(resVal);
1265 return pRes;
1266 }
1267
1285 static OdResBufPtr newRb(int resType, OdInt8 resVal)
1286 {
1287 OdResBufPtr pRes = newRb(resType);
1288 pRes->setInt8(resVal);
1289 return pRes;
1290 }
1291
1309 static OdResBufPtr newRb(int resType, OdUInt8 resVal)
1310 {
1311 OdResBufPtr pRes = newRb(resType);
1312 pRes->setInt8(resVal);
1313 return pRes;
1314 }
1315
1333 static OdResBufPtr newRb(int resType, OdInt16 resVal)
1334 {
1335 OdResBufPtr pRes = newRb(resType);
1336 pRes->setInt16(resVal);
1337 return pRes;
1338 }
1339
1357 static OdResBufPtr newRb(int resType, OdUInt16 resVal)
1358 {
1359 OdResBufPtr pRes = newRb(resType);
1360 pRes->setInt16(resVal);
1361 return pRes;
1362 }
1363
1381 static OdResBufPtr newRb(int resType, OdInt32 resVal)
1382 {
1383 OdResBufPtr pRes = newRb(resType);
1384 pRes->setInt32(resVal);
1385 return pRes;
1386 }
1387
1405 static OdResBufPtr newRb(int resType, OdUInt32 resVal)
1406 {
1407 OdResBufPtr pRes = newRb(resType);
1408 pRes->setInt32(resVal);
1409 return pRes;
1410 }
1411
1429 static OdResBufPtr newRb(int resType, OdInt64 resVal)
1430 {
1431 OdResBufPtr pRes = newRb(resType);
1432 pRes->setInt64(resVal);
1433 return pRes;
1434 }
1435
1453 static OdResBufPtr newRb(int resType, OdUInt64 resVal)
1454 {
1455 OdResBufPtr pRes = newRb(resType);
1456 pRes->setInt64(resVal);
1457 return pRes;
1458 }
1459
1477 static OdResBufPtr newRb(int resType, double resVal)
1478 {
1479 OdResBufPtr pRes = newRb(resType);
1480 pRes->setDouble(resVal);
1481 return pRes;
1482 }
1483
1501 static OdResBufPtr newRb(int resType, const OdGePoint2d& resVal)
1502 {
1503 OdResBufPtr pRes = newRb(resType);
1504 pRes->setPoint2d(resVal);
1505 return pRes;
1506 }
1507
1525 static OdResBufPtr newRb(int resType, const OdGePoint3d& resVal)
1526 {
1527 OdResBufPtr pRes = newRb(resType);
1528 pRes->setPoint3d(resVal);
1529 return pRes;
1530 }
1531
1549 static OdResBufPtr newRb(int resType, const OdGeVector2d& resVal)
1550 {
1551 OdResBufPtr pRes = newRb(resType);
1552 pRes->setVector2d(resVal);
1553 return pRes;
1554 }
1555
1573 static OdResBufPtr newRb(int resType, const OdGeVector3d& resVal)
1574 {
1575 OdResBufPtr pRes = newRb(resType);
1576 pRes->setVector3d(resVal);
1577 return pRes;
1578 }
1579
1597 static OdResBufPtr newRb(int resType, const OdString& resVal)
1598 {
1599 OdResBufPtr pRes = newRb(resType);
1600 pRes->setString(resVal);
1601 return pRes;
1602 }
1603
1621 static OdResBufPtr newRb(int resType, const OdChar* resVal)
1622 {
1623 OdResBufPtr pRes = newRb(resType);
1624 pRes->setString(resVal);
1625 return pRes;
1626 }
1627
1628#if defined(OD_WINDOWS_DESKTOP) && defined(_MSC_VER)
1646 static OdResBufPtr newRb(int resType, const __wchar_t* resVal)
1647 {
1648 OdResBufPtr pRes = newRb(resType);
1649 pRes->setString(resVal);
1650 return pRes;
1651 }
1652#endif
1653
1671 static OdResBufPtr newRb(int resType, const OdCmColor& resVal)
1672 {
1673 OdResBufPtr pRes = newRb(resType);
1674 pRes->setColor(resVal);
1675 return pRes;
1676 }
1677
1695 static OdResBufPtr newRb(int resType, const OdDbObjectId& id)
1696 {
1697 OdResBufPtr pRes = newRb(resType);
1698 pRes->setObjectId(id);
1699 return pRes;
1700 }
1701
1719 static OdResBufPtr newRb(int resType, const OdDbSelectionSet* pSSet)
1720 {
1721 OdResBufPtr pRes = newRb(resType);
1722 pRes->setPickSet(pSSet);
1723 return pRes;
1724 }
1725
1743 static OdResBufPtr newRb(int resType, const OdResBuf* pNestedRb)
1744 {
1745 OdResBufPtr pRes = newRb(resType);
1746 pRes->setResBuf(pNestedRb);
1747 return pRes;
1748 }
1749 // is used to get assertion with needed call stack only
1752
1756 union Data
1757 {
1758 bool Bool; // Boolean content
1759 OdInt16 Int16; // 8-bit or 16-bit Integer content
1760 OdInt32 Int32; // 32-bit Integer or Color content
1761 OdInt64 Int64; // 64-bit Integer or Handle content
1762 double Double; // double-precision floating-point content
1763 void* Pointer; // pointer to an object
1764 OdUInt8 Bytes[sizeof(OdInt64)]; // Content as an array of bytes
1765 };
1766
1767protected:
1776
1777 int m_nCode; // Group code that defines the data type
1778 Data m_data; // Value that defines the content
1779 OdResBufPtr m_pNext; // Smart pointer to another instance for attaching in a sequence
1780};
1781
1782inline bool
1783OdResBuf::operator!=( const OdResBuf& other ) const
1784{
1785 return !operator==( other );
1786}
1787
1792
1793#include "TD_PackPop.h"
1794
1795#endif //_ODRESBUF_H___INCLUDED_
1796
OdSmartPtr< OdResBuf > OdResBufPtr
Definition DbDatabase.h:105
#define TOOLKIT_EXPORT
Definition DbExport.h:40
OdSmartPtr< OdDbSelectionSet > OdDbSelectionSetPtr
Definition DbSSet.h:112
bool operator!=(T left, const OdGiVariant::EnumType right)
Definition GiVariant.h:405
unsigned int OdUInt32
short OdInt16
signed char OdInt8
unsigned short OdUInt16
int OdInt32
unsigned char OdUInt8
wchar_t OdChar
TOOLKIT_EXPORT bool oddbCompareRbChains(const OdResBuf *pRb1, const OdResBuf *pRb2)
OdSmartPtr< OdResBuf > OdResBufPtr
Definition ResBuf.h:80
OdSmartPtr< OdDbSelectionSet > OdDbSelectionSetPtr
Definition ResBuf.h:52
OdError(OdResult code)
static void setAssertIndexByNewRb(int index)
static OdResBufPtr newRb(int resType, double resVal)
Definition ResBuf.h:1477
void setVector2d(const OdGeVector2d &geVector)
static OdResBufPtr newRb(int resType, OdUInt16 resVal)
Definition ResBuf.h:1357
void setBinaryChunk(const OdBinaryData &bChunk)
void setRestype(int resType)
OdInt32 getInt32() const
static OdResBufPtr newRb(int resType, OdInt16 resVal)
Definition ResBuf.h:1333
OdInt8 getInt8() const
ODRX_DECLARE_MEMBERS(OdResBuf)
void setObjectId(const OdDbObjectId &idObject)
OdDbSelectionSetPtr getPickSet() const
static OdResBufPtr newRb(int resType, OdUInt8 resVal)
Definition ResBuf.h:1309
double getDouble() const
OdDbHandle getHandle() const
void setInt16(OdInt16 iValue)
static OdResBufPtr newRb(int resType, const OdGePoint3d &resVal)
Definition ResBuf.h:1525
int m_nCode
Definition ResBuf.h:1777
static OdResBufPtr newRb(int resType, bool resVal)
Definition ResBuf.h:1261
OdResBufPtr m_pNext
Definition ResBuf.h:1779
static OdResBufPtr newRb(int resType, const OdDbObjectId &id)
Definition ResBuf.h:1695
static OdResBufPtr newRb(int resType, const OdGeVector2d &resVal)
Definition ResBuf.h:1549
OdResBufPtr last() const
bool operator==(const OdResBuf &Rb) const
const OdBinaryData & getBinaryChunk() const
static OdResBufPtr newRb(int resType, const OdString &resVal)
Definition ResBuf.h:1597
static OdResBufPtr newRb(int resType, OdInt32 resVal)
Definition ResBuf.h:1381
static OdResBufPtr newRb(int resType, const OdGeVector3d &resVal)
Definition ResBuf.h:1573
const OdCmColor & getColor() const
OdResBufPtr next() const
void setBool(bool bValue)
static OdResBufPtr newRb(int resType, const OdCmColor &resVal)
Definition ResBuf.h:1671
void setDouble(double realValue)
void setPoint2d(const OdGePoint2d &gePoint)
const OdDbObjectId & getEntName() const
OdDbObjectId getObjectId(const OdDbDatabase *pDb) const
static OdResBufPtr newRb(int resType, const OdChar *resVal)
Definition ResBuf.h:1621
bool getBool() const
Data m_data
Definition ResBuf.h:1778
void setResBuf(const OdResBuf *pResBuf)
void setHandle(const OdDbHandle &vHandle)
const OdGeVector2d & getVector2d() const
void setVector3d(const OdGeVector3d &val)
static OdResBufPtr newRb(int resType, const OdDbSelectionSet *pSSet)
Definition ResBuf.h:1719
OdResBufPtr insert(OdResBuf *pRb)
static OdResBufPtr newRb(int resType=OdResBuf::kRtNone)
void setPickSet(const OdDbSelectionSet *pSSet)
bool operator!=(const OdResBuf &Rb) const
Definition ResBuf.h:1783
int restype() const
static OdResBufPtr newRb(int resType, OdInt8 resVal)
Definition ResBuf.h:1285
const OdGeVector3d & getVector3d() const
void copyFrom(const OdRxObject *pRb)
const OdGePoint2d & getPoint2d() const
void setInt64(OdInt64 iValue)
OdInt16 getInt16() const
OdInt64 getInt64() const
static OdResBufPtr newRb(int resType, OdUInt32 resVal)
Definition ResBuf.h:1405
@ kDxfXXXInt16
Definition ResBuf.h:333
@ kDxfXdWorldXDisp
Definition ResBuf.h:348
@ kDxfDashLength
Definition ResBuf.h:277
@ kDxfDimAPostStr
Definition ResBuf.h:245
@ kDxfLayerLinetype
Definition ResBuf.h:284
@ kRtRej
Definition ResBuf.h:173
@ kDxfXInt16
Definition ResBuf.h:315
@ kDxfViewportGrid
Definition ResBuf.h:296
@ kRtVoid
Definition ResBuf.h:195
@ kDxfXdHandle
Definition ResBuf.h:341
@ kDxfHardPointerId
Definition ResBuf.h:327
@ kDxfBlockName
Definition ResBuf.h:233
@ kDxfSymTableRecComments
Definition ResBuf.h:247
@ kDxfXdBinaryChunk
Definition ResBuf.h:340
@ kRtResBuf
Definition ResBuf.h:205
@ kRtCan
Definition ResBuf.h:172
@ kRtColor
Definition ResBuf.h:193
@ kDxfViewportSnapStyle
Definition ResBuf.h:297
@ kDxfInt64
Definition ResBuf.h:313
@ kDxfViewportIcon
Definition ResBuf.h:294
@ kRtPoint3d
Definition ResBuf.h:191
@ kRtDouble
Definition ResBuf.h:180
@ kDxfEnd
Definition ResBuf.h:228
@ kDxfXdWorldXCoord
Definition ResBuf.h:345
@ kDxfAngle
Definition ResBuf.h:280
@ kRtPickSet
Definition ResBuf.h:187
@ kRtOrient
Definition ResBuf.h:189
@ kDxfElevation
Definition ResBuf.h:259
@ kRtBinaryChunk
Definition ResBuf.h:212
@ kDxfTxtSize
Definition ResBuf.h:263
@ kDxfRegAppName
Definition ResBuf.h:337
@ kDxfYCoord
Definition ResBuf.h:257
@ kDxfCLShapeName
Definition ResBuf.h:246
@ kDxfHasSubentities
Definition ResBuf.h:286
@ kDxfDimBlk
Definition ResBuf.h:249
@ kRtError
Definition ResBuf.h:171
@ kDxfBinaryChunk
Definition ResBuf.h:324
@ kDxfXDataStart
Definition ResBuf.h:225
@ kDxfOperator
Definition ResBuf.h:224
@ kDxfUCSOrg
Definition ResBuf.h:308
@ kDxfTextStyleName
Definition ResBuf.h:253
@ kDxfLinetypeAlign
Definition ResBuf.h:301
@ kDxfInt16
Definition ResBuf.h:290
@ kDxfRenderMode
Definition ResBuf.h:321
@ kRtBool
Definition ResBuf.h:208
@ kDxfShapeName
Definition ResBuf.h:232
@ kRtVector2d
Definition ResBuf.h:210
@ kRtDote
Definition ResBuf.h:198
@ kDxfCircleSides
Definition ResBuf.h:292
@ kDxfViewFrontClip
Definition ResBuf.h:269
@ kDxfXdWorldYDisp
Definition ResBuf.h:349
@ kDxfShapeYOffset
Definition ResBuf.h:272
@ kDxfSoftOwnershipId
Definition ResBuf.h:328
@ kDxfXdReal
Definition ResBuf.h:354
@ kDxfXdWorldZDir
Definition ResBuf.h:353
@ kDxfSubclass
Definition ResBuf.h:304
@ kDxfTextFontFile
Definition ResBuf.h:241
@ kDxfRegAppFlags
Definition ResBuf.h:299
@ kDxfDimBlk2
Definition ResBuf.h:252
@ kDxfXDictionary
Definition ResBuf.h:222
@ kDxfXdWorldXDir
Definition ResBuf.h:351
@ kDxfXdXCoord
Definition ResBuf.h:342
@ kRtPoint2d
Definition ResBuf.h:181
@ kRtVector3d
Definition ResBuf.h:211
@ kDxfAttributePrompt
Definition ResBuf.h:238
@ kDxfXdWorldYCoord
Definition ResBuf.h:346
@ kRtString
Definition ResBuf.h:184
@ kDxfLinetypeScale
Definition ResBuf.h:276
@ kDxfPlotStyleNameType
Definition ResBuf.h:331
@ kDxfXdDist
Definition ResBuf.h:355
@ kDxfXdInteger32
Definition ResBuf.h:358
@ kDxfXdWorldZCoord
Definition ResBuf.h:347
@ kDxfViewportNumber
Definition ResBuf.h:289
@ kRtHardOwnershipId
Definition ResBuf.h:218
@ kDxfXXInt16
Definition ResBuf.h:319
@ kDxfControlString
Definition ResBuf.h:306
@ kDxfXdLayerName
Definition ResBuf.h:339
@ kDxfSymbolTableName
Definition ResBuf.h:235
@ kDxfXdInteger16
Definition ResBuf.h:357
@ kDxfViewportSnap
Definition ResBuf.h:295
@ kDxfXCoord
Definition ResBuf.h:256
@ kDxfViewMode
Definition ResBuf.h:291
@ kRtInt8
Definition ResBuf.h:209
@ kRtInputTruncated
Definition ResBuf.h:176
@ kDxfViewWidth
Definition ResBuf.h:265
@ kDxfHandle
Definition ResBuf.h:248
@ kRtNone
Definition ResBuf.h:179
@ kDxfHardOwnershipId
Definition ResBuf.h:329
@ kDxfLinetypeElement
Definition ResBuf.h:279
@ kDxfComment
Definition ResBuf.h:335
@ kDxfDimPostStr
Definition ResBuf.h:243
@ kDxfArbHandle
Definition ResBuf.h:325
@ kDxfInt32
Definition ResBuf.h:303
@ kDxfXdZCoord
Definition ResBuf.h:344
@ kDxfLinetypeProse
Definition ResBuf.h:240
@ kDxfSoftPointerId
Definition ResBuf.h:326
@ kRtMemErr
Definition ResBuf.h:170
@ kDxfTxtStyleXScale
Definition ResBuf.h:264
@ kDxfTextBigFontFile
Definition ResBuf.h:244
@ kDxfShapeXOffset
Definition ResBuf.h:271
@ kDxfPlotStyleNameId
Definition ResBuf.h:332
@ kDxfLinetypePDC
Definition ResBuf.h:302
@ kDxfStart
Definition ResBuf.h:229
@ kRtNorm
Definition ResBuf.h:169
@ kDxfInvalid
Definition ResBuf.h:220
@ kDxfZCoord
Definition ResBuf.h:258
@ kDxfDimBlk1
Definition ResBuf.h:250
@ kDxfNormalZ
Definition ResBuf.h:318
@ kDxfViewHeight
Definition ResBuf.h:273
@ kDxfViewportActive
Definition ResBuf.h:288
@ kDxfDimVarHandle
Definition ResBuf.h:307
@ kDxfFirstEntId
Definition ResBuf.h:227
@ kDxfXdWorldZDisp
Definition ResBuf.h:350
@ kDxfUCSOriX
Definition ResBuf.h:309
@ kDxfXdYCoord
Definition ResBuf.h:343
@ kRtHandle
Definition ResBuf.h:213
@ kDxfDescription
Definition ResBuf.h:242
@ kDxfMlineOffset
Definition ResBuf.h:278
@ kDxfViewportVisibility
Definition ResBuf.h:287
@ kDxfDimStyleName
Definition ResBuf.h:239
@ kDxfPixelScale
Definition ResBuf.h:275
@ kRtListBeg
Definition ResBuf.h:196
@ kDxfBool
Definition ResBuf.h:322
@ kRtListEnd
Definition ResBuf.h:197
@ kDxfLinetypeName
Definition ResBuf.h:251
@ kDxfNormalY
Definition ResBuf.h:317
@ kDxfXdWorldYDir
Definition ResBuf.h:352
@ kDxfXdScale
Definition ResBuf.h:356
@ kRtSoftPointerId
Definition ResBuf.h:215
@ kDxfViewportAspect
Definition ResBuf.h:266
@ kDxfNormalX
Definition ResBuf.h:316
@ kDxfViewBackClip
Definition ResBuf.h:270
@ kDxfViewportHeight
Definition ResBuf.h:262
@ kRtEntName
Definition ResBuf.h:186
@ kDxfPReactors
Definition ResBuf.h:223
@ kRtObjectId
Definition ResBuf.h:214
@ kDxfViewLensLength
Definition ResBuf.h:268
@ kDxfHeaderId
Definition ResBuf.h:226
@ kDxfViewportSnapAngle
Definition ResBuf.h:281
@ kDxfLineWeight
Definition ResBuf.h:330
@ kDxfXdControlString
Definition ResBuf.h:338
@ kDxfEmbeddedObjectStart
Definition ResBuf.h:305
@ kRtKword
Definition ResBuf.h:175
@ kRtNil
Definition ResBuf.h:199
@ kDxfViewportTwist
Definition ResBuf.h:282
@ kDxfLayoutName
Definition ResBuf.h:334
@ kDxfVisibility
Definition ResBuf.h:283
@ kDxfInt8
Definition ResBuf.h:320
@ kDxfLayerName
Definition ResBuf.h:254
@ kRtHardPointerId
Definition ResBuf.h:216
@ kDxfXTextString
Definition ResBuf.h:323
@ kDxfReal
Definition ResBuf.h:261
@ kDxfUCSOriY
Definition ResBuf.h:310
@ kDxfMstyleName
Definition ResBuf.h:236
@ kDxfTxtStyleFlags
Definition ResBuf.h:300
@ kRtAngle
Definition ResBuf.h:183
@ kRtSoftOwnershipId
Definition ResBuf.h:217
@ kDxfXRefPath
Definition ResBuf.h:231
@ kDxfViewportZoom
Definition ResBuf.h:293
@ kRtInt16
Definition ResBuf.h:182
@ kDxfViewportSnapPair
Definition ResBuf.h:298
@ kDxfXdAsciiString
Definition ResBuf.h:336
@ kRtInt32
Definition ResBuf.h:192
@ kRtDXF0
Definition ResBuf.h:203
@ kDxfTxtStylePSize
Definition ResBuf.h:267
@ kDxfText
Definition ResBuf.h:230
@ kDxfAttributeTag
Definition ResBuf.h:234
@ kDxfColor
Definition ResBuf.h:285
@ kDxfCLShapeText
Definition ResBuf.h:255
@ kRtFail
Definition ResBuf.h:174
@ kDxfThickness
Definition ResBuf.h:260
@ kDxfShapeScale
Definition ResBuf.h:274
@ kDxfSymTableRecName
Definition ResBuf.h:237
@ kDxfXReal
Definition ResBuf.h:311
void setInt8(OdInt8 iValue)
OdString getString() const
void setColor(const OdCmColor &cmColor)
OdResBufPtr getResBuf() const
static OdResBufPtr newRb(int resType, OdInt64 resVal)
Definition ResBuf.h:1429
void setInt32(OdInt32 iValue)
static OdResBufPtr newRb(int resType, const OdGePoint2d &resVal)
Definition ResBuf.h:1501
void setPoint3d(const OdGePoint3d &gePoint)
const OdGePoint3d & getPoint3d() const
static OdResBufPtr newRb(int resType, OdUInt64 resVal)
Definition ResBuf.h:1453
static OdResBufPtr newRb(int resType, const OdResBuf *pNestedRb)
Definition ResBuf.h:1743
void setString(const OdString &sValue)
OdResBufPtr setNext(OdResBuf *pRb)
GLuint index
Definition gles2_ext.h:265
OdInt32 Int32
Definition ResBuf.h:1760
OdInt64 Int64
Definition ResBuf.h:1761
double Double
Definition ResBuf.h:1762
OdInt16 Int16
Definition ResBuf.h:1759
OdUInt8 Bytes[sizeof(OdInt64)]
Definition ResBuf.h:1764
void * Pointer
Definition ResBuf.h:1763