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
GA_SharedDataContext.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: GA_SharedDataContext.h (GA Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GA_SHAREDATACONTEXT_H_INCLUDED__
12
#define __GA_SHAREDATACONTEXT_H_INCLUDED__
13
14
#include "
GA_API.h
"
15
#include <
UT/UT_ArrayStringMap.h
>
16
17
class
UT_IStream
;
18
class
UT_StringRef
;
19
class
UT_SCFReader
;
20
21
///
22
/// The context stores information we can share between multiple
23
/// resolves, to allow us to keep file handles open.
24
///
25
class
GA_API
GA_SharedDataContext
26
{
27
public
:
28
GA_SharedDataContext
();
29
virtual
~
GA_SharedDataContext
();
30
31
UT_IStream
*openStream(
const
UT_StringRef
&
filename
);
32
33
private
:
34
UT_ArrayStringMap<UT_IStream *>
myIStreams;
35
UT_ArrayStringMap<UT_SCFReader *>
mySCFReaders;
36
};
37
38
#endif // __GA_SHAREDATACONTEXT_H_INCLUDED__
GT_Names::filename
GT_API const UT_StringHolder filename
UT_IStream
Definition:
UT_IStream.h:56
GA_API
#define GA_API
Definition:
GA_API.h:14
UT_StringRef
Definition:
UT_StringHolder.h:188
GA_API.h
UT_ArrayStringMap.h
UT_SCFReader
Interface for reading Seekable Compressed Format (SCF) files.
Definition:
UT_SCFReader.h:21
UT_ArrayStringMap< UT_IStream * >
GA_SharedDataContext
Definition:
GA_SharedDataContext.h:25
GA
GA_SharedDataContext.h
Generated on Tue Dec 17 2024 03:39:41 for HDK by
1.8.6