CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECImpArray.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 __AECIMPARRAY_H__
25#define __AECIMPARRAY_H__
26
28
34class AECBASE_API AECImpArray : public AECImpObj
35{
37
38 public:
43
50 void Reserve( OdUInt32 reserveLength );
51
61 AECImpObjSubPtr operator[] ( OdUInt32 iIndex ) const;
62
73
80 OdUInt32 Insert( AECImpObj* pSubobject );
81
88 OdUInt32 Insert( OdUInt32 iIndex, AECImpObj* pSubobject );
89
94
98 OdUInt32 Find( AECImpObj* pObj ) const;
99
104
108 void Clear();
109
110 protected:
111 // Contains the set of pointer to AEC sub-objects.
112 // Their types are restricted to be inherited from AECImpObj.
114};
115
118
119#endif //__AECIMPARRAY_H__
AECSubPtr< AECImpArray > AECImpArraySubPtr
Definition: AECImpArray.h:117
OdSmartPtr< AECImpArray > AECImpArrayPtr
Definition: AECImpArray.h:116
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
OdUInt32 Insert(AECImpObj *pSubobject)
OdUInt32 Insert(OdUInt32 iIndex, AECImpObj *pSubobject)
OdArray< AECImpObjPtr > m_aSubObjects
Definition: AECImpArray.h:113
OdUInt32 Find(AECImpObj *pObj) const
void Reserve(OdUInt32 reserveLength)
OdUInt32 GetSize() const
void Clear()
AECImpObjPtr RemoveAt(OdUInt32 iIndex)
OdUInt32 Remove(AECImpObj *pObj)
AECImpObjSubPtr GetAt(OdUInt32 iIndex) const