HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FS_WriteFilterFactory.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: FS_WriteFilterFactory.h ( FS Library, C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __FS_WriteFilterFactory__
13
#define __FS_WriteFilterFactory__
14
15
#include "
FS_API.h
"
16
#include <
SYS/SYS_Types.h
>
17
18
class
UT_StreamBufferFilter
;
19
class
FS_IStreamFilterFactory
;
20
21
// This class provides means to create filters that are applied when the index
22
// file writes itself out to the output stream.
23
class
FS_API
FS_WriteFilterFactory
24
{
25
public
:
26
// Standard constructor and destructor.
27
FS_WriteFilterFactory
();
28
virtual
~
FS_WriteFilterFactory
();
29
30
/// Get the amount of memory owned by this FS_WriteFilterFactory
31
virtual
int64
getMemoryUsage(
bool
inclusive)
const
= 0;
32
33
/// This method instantiates an write filter. The filter is used on each
34
/// section, when the index file writes them out to the output stream.
35
virtual
UT_StreamBufferFilter
*createBufferFilter()
const
= 0;
36
37
/// Instantiates a identical copy of this class object.
38
virtual
FS_WriteFilterFactory
*cloneFilterFactory()
const
= 0;
39
40
/// Returns the size of filtered data based on its original unfiltred size.
41
virtual
int
getFilteredSize(
int
size
);
42
43
/// Returns true if this write filter matches the specified read filter.
44
virtual
bool
matches(
const
FS_IStreamFilterFactory
*
f
)
const
= 0;
45
};
46
47
#endif
48
size
GLsizeiptr size
Definition:
glcorearb.h:663
FS_API.h
SYS_Types.h
int64
long long int64
Definition:
SYS_Types.h:116
FS_IStreamFilterFactory
Definition:
FS_IStreamFilterFactory.h:23
FS_WriteFilterFactory
Definition:
FS_WriteFilterFactory.h:23
f
GLfloat f
Definition:
glcorearb.h:1925
UT_StreamBufferFilter
Definition:
UT_NTStreamUtil.h:278
FS_API
#define FS_API
Definition:
FS_API.h:10
FS
FS_WriteFilterFactory.h
Generated on Wed Jul 6 2022 05:41:08 for HDK by
1.8.6