#include "UT_API.h"#include <stdio.h>#include <fstream.h>#include <SYS/SYS_Types.h>#include "UT_TmpDir.h"#include <iostream.h>#include <strstream.h>Go to the source code of this file.
Classes | |
| class | UT_OStrStream |
| class | UT_TempStream |
| class | UT_StreamBufferFilter |
Defines | |
| #define | NTBinaryMode (std::ios::openmode)0 |
| #define | UT_NoCreate (std::ios::openmode)0 |
| #define | DECLARE_PORTABLE_RW(type) |
Typedefs | |
| typedef int | UT_EnumType |
Enumerations | |
| enum | UT_STRING_BINARY_IO { UT_STRING_8BIT_IO = 8, UT_STRING_16BIT_IO = 16, UT_STRING_32BIT_IO = 32, UT_STRING_64BIT_IO = 64 } |
Functions | |
| UT_API void | UTsaveDataBinary (ostream &os, const char *data, int64 size, UT_STRING_BINARY_IO minbits=UT_STRING_16BIT_IO) |
| UT_API void | UTsaveStringBinary (ostream &os, const char *str, UT_STRING_BINARY_IO minbits) |
| UT_API uint64 | UTgetNBytesToSaveStringBinary (uint64 stringlength, UT_STRING_BINARY_IO minbits) |
| UT_API void | UTbuildDOSCommandLine (char *dest, const char *const *args) |
| UT_API void | UTbuildDOSCommandLine (UT_WorkBuffer &buf, const char *const *args) |
| UT_API bool | UTwriteFiltered (ostream &os, const char *data, int size, UT_StreamBufferFilter *filter) |
| UT_API bool | UTcopyStreamToStream (istream &is, ostream &os, size_t maxlen=((size_t)-1), UT_StreamBufferFilter *filter=NULL) |
| UT_API bool | UTcopyStreamToStream (UT_IStream &is, ostream &os, size_t maxlen=((size_t)-1), UT_StreamBufferFilter *filter=NULL) |
| UT_API void | UTcreateTempFileName (UT_String &tempfile, const char *matchExt=0) |
| UT_API bool | UTcreateDirectoryForFile (const char *filename) |
| UT_API bool | UTisDataAvailableOnFD (int fd) |
| UT_API bool | UTisDataAvailableOnStdin () |
| UT_API bool | UTisStdinValid () |
| UT_API void | UTwaitForTimeoutOrDataOnFD (long clock_ticks, int fd) |
| UT_API void | UTwaitForTimeoutOrDataOnStdin (long clock_ticks) |
| #define DECLARE_PORTABLE_RW | ( | type | ) |
| #define NTBinaryMode (std::ios::openmode)0 |
Definition at line 44 of file UT_NTStreamUtil.h.
| #define UT_NoCreate (std::ios::openmode)0 |
Definition at line 47 of file UT_NTStreamUtil.h.
| typedef int UT_EnumType |
Definition at line 13 of file UT_NTStreamUtil.h.
| enum UT_STRING_BINARY_IO |
Definition at line 18 of file UT_NTStreamUtil.h.
| UT_API void UTbuildDOSCommandLine | ( | UT_WorkBuffer & | buf, | |
| const char *const * | args | |||
| ) |
| UT_API void UTbuildDOSCommandLine | ( | char * | dest, | |
| const char *const * | args | |||
| ) |
| UT_API bool UTcopyStreamToStream | ( | UT_IStream & | is, | |
| ostream & | os, | |||
| size_t | maxlen = ((size_t)-1), |
|||
| UT_StreamBufferFilter * | filter = NULL | |||
| ) |
| UT_API bool UTcopyStreamToStream | ( | istream & | is, | |
| ostream & | os, | |||
| size_t | maxlen = ((size_t)-1), |
|||
| UT_StreamBufferFilter * | filter = NULL | |||
| ) |
| UT_API bool UTcreateDirectoryForFile | ( | const char * | filename | ) |
| UT_API void UTcreateTempFileName | ( | UT_String & | tempfile, | |
| const char * | matchExt = 0 | |||
| ) |
| UT_API uint64 UTgetNBytesToSaveStringBinary | ( | uint64 | stringlength, | |
| UT_STRING_BINARY_IO | minbits | |||
| ) |
| UT_API bool UTisDataAvailableOnFD | ( | int | fd | ) |
| UT_API bool UTisDataAvailableOnStdin | ( | ) |
| UT_API bool UTisStdinValid | ( | ) |
| UT_API void UTsaveDataBinary | ( | ostream & | os, | |
| const char * | data, | |||
| int64 | size, | |||
| UT_STRING_BINARY_IO | minbits = UT_STRING_16BIT_IO | |||
| ) |
| UT_API void UTsaveStringBinary | ( | ostream & | os, | |
| const char * | str, | |||
| UT_STRING_BINARY_IO | minbits | |||
| ) |
| UT_API void UTwaitForTimeoutOrDataOnFD | ( | long | clock_ticks, | |
| int | fd | |||
| ) |
| UT_API void UTwaitForTimeoutOrDataOnStdin | ( | long | clock_ticks | ) |
| UT_API bool UTwriteFiltered | ( | ostream & | os, | |
| const char * | data, | |||
| int | size, | |||
| UT_StreamBufferFilter * | filter | |||
| ) |
1.5.9