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-2025 by Apryse Software 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 
31  MemoryFilter(size_t buf_sz, bool is_input);
32 
38  UChar* GetBuffer();
39 
47  void SetAsInputFilter();
48 
49 };
50 
51 
52 #include <Impl/MemoryFilter.inl>
53 
54  }; // namespace Filters
55 }; // namespace pdftron
56 
57 
58 #endif // H_FiltersMemoryFilter
MemoryFilter(size_t buf_sz, bool is_input)
TRN_UChar UChar
Definition: BasicTypes.h:12