FiletoPolyFactory Class Reference
[C++/Common/DataSource/FiletoPoly]

The purpose of the class is to produce the correct FiletoPoly object accordance with a particular file data source. More...

#include <FiletoPolyFactory.h>

List of all members.

Public Member Functions

 FiletoPolyFactory ()
 Ctor.
FiletoPolynewSource (const char *filename)
 Produce a FiletoPoly object based upon the given file.
void DebugOn ()
 Set debbugging to on.
void DebugOff ()
 Set debbugging to off.
unsigned int GetDebug () const
 Give the debugging state.


Detailed Description

The purpose of the class is to produce the correct FiletoPoly object accordance with a particular file data source.

Definition at line 16 of file FiletoPolyFactory.h.


Constructor & Destructor Documentation

FiletoPolyFactory::FiletoPolyFactory (  ) 

Ctor.


Member Function Documentation

FiletoPoly* FiletoPolyFactory::newSource ( const char *  filename  ) 

Produce a FiletoPoly object based upon the given file.

Parameters:
filename The file to use as the data source.
Returns:
A FiletoPoly object of the correct type open on the filename. If there is no appropiate type or the file is not a Vtk file or there is an error reading the file header then null is returned.

void FiletoPolyFactory::DebugOn (  ) 

Set debbugging to on.

void FiletoPolyFactory::DebugOff (  ) 

Set debbugging to off.

unsigned int FiletoPolyFactory::GetDebug (  )  const

Give the debugging state.

Returns:
Non zero if debbugging on.


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