VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkUTF16TextCodec.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkUTF16TextCodec.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
/*-------------------------------------------------------------------------
16
Copyright 2008 Sandia Corporation.
17
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18
the U.S. Government retains certain rights in this software.
19
-------------------------------------------------------------------------*/
36
#ifndef __vtkUTF16TextCodec_h
37
#define __vtkUTF16TextCodec_h
38
39
#include "
vtkTextCodec.h
"
40
41
42
class
VTK_IO_EXPORT
vtkUTF16TextCodec
:
public
vtkTextCodec
43
{
44
public
:
45
vtkTypeMacro(
vtkUTF16TextCodec
,
vtkTextCodec
);
46
static
vtkUTF16TextCodec
*
New
() ;
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
52
virtual
const
char
*
Name
() ;
53
virtual
bool
CanHandle
(
const
char
* NameString) ;
55
57
void
SetBigEndian(
bool
) ;
58
60
void
FindEndianness(istream& InputStream) ;
61
64
virtual
bool
IsValid
(istream& InputStream) ;
65
67
70
virtual
void
ToUnicode
(istream& InputStream,
71
vtkTextCodec::OutputIterator
& output) ;
73
77
virtual
vtkUnicodeString::value_type
NextUnicode
(istream& inputStream) ;
78
79
//BTX
80
protected
:
81
vtkUTF16TextCodec
() ;
82
~
vtkUTF16TextCodec
() ;
83
84
bool
_endianExplicitlySet
;
85
bool
_bigEndian
;
86
87
private
:
88
vtkUTF16TextCodec
(
const
vtkUTF16TextCodec
&) ;
// Not implemented.
89
void
operator=(
const
vtkUTF16TextCodec
&) ;
// Not implemented.
90
91
//ETX
92
};
93
94
95
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2