PDF3DCrossSectionArray.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Annotations
14 {
15 class PDF3DCrossSection;
16 class PDF3DView;
17 } // namespace Annotations
18 class Document;
19 namespace Engine
20 {
21 namespace Data
22 {
23 class IPdfArray;
24 class ITrailerable;
25 } // namespace Data
26 } // namespace Engine
27 namespace Tests
28 {
29 namespace PDF3D
30 {
31 class PDF3DReporter;
32 } // namespace PDF3D
33 } // namespace Tests
34 } // namespace Pdf
35 } // namespace Aspose
36 namespace System
37 {
38 namespace Collections
39 {
40 namespace Generic
41 {
42 template <typename> class List;
43 } // namespace Generic
44 } // namespace Collections
45 } // namespace System
46 
47 namespace Aspose {
48 
49 namespace Pdf {
50 
51 namespace Annotations {
52 
56 class ASPOSE_PDF_SHARED_CLASS PDF3DCrossSectionArray : public System::Object
57 {
59  typedef System::Object BaseType;
60 
61  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
62  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
63 
65  friend class Aspose::Pdf::Tests::PDF3D::PDF3DReporter;
66 
67 public:
68 
73  ASPOSE_PDF_SHARED_API int32_t get_Count();
74 
79  ASPOSE_PDF_SHARED_API PDF3DCrossSectionArray(System::SharedPtr<Document> doc);
80 
85  ASPOSE_PDF_SHARED_API void Add(System::SharedPtr<PDF3DCrossSection> crossSection);
91  ASPOSE_PDF_SHARED_API void RemoveAt(int32_t index);
95  ASPOSE_PDF_SHARED_API void RemoveAll();
96 
105  ASPOSE_PDF_SHARED_API System::SharedPtr<PDF3DCrossSection> idx_get(int32_t index);
114  ASPOSE_PDF_SHARED_API void idx_set(int32_t index, System::SharedPtr<PDF3DCrossSection> value);
115 
116 protected:
117 
119 
120  System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfArray> get_CrossSectionPdfArray() const;
121  void set_CrossSectionPdfArray(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfArray> value);
123 
125 
126  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(PDF3DCrossSectionArray, CODEPORTING_ARGS(System::SharedPtr<Document> doc, System::SharedPtr<PDF3DView> view, System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfArray> crossSectionPdfArray));
127 
129 
130  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(PDF3DCrossSectionArray, CODEPORTING_ARGS(System::SharedPtr<Document> doc, System::SharedPtr<PDF3DView> view));
131  void AddToList(System::SharedPtr<PDF3DCrossSection> crossSection, int32_t objectID);
132 
133 private:
134 
139 
140  void UpdateAt(int32_t index, System::SharedPtr<PDF3DCrossSection> crossSection);
141 
142 };
143 
144 } // namespace Annotations
145 } // namespace Pdf
146 } // namespace Aspose
147 
148 
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:17
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
System::WeakPtr< PDF3DView > Pdf3DView
Definition: PDF3DCrossSectionArray.h:118
Class PDF3DCrossSectionArray.
Definition: PDF3DCrossSectionArray.h:56
Definition: signed_info.h:13
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
Subclass of System::SmartPtr which sets itself to weak mode at construction. Please note that this cl...
Definition: TextFragmentState.h:69
Class PDF3DView.
Definition: PDF3DView.h:54
Whole PDF file will be submitted.