Aspose.Tasks for C++
VbaModuleAttributeCollection.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="VbaModuleAttributeCollection.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2025 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 #include <system/details/pointer_collection_helpers.h>
10 #include <cstdint>
11 
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
13 #include "aspose.tasks.cpp/Vba/ReadOnlyCollectionBase.h"
14 #include "aspose.tasks.cpp/Vba/VbaModuleAttribute.h"
15 
16 namespace Aspose
17 {
18 namespace Tasks
19 {
20 namespace Vba
21 {
22 class VbaModuleReader;
23 } // namespace Vba
24 class VbaModule;
25 } // namespace Tasks
26 } // namespace Aspose
27 namespace System
28 {
29 namespace Collections
30 {
31 namespace Generic
32 {
33 template <typename> class IList;
34 } // namespace Generic
35 } // namespace Collections
36 } // namespace System
37 
38 namespace Aspose {
39 
40 namespace Tasks {
41 
42 /// <summary>
43 /// Represents a collection of <see cref="VbaModuleAttribute"></see> objects.
44 /// </summary>
45 class ASPOSE_TASKS_SHARED_CLASS VbaModuleAttributeCollection : public ReadOnlyCollectionBase<System::SharedPtr<VbaModuleAttribute>>
46 {
49 
50  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
51  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
52 
53  friend class VbaModule;
54  friend class Aspose::Tasks::Vba::VbaModuleReader;
55 
56 public:
57 
58  ASPOSE_TASKS_SHARED_API void SetTemplateWeakPtr(uint32_t argument) override;
59 
60 protected:
61 
62  ASPOSE_TASKS_SHARED_API VbaModuleAttributeCollection();
63 
64  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaModuleAttributeCollection, CODEPORTING_ARGS());
65 
66  ASPOSE_TASKS_SHARED_API VbaModuleAttributeCollection(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaModuleAttribute>>>& vbaModuleAttributes);
67 
68  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaModuleAttributeCollection, CODEPORTING_ARGS(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaModuleAttribute>>>& vbaModuleAttributes));
69 
70  ASPOSE_TASKS_SHARED_API virtual ~VbaModuleAttributeCollection();
71 
72 };
73 
74 } // namespace Tasks
75 } // namespace Aspose
76 
77 
Represents a read-only collection of objects.
Definition: ReadOnlyCollectionBase.h:50
Represents a collection of VbaModuleAttribute objects.
Definition: VbaModuleAttributeCollection.h:46
Represents a VBA module.
Definition: VbaModule.h:33
Aspose.
Definition: Asn.h:13