All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MappedFile.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPFiltersMappedFile
6 #define PDFTRON_H_CPPFiltersMappedFile
7 
8 #include <Common/UString.h>
9 #include <Filters/Filter.h>
10 #include <Common/Common.h>
11 #include <C/Filters/TRN_Filter.h>
12 
13 namespace pdftron {
14  namespace Filters {
15 
37 class MappedFile : public Filter
38 {
39 public:
40 
44  MappedFile (const UString& filename);
45 
46 
52  bool operator == (const MappedFile& f) const;
53 
59  static bool Equivalent( const UString& ph1, const UString& ph2);
60 
64  size_t FileSize();
65 
66 
67 };
68 
69 #include <Impl/MappedFile.inl>
70 
71  }; // namespace Filters
72 }; // namespace pdftron
73 
74 #endif // PDFTRON_H_CPPFiltersMappedFile
MappedFile(const UString &filename)
bool operator==(const MappedFile &f) const
static bool Equivalent(const UString &ph1, const UString &ph2)