Aspose.Tasks for C++
OutlineMask.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="OutlineMask.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/string.h>
9 #include <cstdint>
10 
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
12 
13 namespace Aspose
14 {
15 namespace Tasks
16 {
17 namespace IO
18 {
19 namespace Xml
20 {
21 class OutlineCodeDefinitionXml;
22 } // namespace Xml
23 } // namespace IO
24 enum class MaskType;
25 class OutlineCodeDefinition;
26 } // namespace Tasks
27 } // namespace Aspose
28 
29 namespace Aspose {
30 
31 namespace Tasks {
32 
33 /// <summary>
34 /// Represents four elements of a mask which defines an outline code format.
35 /// </summary>
36 class ASPOSE_TASKS_SHARED_CLASS OutlineMask : public System::Object
37 {
38  typedef OutlineMask ThisType;
39  typedef System::Object BaseType;
40 
41  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
42  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
43 
44  friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionXml;
46 
47 public:
48 
49  /// <summary>
50  /// Gets the level of a mask.
51  /// </summary>
52  ASPOSE_TASKS_SHARED_API int32_t get_Level() const;
53  /// <summary>
54  /// Sets the level of a mask.
55  /// </summary>
56  ASPOSE_TASKS_SHARED_API void set_Level(int32_t value);
57  /// <summary>
58  /// Gets the type of a mask.
59  /// </summary>
60  ASPOSE_TASKS_SHARED_API MaskType get_Type() const;
61  /// <summary>
62  /// Sets the type of a mask.
63  /// </summary>
64  ASPOSE_TASKS_SHARED_API void set_Type(MaskType value);
65  /// <summary>
66  /// Gets the maximum length (in characters) of the outline code values. 0 if length is not defined.
67  /// </summary>
68  ASPOSE_TASKS_SHARED_API int32_t get_Length() const;
69  /// <summary>
70  /// Sets the maximum length (in characters) of the outline code values. 0 if length is not defined.
71  /// </summary>
72  ASPOSE_TASKS_SHARED_API void set_Length(int32_t value);
73  /// <summary>
74  /// Gets the separator of code values.
75  /// </summary>
76  ASPOSE_TASKS_SHARED_API System::String get_Separator() const;
77  /// <summary>
78  /// Sets the separator of code values.
79  /// </summary>
80  ASPOSE_TASKS_SHARED_API void set_Separator(const System::String& value);
81 
82  /// <summary>
83  /// Initializes a new instance of the <see cref="OutlineMask"></see> class.
84  /// </summary>
85  ASPOSE_TASKS_SHARED_API OutlineMask();
86 
87 protected:
88 
89  static ASPOSE_TASKS_SHARED_API const System::String& DefaultSeparator();
90 
91  ASPOSE_TASKS_SHARED_API bool get_IsDefault();
92 
93  #ifdef ASPOSE_GET_SHARED_MEMBERS
94  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
95  #endif
96 
97 
98 private:
99 
100  int32_t pr_Level;
101  MaskType pr_Type;
102  int32_t pr_Length;
103  System::String pr_Separator;
104 
105 };
106 
107 } // namespace Tasks
108 } // namespace Aspose
109 
110 
Represents an outline code definition.
Definition: OutlineCodeDefinition.h:84
Represents four elements of a mask which defines an outline code format.
Definition: OutlineMask.h:37
System::String get_Separator() const
Gets the separator of code values.
int32_t get_Length() const
Gets the maximum length (in characters) of the outline code values. 0 if length is not defined.
OutlineMask()
Initializes a new instance of the OutlineMask class.
void set_Type(MaskType value)
Sets the type of a mask.
void set_Length(int32_t value)
Sets the maximum length (in characters) of the outline code values. 0 if length is not defined.
MaskType get_Type() const
Gets the type of a mask.
void set_Level(int32_t value)
Sets the level of a mask.
int32_t get_Level() const
Gets the level of a mask.
void set_Separator(const System::String &value)
Sets the separator of code values.
Definition: Asn.h:13