ICMapCodeSpaceRange.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/details/array_view.h>
5 #include <system/array.h>
6 #include <cstdint>
7 
8 namespace Aspose {
9 
10 namespace Pdf {
11 
12 namespace Engine {
13 
14 namespace CommonData {
15 
16 namespace Text {
17 
18 namespace CMaps {
19 
24 {
26  typedef System::Object BaseType;
27 
28  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
29  RTTI_INFO_DECL();
30 
31 public:
32 
38  virtual bool IsInRange(uint8_t value) = 0;
45  virtual bool IsInRange(System::ArrayPtr<uint8_t> values, int32_t length) = 0;
51  virtual bool IsInRange(char16_t value) = 0;
58  virtual bool IsInRange(System::ArrayPtr<char16_t> values, int32_t length) = 0;
67  virtual bool HasPartialMatch(System::ArrayPtr<uint8_t> values, int32_t size) = 0;
72  virtual int32_t GetSize() = 0;
78  virtual void GetAllBytes(System::Details::ArrayView<uint8_t> start, System::Details::ArrayView<uint8_t> end) = 0;
79 
80 };
81 
82 } // namespace CMaps
83 } // namespace Text
84 } // namespace CommonData
85 } // namespace Engine
86 } // namespace Pdf
87 } // namespace Aspose
88 
89 
Declares a functionality for codespace ranges used by all CMaps.
Definition: ICMapCodeSpaceRange.h:23
virtual int32_t GetSize()=0
Returns size for codespace range
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
virtual bool IsInRange(uint8_t value)=0
Detects is passed code belongs to codespace range.
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
virtual bool HasPartialMatch(System::ArrayPtr< uint8_t > values, int32_t size)=0
Detects is the passed raw code represented in byte array form has a partial match with CMap&#39;s codespa...
virtual void GetAllBytes(System::Details::ArrayView< uint8_t > start, System::Details::ArrayView< uint8_t > end)=0
Gets codespace range data - all start and end bytes.
Whole PDF file will be submitted.