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
UT_uuencode.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: Stream methods to uuencode & uudecode a stream (C++)
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __UT_uuencode_h__
13
#define __UT_uuencode_h__
14
15
#include "
UT_API.h
"
16
#include <iosfwd>
17
18
class
UT_IStream
;
19
class
UT_String
;
20
21
//
22
// Encode a binary istream and write the uuencoded data to os.
23
// The file permissions are defined by mode.
24
// This will read from is until it's out of data...
25
UT_API
extern
bool
UTuuencode
(
UT_IStream
&is, std::ostream &os,
26
const
char
*
name
,
int
mode
= 0666);
27
28
//
29
// Take a uuencoded istream and write the uudecoded data to os
30
// the filename is returned in the UT_String. If the mode
31
// is not a null pointer, it will be set to the mode of the
32
// file. This will terminate when the "end" statement is reached
33
UT_API
extern
bool
UTuudecode
(
UT_IStream
&is, std::ostream &os,
34
UT_String
&
name
,
int
*
mode
= 0);
35
36
#endif
UT_IStream
Definition:
UT_IStream.h:56
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
mode
GLenum mode
Definition:
glcorearb.h:99
UTuuencode
UT_API bool UTuuencode(UT_IStream &is, std::ostream &os, const char *name, int mode=0666)
UTuudecode
UT_API bool UTuudecode(UT_IStream &is, std::ostream &os, UT_String &name, int *mode=0)
UT_String
Definition:
UT_String.h:73
UT
UT_uuencode.h
Generated on Tue Dec 17 2024 03:42:24 for HDK by
1.8.6