CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
property_item.h
1
2#ifndef _aspose_system_drawing_property_item_h_
3#define _aspose_system_drawing_property_item_h_
4
5#include "fwd.h"
6#include "system/array.h"
7
8namespace System { namespace Drawing { namespace Imaging {
13class ASPOSECPP_SHARED_CLASS PropertyItem : public Object
14{
15 RTTI_INFO(System::Drawing::Imaging::PropertyItem, ::System::BaseTypesInfo<System::Object>)
16
17public:
19 ASPOSECPP_SHARED_API PropertyItem();
20
22 ASPOSECPP_SHARED_API int32_t get_Id() const;
25 ASPOSECPP_SHARED_API void set_Id(int32_t value);
26
28 ASPOSECPP_SHARED_API int32_t get_Len() const;
31 ASPOSECPP_SHARED_API void set_Len(int32_t value);
32
34 ASPOSECPP_SHARED_API int16_t get_Type() const;
37 ASPOSECPP_SHARED_API void set_Type(int16_t value);
38
40 ASPOSECPP_SHARED_API ArrayPtr<uint8_t> get_Value() const;
43 ASPOSECPP_SHARED_API void set_Value(const System::ArrayPtr<uint8_t>& value);
44
45private:
47 int32_t m_id;
49 int32_t m_len;
51 int16_t m_type;
53 ArrayPtr<uint8_t> m_value;
54};
55
56}}} // System::Drawing::Imaging
57
58
59#endif // _aspose_system_drawing_color_palette_h_
Represents a metadata property to be included in an image file. Objects of this class should only be ...
Definition: property_item.h:14
ArrayPtr< uint8_t > get_Value() const
Returns the value of the property represented by the current object in bytes.
int16_t get_Type() const
Returns the type of the property represented by the current object in bytes.
void set_Type(int16_t value)
Sets the type of the property represented by the current object in bytes.
void set_Value(const System::ArrayPtr< uint8_t > &value)
Sets the type of the property represented by the current object in bytes.
void set_Len(int32_t value)
Sets the length of the property represented by the current object in bytes.
int32_t get_Id() const
Returns the ID of the property represented by the current object.
PropertyItem()
Constructs a new instance of PropertyItem class.
int32_t get_Len() const
Returns the length of the property represented by the current object in bytes.
void set_Id(int32_t value)
Sets the ID of the property represented by the current object.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9