CFx SDK Documentation  2020SP3
DbBlockParameter.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 _DbBlockParameter_h_Included_
25 #define _DbBlockParameter_h_Included_
26 
27 #include "TD_PackPush.h"
28 
29 #include "DbBlockElement.h"
30 #include "DbEvalGraph.h"
31 #include "Ge/GeMatrix3d.h"
32 #include "DbDynBlockReference.h"
33 
34 class OdDbBlockGrip;
37 
43 {
49  bool m_bVisible;
54 };
56 
66 {
67 public:
70  {
72  End,
75  InvalidComponent
76  };
77  //virtual void removedFromGraph( OdDbEvalGraph* );
78 
81  virtual OdResBufPtr getPropertyValue( const OdString& )const;
82  virtual OdResBufPtr getPropertyValue( const OdString&, const OdGeMatrix3d& )const;
83 
84  //virtual void gripErased( ParameterComponent );
85  //virtual bool historyRequired() const;
86  //static bool isPropertyLabelUnique( OdDbEvalGraph*, const OdString &, class OdString* );
87  //virtual void getGrips( OdDbBlockGripPtrArray&, OdDb::OpenMode );
88  //virtual int getNumberOfGrips() const;
89 
91 
92  //virtual void removeGrip( ParameterComponent );
93  //virtual void resetGrips();
94  //virtual void setNumberOfGrips( int );
95 
96  virtual bool setPropertyValue( const OdString&, const OdResBuf* );
97  virtual bool setPropertyValue( const OdString&, const OdGeMatrix3d&, const OdResBuf* );
98  virtual bool chainActions()const;
99  virtual void setChainActions( bool );
100  virtual bool showProperties()const;
101  virtual void setShowProperties( bool );
103 };
104 
106 
107 #include "TD_PackPop.h"
108 
109 #endif // _DbBlockParameter_h_Included_
OdDbBlkParamPropertyDescriptor::OdDbBlkParamPropertyDescriptor
OdDbBlkParamPropertyDescriptor()
OdString
Definition: OdString.h:95
DbDynBlockReference.h
OdDbBlockParameter::addGrip
OdDbEvalNodeId addGrip(ParameterComponent)
OdDbBlockParameter::setChainActions
virtual void setChainActions(bool)
OdDbBlockParameter::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockParameter)
OdDbBlockParameter::ParameterComponent
ParameterComponent
Definition: DbBlockParameter.h:70
OdResBuf
Definition: ResBuf.h:112
OdDbBlkParamPropertyDescriptor::m_bVisible
bool m_bVisible
Definition: DbBlockParameter.h:49
DYNBLOCKS_EXPORT
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
OdDbBlockParameter::getComponentForGrip
virtual ParameterComponent getComponentForGrip(OdDbEvalNodeId)
OdDbBlockParameter::getPropertyValue
virtual OdResBufPtr getPropertyValue(const OdString &) const
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdDbBlockElement
Definition: DbBlockElement.h:51
OdGeMatrix3d
Definition: GeMatrix3d.h:73
DbBlockElement.h
OdDbBlkParamPropertyDescriptor::m_pAllowedValues
OdResBufArray m_pAllowedValues
Definition: DbBlockParameter.h:53
OdDbBlkParamPropertyDescriptorArray
OdArray< OdDbBlkParamPropertyDescriptor > OdDbBlkParamPropertyDescriptorArray
Definition: DbBlockParameter.h:55
OdDbBlkParamPropertyDescriptor::m_bReadonly
bool m_bReadonly
Definition: DbBlockParameter.h:48
OdDbEvalNodeId
unsigned long OdDbEvalNodeId
Definition: DbEvalGraph.h:60
OdDbBlkParamPropertyDescriptor::m_nType
OdResBuf::ValueType m_nType
Definition: DbBlockParameter.h:47
OdDbBlkParamPropertyDescriptor::m_sConnection
OdString m_sConnection
Definition: DbBlockParameter.h:46
OdDbBlkParamPropertyDescriptor::m_nUnitsType
OdDbDynBlockReferenceProperty::UnitsType m_nUnitsType
Definition: DbBlockParameter.h:52
OdDbBlockGrip
Definition: DbBlockGrips.h:57
OdSmartPtr
Definition: SmartPtr.h:58
OdDbDynBlockReferenceProperty::UnitsType
UnitsType
Definition: DbDynBlockReference.h:56
OdDbBlockParameter::getPropertyDescription
virtual void getPropertyDescription(OdDbBlkParamPropertyDescriptorArray &) const
OdDbBlockParameter::getPropertyConnectionName
virtual OdString getPropertyConnectionName(const OdString &) const
OdDbBlockParameter::setPropertyValue
virtual bool setPropertyValue(const OdString &, const OdGeMatrix3d &, const OdResBuf *)
OdDbBlockParameter::End
@ End
Definition: DbBlockParameter.h:72
OdDbBlockParameter::setShowProperties
virtual void setShowProperties(bool)
OdDbBlkParamPropertyDescriptor::m_sDescription
OdString m_sDescription
Definition: DbBlockParameter.h:50
OdDbBlkParamPropertyDescriptor
Definition: DbBlockParameter.h:43
TD_PackPush.h
OdResBuf::ValueType
ValueType
Definition: ResBuf.h:171
OdDbBlockParameterPtr
OdSmartPtr< OdDbBlockParameter > OdDbBlockParameterPtr
Definition: DbBlockParameter.h:105
OdDbBlockParameter::Base
@ Base
Definition: DbBlockParameter.h:71
OdDbBlkParamPropertyDescriptor::m_bListPresent
bool m_bListPresent
Definition: DbBlockParameter.h:51
OdDbBlockParameter::setPropertyValue
virtual bool setPropertyValue(const OdString &, const OdResBuf *)
OdDbBlkParamPropertyDescriptor::m_sName
OdString m_sName
Definition: DbBlockParameter.h:45
GeMatrix3d.h
OdDbBlockGripPtrArray
OdArray< OdDbBlockGripPtr, OdMemoryAllocator< OdDbBlockGripPtr > > OdDbBlockGripPtrArray
Definition: DbBlockParameter.h:36
OdDbBlockParameter::BaseXEndY
@ BaseXEndY
Definition: DbBlockParameter.h:73
DbEvalGraph.h
OdDbBlockParameter::getPropertyValue
virtual OdResBufPtr getPropertyValue(const OdString &, const OdGeMatrix3d &) const
OdDbBlockParameter::showProperties
virtual bool showProperties() const
OdDbBlockParameter::EndXBaseY
@ EndXBaseY
Definition: DbBlockParameter.h:74
OdDbBlockParameter::chainActions
virtual bool chainActions() const
OdDbBlockParameter
Definition: DbBlockParameter.h:66
OdDbBlockGripPtr
OdSmartPtr< OdDbBlockGrip > OdDbBlockGripPtr
Definition: DbBlockParameter.h:34