OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
strmdefs.h
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// Object Windows Library
3// Copyright (c) 1998 by Yura Bidus, All Rights Reserved
4//
5// I/O stream defines
6//----------------------------------------------------------------------------
7
8#if !defined(OWL_PRIVATE_STRMDEFS_H)
9#define OWL_PRIVATE_STRMDEFS_H
10
11#include <owl/private/defs.h>
12#if defined(BI_HAS_PRAGMA_ONCE)
13# pragma once
14#endif
15
16#include <iomanip>
17#include <iosfwd>
18#include <sstream>
19
20namespace owl {
21
22#if defined(UNICODE)
23
24typedef std::wostringstream tostringstream;
25typedef std::wistringstream tistringstream;
26typedef std::wstringstream tstringstream;
27typedef std::wistream tistream;
28typedef std::wostream tostream;
29typedef std::wstreambuf tstreambuf;
30typedef std::wios tios;
31typedef std::wifstream tifstream;
32typedef std::wofstream tofstream;
33
34#else
35
36typedef std::ostringstream tostringstream;
37typedef std::istringstream tistringstream;
38typedef std::stringstream tstringstream;
39typedef std::istream tistream;
40typedef std::ostream tostream;
41typedef std::streambuf tstreambuf;
42typedef std::ios tios;
43typedef std::ifstream tifstream;
44typedef std::ofstream tofstream;
45
46#endif
47
48} // OWL namespace
49
50#endif //OWL_PRIVATE_STRMDEFS_H
Object Windows Library (OWLNext Core)
Definition animctrl.h:22
std::ofstream tofstream
Definition strmdefs.h:44
std::ostringstream tostringstream
Definition strmdefs.h:36
std::stringstream tstringstream
Definition strmdefs.h:38
std::streambuf tstreambuf
Definition strmdefs.h:41
std::ifstream tifstream
Definition strmdefs.h:43
std::istringstream tistringstream
Definition strmdefs.h:37
std::istream tistream
Definition strmdefs.h:39
std::ostream tostream
Definition strmdefs.h:40
std::ios tios
Definition strmdefs.h:42