CFx SDK Documentation
2020SP3
SDK
CFx
dd_inc
DynamicBlocks
DbConstraintsInterfacePE.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 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 _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
25
#define _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
27
#include "DbExport.h"
28
#include "
DbObject.h
"
29
30
// this is temporary internal interface between dynamic blocks and constraints
32
struct
TOOLKIT_EXPORT
OdDbConstraintsInterfacePE
:
OdRxObject
33
{
34
ODRX_DECLARE_MEMBERS
(
OdDbConstraintsInterfacePE
);
35
virtual
OdResult
getAssocVariableName
(
const
OdDbObject
* pObject,
OdString
&
name
);
36
virtual
OdResult
getAssocVariableValue
(
const
OdDbObject
* pObject,
OdDbObjectId
blockId,
OdResBufPtr
&
value
);
37
virtual
OdResult
setAssocVariableValue
(
const
OdDbObject
* pObject,
OdDbObjectId
blockId,
const
OdResBuf
*
value
);
38
};
39
41
typedef
OdSmartPtr<OdDbConstraintsInterfacePE>
OdDbConstraintsInterfacePEPtr
;
42
43
#endif // _ODDBCONSTRAINTSINTERFACEPE_INCLUDED_
OdResult
OdResult
Definition:
OdResult.h:29
OdString
Definition:
OdString.h:95
OdDbConstraintsInterfacePE
Definition:
DbConstraintsInterfacePE.h:33
name
GLuint const GLchar * name
Definition:
gles2_ext.h:265
OdDbConstraintsInterfacePE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbConstraintsInterfacePE)
DbObject.h
OdResBuf
Definition:
ResBuf.h:112
OdRxObject
Definition:
RxObject.h:564
OdDbObjectId
Definition:
DbObjectId.h:99
OdSmartPtr< OdResBuf >
OdDbConstraintsInterfacePEPtr
OdSmartPtr< OdDbConstraintsInterfacePE > OdDbConstraintsInterfacePEPtr
Definition:
DbConstraintsInterfacePE.h:41
value
GLsizei const GLfloat * value
Definition:
gles2_ext.h:302
OdDbConstraintsInterfacePE::setAssocVariableValue
virtual OdResult setAssocVariableValue(const OdDbObject *pObject, OdDbObjectId blockId, const OdResBuf *value)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition:
DbExport.h:40
OdDbConstraintsInterfacePE::getAssocVariableName
virtual OdResult getAssocVariableName(const OdDbObject *pObject, OdString &name)
OdDbObject
Definition:
DbObject.h:211
OdDbConstraintsInterfacePE::getAssocVariableValue
virtual OdResult getAssocVariableValue(const OdDbObject *pObject, OdDbObjectId blockId, OdResBufPtr &value)
Generated on Mon Oct 12 2020 11:49:30