CFx SDK Documentation  2023 SP0
AECGaInterference.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 __AECGAINTERFERENCE_H__
25 #define __AECGAINTERFERENCE_H__
26 
27 #include "Subobjects/AECImpObj.h"
28 
29 class AECDbEntity;
31 
37 class AECBASE_API AECGaInterference : public AECImpObj
38 {
40 
41  public:
46 
50  bool ApplyToInfill() const;
51 
55  bool ApplyToFrames() const;
56 
60  bool ApplyToMullions() const;
61 
62  protected:
64  union Flags
65  {
67  struct
68  {
69 #ifdef ODA_BIGENDIAN
70  OdUInt16 uUnused : 13;
71  OdUInt16 bApplyToMullions : 1;
72  OdUInt16 bApplyToFrames : 1;
73  OdUInt16 bApplyToInfill : 1;
74 #else
79 #endif
80  } m_bBits;
81  };
82 
83  protected:
84  // Soft pointer to AEC entity that is used as interference object.
86 
87  // Interference flags.
89 };
90 
93 
94 #endif // __AECGAINTERFERENCE_H__
AECSubPtr< AECGaInterference > AECGaInterferenceSubPtr
OdSmartPtr< AECGaInterference > AECGaInterferencePtr
OdSmartPtr< AECDbEntity > AECDbEntityPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned short OdUInt16
OdDbSoftPointerId m_spidAECEntity
OdDbObjectId GetInterferenceObject() const
bool ApplyToMullions() const
bool ApplyToFrames() const
bool ApplyToInfill() const