All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MemoryFilter.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 H_FiltersMemoryFilter
6 #define H_FiltersMemoryFilter
7 
8 #include <Filters/Filter.h>
9 #include <Common/Common.h>
10 #include <C/Filters/TRN_Filter.h>
11 
12 namespace pdftron {
13  namespace Filters {
14 
22 class MemoryFilter : public Filter
23 {
24 public:
25 
26  MemoryFilter(size_t buf_sz, bool is_input);
27 
33  UChar* GetBuffer();
34 
42  void SetAsInputFilter();
43 
44 };
45 
46 
47 #include <Impl/MemoryFilter.inl>
48 
49  }; // namespace Filters
50 }; // namespace pdftron
51 
52 
53 #endif // H_FiltersMemoryFilter
MemoryFilter(size_t buf_sz, bool is_input)
TRN_UChar UChar
Definition: BasicTypes.h:12