CFx SDK Documentation  2023 SP0
AECDbScheduleTable.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 __AECDBSCHEDULETABLE_H__
25 #define __AECDBSCHEDULETABLE_H__
26 
27 #include "DbEntity/AECDbGeo.h"
28 
29 class AECDbScheduleTable;
31 
37 class AECSCHEDULE_API AECDbScheduleTable : public AECDbGeo
38 {
40 
41  public:
47 
54  OdDbObjectId GetEntryByIndex( const OdUInt32 iIndex ) const;
55 
59  void AddEntry( const OdDbObjectId& idEntry );
60 
64  void RemoveEntry( const OdDbObjectId& idEntry );
65 
70 
74  bool IsAutomaticUpdate() const;
75 
79  void SetIsAutomaticUpdate( bool bIsAutomaticUpdate );
80 
85 
89  void SetIsAddNewObjectsAutomatically( bool bIsAddNewObjectsAutomatically );
90 
94  bool IsScanBlockReferences() const;
95 
99  void SetIsScanBlockReferences( bool bIsScanBlockReferences );
100 
104  bool IsScanScanXRefs() const;
105 
109  void SetIsScanScanXRefs( bool bIsScanScanXRefs );
110 
114  const OdString& GetLayerWildcard() const;
115 
119  void SetLayerWildcard( const OdString& strLayerWildcard );
120 
124  double GetScale() const;
125 
129  void SetScale( double dScale );
130 
135  bool IsDownDirection() const;
136 
141  void SetIsDownDirection( bool bIsDownDirection );
142 
146  bool IsRepeatTitle() const;
147 
151  void SetIsRepeatTitle( bool bIsRepeatTitle );
152 
156  bool IsRepeatHeaders() const;
157 
161  void SetIsRepeatHeaders( bool bIsRepeatHeaders );
162 
166  bool IsManualHeights() const;
167 
171  void SetIsManualHeights( bool bIsManualHeights );
172 
176  double GetSpacing() const;
177 
181  void SetSpacing( double dSpacing );
182 
187  double GetMaximumHeight() const;
188 
193  void SetMaximumHeight( double dMaximumHeight );
194 
198  std::vector< double > GetManualHeights() const;
199 
203  void SetManualHeights( const std::vector< double >& vManualHeights );
204 
209 
213  void SetIsScheduleExternalDrawing( bool bIsScheduleExternalDrawing );
214 
218  const OdString& GetReferencePath() const;
219 
223  void SetReferencePath( const OdString& strReferencePath );
224 
228  const OdString& GetTitle() const;
229 
233  void SetTitle( const OdString& strTitle );
234 
242  void Update();
243 
244  public:
252  const OdDbObjectId& idScheduleTableStyle );
253 };
254 
255 #endif // __AECDBSCHEDULETABLE_H__
OdSmartPtr< AECDbScheduleTable > AECDbScheduleTablePtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
double GetSpacing() const
OdDbObjectId GetEntryByIndex(const OdUInt32 iIndex) const
double GetScale() const
void SetIsRepeatHeaders(bool bIsRepeatHeaders)
bool IsManualHeights() const
void SetIsRepeatTitle(bool bIsRepeatTitle)
void SetTitle(const OdString &strTitle)
bool IsAddNewObjectsAutomatically() const
void SetReferencePath(const OdString &strReferencePath)
bool IsScheduleExternalDrawing() const
const OdString & GetReferencePath() const
bool IsRepeatTitle() const
void RemoveEntry(const OdDbObjectId &idEntry)
bool IsScanScanXRefs() const
bool IsDownDirection() const
static AECDbScheduleTablePtr CreateAECObject(const OdDbObjectId &idBlock, const OdDbObjectId &idScheduleTableStyle)
double GetMaximumHeight() const
bool IsRepeatHeaders() const
void AddEntry(const OdDbObjectId &idEntry)
const OdString & GetTitle() const
bool IsAutomaticUpdate() const
const OdString & GetLayerWildcard() const
void SetIsManualHeights(bool bIsManualHeights)
void SetLayerWildcard(const OdString &strLayerWildcard)
void SetManualHeights(const std::vector< double > &vManualHeights)
void SetSpacing(double dSpacing)
std::vector< double > GetManualHeights() const
bool IsScanBlockReferences() const
void SetIsDownDirection(bool bIsDownDirection)
void SetIsScheduleExternalDrawing(bool bIsScheduleExternalDrawing)
void SetIsScanScanXRefs(bool bIsScanScanXRefs)
void SetIsAddNewObjectsAutomatically(bool bIsAddNewObjectsAutomatically)
void SetIsScanBlockReferences(bool bIsScanBlockReferences)
OdUInt32 GetEntryCount() const
void SetScale(double dScale)
void SetMaximumHeight(double dMaximumHeight)
void SetIsAutomaticUpdate(bool bIsAutomaticUpdate)