All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ByteRange.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 
6 
7 #ifndef PDFTRON_H_CPPCommonByteRange
8 #define PDFTRON_H_CPPCommonByteRange
9 #include <C/Common/TRN_ByteRange.h>
10 
11 #include <Common/BasicTypes.h>
12 #include <Common/UString.h>
13 #include <PDF/PDFDoc.h>
14 
15 namespace pdftron { namespace Common {
16 
17 
21 class ByteRange : public TRN_ByteRange
22 {
23 public:
24 
30  UInt64 GetStartOffset() const;
31 
37  UInt64 GetEndOffset() const;
38 
44  UInt64 GetSize() const;
45 
46 };
47 
48 #include <Impl/ByteRange.inl>
49 } //end pdftron
50 } //end Common
51 
52 
53 #endif //PDFTRON_H_CPPCommonByteRange
UInt64 GetStartOffset() const
TRN_UInt64 UInt64
Definition: BasicTypes.h:21
UInt64 GetEndOffset() const