Aspose.Tasks for C++
VbaReferenceCollection.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="VbaReferenceCollection.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/VbaReference.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="VbaReference"></see> objects.
36 /// </summary>
37 class ASPOSE_TASKS_SHARED_CLASS VbaReferenceCollection : public Aspose::Tasks::ReadOnlyCollectionBase<System::SharedPtr<Aspose::Tasks::VbaReference>>
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 VbaReferenceCollection();
54 
55  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaReferenceCollection, CODEPORTING_ARGS());
56 
57  ASPOSE_TASKS_SHARED_API VbaReferenceCollection(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaReference>>>& references);
58 
59  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(VbaReferenceCollection, CODEPORTING_ARGS(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<VbaReference>>>& references));
60 
61  virtual ASPOSE_TASKS_SHARED_API ~VbaReferenceCollection();
62 
63 };
64 
65 } // namespace Tasks
66 } // namespace Aspose
67 
68 
Represents a collection of VbaReference objects.
Definition: VbaReferenceCollection.h:37
Represents a read-only collection of objects.
Definition: ReadOnlyCollectionBase.h:40
Represents VbaProject.
Definition: VbaProject.h:47