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