VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkASCIITextCodec Class Reference

Class to read/write ascii text. More...

#include <vtkASCIITextCodec.h>

Inheritance diagram for vtkASCIITextCodec:
Inheritance graph
[legend]
Collaboration diagram for vtkASCIITextCodec:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkTextCodec Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkASCIITextCodecNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
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 vtkASCIITextCodecSafeDownCast (vtkObjectBase *o)
static vtkASCIITextCodecNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkASCIITextCodec ()
 ~vtkASCIITextCodec ()

Detailed Description

Class to read/write ascii text.

A virtual class interface for codecs that readers/writers can rely on

Thanks:
Thanks to Tim Shed from Sandia National Laboratories for his work on the concepts and to Marcus Hanwell and Jeff Baumes of Kitware for keeping me out of the weeds
See also:
vtkASCIITextCodecFactory

Definition at line 43 of file vtkASCIITextCodec.h.


Member Typedef Documentation

Reimplemented from vtkTextCodec.

Definition at line 46 of file vtkASCIITextCodec.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkASCIITextCodec::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 vtkASCIITextCodec::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.

Reimplemented from vtkTextCodec.

virtual vtkObjectBase* vtkASCIITextCodec::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkTextCodec.

Reimplemented from vtkTextCodec.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

void vtkASCIITextCodec::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* vtkASCIITextCodec::Name ( ) [virtual]

The name this codec goes by - should match the string the factory will take to create it

Reimplemented from vtkTextCodec.

virtual bool vtkASCIITextCodec::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.

virtual bool vtkASCIITextCodec::IsValid ( istream &  InputStream) [virtual]

is the given sample valid for this codec?

Reimplemented from vtkTextCodec.

virtual void vtkASCIITextCodec::ToUnicode ( istream &  InputStream,
vtkTextCodec::OutputIterator output 
) [virtual]

Iterate through the sequence represented by the stream assigning the result to the output iterator. The stream will be advanced to its end so subsequent use would need to reset it.

Implements vtkTextCodec.

virtual vtkUnicodeString::value_type vtkASCIITextCodec::NextUnicode ( istream &  inputStream) [virtual]

Return the next code point from the sequence represented by the stream advancing the stream through however many places needed to assemble that code point

Implements vtkTextCodec.


The documentation for this class was generated from the following file: