CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbDictionaryVar.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
25
26
27#ifndef OD_DBDICTIONARYVAR_H
28#define OD_DBDICTIONARYVAR_H
29
30#include "TD_PackPush.h"
31
32#include "DbObject.h"
33
42{
43public:
45
47
52
57 void setSchema(OdInt16 schemaNumber);
58
62 OdString value() const;
63
69 bool valueAs(OdString& val) const { val = value(); return true; }
70
76 bool valueAs(int& val) const;
77
83 bool valueAs(bool& val) const;
84
90 bool valueAs(double& val) const;
91
97 bool valueAs(OdGePoint2d& val) const;
98
104 bool valueAs(OdGePoint3d& val) const;
105
110 void setValue(const OdString& val);
111
116 void setValue(int val);
117
122 void setValue(bool val);
123
128 void setValue(double val);
129
134 void setValue(const OdGePoint2d& val);
135
140 void setValue(const OdGePoint3d& val);
141
142 virtual OdResult dxfIn(OdDbDxfFiler* pFiler);
143
145
146 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
147
149
150 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
151
152};
153
158
159#include "TD_PackPop.h"
160
161#endif // OD_DBDICTIONARYVAR_H
162
OdSmartPtr< OdDbDictionaryVar > OdDbDictionaryVarPtr
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
short OdInt16
OdResult
Definition: OdResult.h:29
bool valueAs(bool &val) const
void setSchema(OdInt16 schemaNumber)
void setValue(const OdString &val)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool valueAs(double &val) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdString value() const
void setValue(double val)
void setValue(bool val)
bool valueAs(OdGePoint3d &val) const
bool valueAs(OdString &val) const
ODDB_DECLARE_MEMBERS(OdDbDictionaryVar)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdInt16 getSchema() const
virtual OdResult dxfIn(OdDbDxfFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setValue(const OdGePoint2d &val)
void setValue(const OdGePoint3d &val)
bool valueAs(int &val) const
void setValue(int val)
bool valueAs(OdGePoint2d &val) const
GLsizei const GLfloat * value
Definition: gles2_ext.h:302