CFx SDK Documentation  2022 SP0
daiEntityExtent.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, 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 Open Design Alliance software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Open Design Alliance Copyright (C) 2002-2019 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 #include "OdaCommon.h"
25 #include "RxObject.h"
26 #include "daiModule.h"
27 #include "daiObjectId.h"
28 #include "daiSessionInstance.h"
29 #include "daiEntity.h"
30 #include "daiAggr.h"
31 
32 #ifndef _DAI_ENTITY_EXTENT_H_
33 #define _DAI_ENTITY_EXTENT_H_
34 
38 namespace OdDAI {
39 
45  {
46  public:
47 
48  //DOM-IGNORE-BEGIN
50  //DOM-IGNORE-END
51 
55  const OdDAIObjectIds instances() const { return m_instances.getArray(); };
56 
62  void instances(OdDAIObjectIds& instances) { m_instances = instances; };
63 
67  OdDAIObjectIdAggr* instances() { return &m_instances; };
68 
72  const EntityPtr definition() const { return m_definition; };
73 
79  void definition(EntityPtr definition) { m_definition = definition; };
80 
84  const OdAnsiString name() const { return m_definition->name(); };
85 
86 //DOM-IGNORE-BEGIN
87  private:
88 
89  EntityPtr m_definition;
90  OdDAIObjectIdAggr m_instances;
91  friend class ModelContents;
92 //DOM-IGNORE-END
93 
94  };
96 
97 }
98 
99 #endif // _DAI_ENTITY_EXTENT_H_
void definition(EntityPtr definition)
const EntityPtr definition() const
ODRX_DECLARE_MEMBERS(OdEntityExtent)
const OdDAIObjectIds instances() const
const OdAnsiString name() const
OdDAIObjectIdAggr * instances()
void instances(OdDAIObjectIds &instances)
#define DAI_EXPORT
OdSmartPtr< OdEntityExtent > OdEntityExtentPtr