GeneralFormatCollection.h
1 // Copyright 2001-2022 Aspose Pty Ltd. All Rights Reserved.
3 //
4 // This file is part of Aspose.Words. The source code in this file
5 // is only intended as a supplement to the documentation, and is provided
6 // "as is", without warranty of any kind, either expressed or implied.
9 #pragma once
10 
11 #include <system/shared_ptr.h>
12 #include <system/collections/ienumerator.h>
13 #include <system/collections/ienumerable.h>
14 #include <cstdint>
15 
16 #include <Aspose.Words.Cpp/Fields/GeneralFormat.h>
17 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
18 
19 namespace System
20 {
21 class String;
22 }
23 
24 namespace Aspose {
25 
26 namespace Words {
27 
28 namespace Fields {
29 
95 class ASPOSE_WORDS_SHARED_CLASS GeneralFormatCollection : public System::Collections::Generic::IEnumerable<Aspose::Words::Fields::GeneralFormat>
96 {
99 
100  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
101  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
102 
103 private:
104 
105 public:
106 
172  ASPOSE_WORDS_SHARED_API int32_t get_Count();
173 
241  ASPOSE_WORDS_SHARED_API void Add(Aspose::Words::Fields::GeneralFormat item);
242 
310  ASPOSE_WORDS_SHARED_API void Remove(Aspose::Words::Fields::GeneralFormat item);
311 
377  ASPOSE_WORDS_SHARED_API void RemoveAt(int32_t index);
378 
448  ASPOSE_WORDS_SHARED_API Aspose::Words::Fields::GeneralFormat idx_get(int32_t index);
449 
516 
517 protected:
518 
519  virtual ASPOSE_WORDS_SHARED_API ~GeneralFormatCollection();
520 
521 private:
522 
524 
525 };
526 
527 }
528 }
529 }