MemoryFilter.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------------------
00002 // Copyright (c) 2001-2008 by PDFTron Systems Inc. All Rights Reserved.
00003 // Consult legal.txt regarding legal and license information.
00004 //---------------------------------------------------------------------------------------
00005 
00006 #ifndef   H_FilterMemoryFilter
00007 #define   H_FilterMemoryFilter
00008 
00009 
00010 #include <Filters/Filter.h>
00011 #include <Common/Common.h>
00012 #include <C/Filters/TRN_Filter.h>
00013 
00014 namespace pdftron { 
00015         namespace Filters {
00016 
00024 class MemoryFilter : public Filter
00025 {
00026 public:
00027 
00028         MemoryFilter(ULong buf_sz, bool is_input);
00029 
00035         UChar* GetBuffer();
00036 
00044         void SetAsInputFilter();
00045 
00046 };
00047 
00048 
00049 #include <Impl/MemoryFilter.inl>
00050 
00051         };      // namespace Filters
00052 };      // namespace pdftron
00053 
00054 
00055 #endif
00056 

© 2002-2008 PDFTron Systems Inc.