InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UTF16TextCharStreamBuf.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Chris Parrish
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __UTF16TextCharStreamBuf__
25 #define __UTF16TextCharStreamBuf__
26 
27 //----- Std Lib
28 #include <streambuf>
29 
30 #if defined(_LIBCPP_VERSION) // libc++
31 
32 #include "UTF16TextCharTraits.h"
33 
34 #endif
35 
36 namespace K2
37 {
38  typedef std::char_traits<UTF16TextChar> UTF16TextCharTraits;
39 
40 template<class _Elem,
41  class _Traits>
43  : public std::basic_streambuf<_Elem, _Traits>
44  {
45  public:
46  virtual bool16 checkIOStatus() = 0;
47  };
48 
50 }
51 
52 #endif //__UTF16TextCharStreamBuf__
53