CFx SDK Documentation  2020SP3
DbBlockParamValueSet.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 _DbBlockParamValueSet_h_Included_
25 #define _DbBlockParamValueSet_h_Included_
26 
27 #include "TD_PackPush.h"
28 
29 #include "Ge/GeDoubleArray.h"
30 #include "RxObjectImpl.h"
31 #include "DbEvalGraph.h"
32 class OdDbBlockParamValueSetImpl;
33 
34 #ifdef OD_HAVE_MATH_FILE
35 #include <math.h>
36 #endif
37 
38 #ifdef OD_HAVE_COMPLEX_FILE
39 #include <complex>
40 #endif
41 
50 {
51 protected:
53 public:
59  void assign(const OdDbBlockParamValueSet& vs){ *this = vs; }
60  bool angDir()const ;
61  bool angular()const ;
62  virtual double closestLegalValue(double value , double initial)const ;
64  virtual void dwgOutFieldsHelper(OdDbDwgFiler *)const ;
65  virtual void dxfInFieldsHelper(OdDbDxfFiler *,short,short,short,short);
66  virtual void dxfOutFieldsHelper(OdDbDxfFiler *,short,short,short,short)const ;
67  double increment()const ;
68  double maximum()const ;
69  double minimum()const ;
70  void setAngDir(bool);
71  void setAngular(bool);
72  void setIncrement(double);
73  void setIncrement(double,bool);
74  void setMaximum(double);
75  void setMaximum(double,bool);
76  void setMinimum(double);
77  void setMinimum(double,bool);
78  void setUseIncrement(bool);
79  void setUseMaximum(bool);
80  void setUseMinimum(bool);
81  void setUseValueList(bool);
83  void setValueList(OdGeDoubleArray const &,bool);
85  void updateValue(double);
86  bool useIncrement()const ;
87  bool useMaximum()const ;
88  bool useMinimum()const ;
89  bool useValueList()const ;
90  virtual bool valueIsLegal(double,double)const ;
92 private:
93  OdDbBlockParamValueSetImpl* m_pImpl;
94 };
95 
97 
98 #include "TD_PackPop.h"
99 
100 #endif // _DbBlockParamValueSet_h_Included_
OdDbBlockParamValueSet::sortedValueListIncluding
OdGeDoubleArray sortedValueListIncluding(double) const
OdDbBlockParamValueSet::useMinimum
bool useMinimum() const
OdDbBlockParamValueSet::setMinimum
void setMinimum(double, bool)
OdDbBlockParamValueSet::setUseMaximum
void setUseMaximum(bool)
OdDbBlockParamValueSet::useIncrement
bool useIncrement() const
DYNBLOCKS_EXPORT
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
OdDbBlockParamValueSet::setValueList
void setValueList(OdGeDoubleArray const &, bool)
OdRxObject
Definition: RxObject.h:564
OdDbBlockParamValueSet::setMinimum
void setMinimum(double)
OdDbBlockParamValueSet::maximum
double maximum() const
OdArray< double, OdMemoryAllocator< double > >
OdDbBlockParamValueSet::OdDbBlockParamValueSet
OdDbBlockParamValueSet(void *)
TD_PackPop.h
OdDbBlockParamValueSet::dxfOutFieldsHelper
virtual void dxfOutFieldsHelper(OdDbDxfFiler *, short, short, short, short) const
OdDbBlockParamValueSet::angDir
bool angDir() const
OdDbBlockParamValueSet::updateValue
void updateValue(double)
OdDbBlockParamValueSet::closestLegalValue
virtual double closestLegalValue(double value, double initial) const
OdSmartPtr
Definition: SmartPtr.h:58
OdDbBlockParamValueSet::setUseValueList
void setUseValueList(bool)
OdDbBlockParamValueSet::OdDbBlockParamValueSet
OdDbBlockParamValueSet(const OdDbBlockParamValueSet &)
OdDbBlockParamValueSet::setMaximum
void setMaximum(double)
OdDbBlockParamValueSet::setAngDir
void setAngDir(bool)
OdDbBlockParamValueSet::operator=
class OdDbBlockParamValueSet & operator=(const OdDbBlockParamValueSet &)
OdDbBlockParamValueSet
Definition: DbBlockParamValueSet.h:50
OdDbBlockParamValueSet::useMaximum
bool useMaximum() const
OdDbBlockParamValueSet::useValueList
bool useValueList() const
OdDbBlockParamValueSet::setIncrement
void setIncrement(double, bool)
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbBlockParamValueSet::valueList
OdGeDoubleArray valueList() const
TD_PackPush.h
OdDbBlockParamValueSet::assign
void assign(const OdDbBlockParamValueSet &vs)
Definition: DbBlockParamValueSet.h:59
OdDbBlockParamValueSet::dwgOutFieldsHelper
virtual void dwgOutFieldsHelper(OdDbDwgFiler *) const
OdDbBlockParamValueSet::valueIsLegal
virtual bool valueIsLegal(double, double) const
OdDbBlockParamValueSet::setUseMinimum
void setUseMinimum(bool)
OdDbBlockParamValueSetPtr
OdSmartPtr< OdDbBlockParamValueSet > OdDbBlockParamValueSetPtr
Definition: DbBlockParamValueSet.h:96
OdDbBlockParamValueSet::~OdDbBlockParamValueSet
virtual ~OdDbBlockParamValueSet()
OdDbBlockParamValueSet::setIncrement
void setIncrement(double)
OdDbBlockParamValueSet::increment
double increment() const
OdDbBlockParamValueSet::dxfInFieldsHelper
virtual void dxfInFieldsHelper(OdDbDxfFiler *, short, short, short, short)
value
GLsizei const GLfloat * value
Definition: gles2_ext.h:302
OdDbBlockParamValueSet::OdDbBlockParamValueSet
OdDbBlockParamValueSet()
OdDbBlockParamValueSet::setMaximum
void setMaximum(double, bool)
OdDbBlockParamValueSet::setAngular
void setAngular(bool)
OdDbBlockParamValueSet::minimum
double minimum() const
RxObjectImpl.h
OdDbBlockParamValueSet::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbBlockParamValueSet)
OdDbBlockParamValueSet::angular
bool angular() const
DbEvalGraph.h
OdDbBlockParamValueSet::dwgInFieldsHelper
virtual void dwgInFieldsHelper(OdDbDwgFiler *)
OdDbBlockParamValueSet::setValueList
void setValueList(OdGeDoubleArray const &)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbBlockParamValueSet::setUseIncrement
void setUseIncrement(bool)
GeDoubleArray.h