Aspose.Tasks for C++
VbaModuleCollection.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="VbaModuleCollection.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/VbaModule.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 class VbaProject;
17 } // namespace Tasks
18 } // namespace Aspose
19 namespace System
20 {
21 namespace Collections
22 {
23 namespace Generic
24 {
25 template <typename> class IList;
26 } // namespace Generic
27 } // namespace Collections
28 } // namespace System
29 
30 namespace Aspose {
31 
32 namespace Tasks {
33 
34 /// <summary>
35 /// Represents a collection of <see cref="VbaModule"></see> objects.
36 /// </summary>
37 class ASPOSE_TASKS_SHARED_CLASS VbaModuleCollection : public Aspose::Tasks::ReadOnlyCollectionBase<System::SharedPtr<Aspose::Tasks::VbaModule>>
38 {
41 
42  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
43  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
44 
45  friend class Aspose::Tasks::VbaProject;
46 
47 public:
48 
49  ASPOSE_TASKS_SHARED_API void SetTemplateWeakPtr(uint32_t argument) override;
50 
51 protected:
52 
53  ASPOSE_TASKS_SHARED_API VbaModuleCollection();
54 
55  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaModuleCollection, CODEPORTING_ARGS());
56 
57  ASPOSE_TASKS_SHARED_API VbaModuleCollection(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaModule>>>& vbaModules);
58 
59  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaModuleCollection, CODEPORTING_ARGS(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaModule>>>& vbaModules));
60 
61  virtual ASPOSE_TASKS_SHARED_API ~VbaModuleCollection();
62 
63 };
64 
65 } // namespace Tasks
66 } // namespace Aspose
67 
68 
Represents a read-only collection of objects.
Definition: ReadOnlyCollectionBase.h:41
Represents a collection of VbaModule objects.
Definition: VbaModuleCollection.h:38
Represents VbaProject.
Definition: VbaProject.h:48
Definition: Asn.h:13