VTK
|
Class to read/write ascii text. More...
#include <vtkUTF16TextCodec.h>
Public Types | |
typedef vtkTextCodec | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkUTF16TextCodec * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetBigEndian (bool) |
void | FindEndianness (istream &InputStream) |
virtual bool | IsValid (istream &InputStream) |
virtual vtkUnicodeString::value_type | NextUnicode (istream &inputStream) |
virtual const char * | Name () |
virtual bool | CanHandle (const char *NameString) |
virtual void | ToUnicode (istream &InputStream, vtkTextCodec::OutputIterator &output) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkUTF16TextCodec * | SafeDownCast (vtkObjectBase *o) |
static vtkUTF16TextCodec * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkUTF16TextCodec () | |
~vtkUTF16TextCodec () | |
Protected Attributes | |
bool | _endianExplicitlySet |
bool | _bigEndian |
Class to read/write ascii text.
A virtual class interface for codecs that readers/writers can rely on
Definition at line 43 of file vtkUTF16TextCodec.h.
Reimplemented from vtkTextCodec.
Definition at line 46 of file vtkUTF16TextCodec.h.
vtkUTF16TextCodec::vtkUTF16TextCodec | ( | ) | [protected] |
vtkUTF16TextCodec::~vtkUTF16TextCodec | ( | ) | [protected] |
static int vtkUTF16TextCodec::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTextCodec.
virtual int vtkUTF16TextCodec::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTextCodec.
static vtkUTF16TextCodec* vtkUTF16TextCodec::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTextCodec.
virtual vtkObjectBase* vtkUTF16TextCodec::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTextCodec.
vtkUTF16TextCodec* vtkUTF16TextCodec::NewInstance | ( | ) | const |
Reimplemented from vtkTextCodec.
static vtkUTF16TextCodec* vtkUTF16TextCodec::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
void vtkUTF16TextCodec::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
The name this codec goes by - should match the string the factory will take to create it
Reimplemented from vtkTextCodec.
virtual const char* vtkUTF16TextCodec::Name | ( | ) | [virtual] |
The name this codec goes by - should match the string the factory will take to create it
Reimplemented from vtkTextCodec.
virtual bool vtkUTF16TextCodec::CanHandle | ( | const char * | NameString | ) | [virtual] |
The name this codec goes by - should match the string the factory will take to create it
Reimplemented from vtkTextCodec.
void vtkUTF16TextCodec::SetBigEndian | ( | bool | ) |
Set the endianness - true if Big false is little
void vtkUTF16TextCodec::FindEndianness | ( | istream & | InputStream | ) |
Set the endianness - true if Big false is little
virtual bool vtkUTF16TextCodec::IsValid | ( | istream & | InputStream | ) | [virtual] |
is the given sample valid for this codec? - will take endianness into account
Reimplemented from vtkTextCodec.
virtual void vtkUTF16TextCodec::ToUnicode | ( | istream & | InputStream, |
vtkTextCodec::OutputIterator & | output | ||
) | [virtual] |
Iterate through the sequence represented by the begin and end iterators assigning the result to the output iterator. This is the current pattern in vtkDelimitedTextReader
Implements vtkTextCodec.
virtual vtkUnicodeString::value_type vtkUTF16TextCodec::NextUnicode | ( | istream & | inputStream | ) | [virtual] |
Return the next code point from the sequence represented by the begin, end iterators advancing begin through however many places needed to assemble that code point
Implements vtkTextCodec.
bool vtkUTF16TextCodec::_endianExplicitlySet [protected] |
Definition at line 85 of file vtkUTF16TextCodec.h.
bool vtkUTF16TextCodec::_bigEndian [protected] |
Definition at line 86 of file vtkUTF16TextCodec.h.