static vtkUTF16TextCodec * New()
bool IsValid(istream &InputStream) override
is the given sample valid for this codec? - will take endianness into account
a base class that any output iterators need to derive from to use the first signature of to_unicode.
Virtual class to act as an interface for all text codecs.
bool _endianExplicitlySet
~vtkUTF16TextCodec() override
const char * Name() override
The name this codec goes by - should match the string the factory will take to create it.
void FindEndianness(istream &InputStream)
Set the endianness - true if Big false is little.
bool CanHandle(const char *NameString) override
void SetBigEndian(bool)
Set the endianness - true if Big false is little.
vtkUnicodeString::value_type NextUnicode(istream &inputStream) override
Return the next code point from the sequence represented by the begin, end iterators advancing begin ...
void ToUnicode(istream &InputStream, vtkTextCodec::OutputIterator &output) override
Iterate through the sequence represented by the begin and end iterators assigning the result to the o...
Class to read/write ascii text.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.