Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkFileTypeMap Class Reference

#include <vtkFileTypeMap.h>

Inheritance diagram for vtkFileTypeMap:

Inheritance graph
[legend]
Collaboration diagram for vtkFileTypeMap:

Collaboration graph
[legend]
List of all members.

Detailed Description

VTK file type enumeration by suffix.

Author:
Sean McInerney
Version:
Revision
1.3
Date:
Date
2004/08/10 07:37:23

Definition at line 34 of file vtkFileTypeMap.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkFileTypeMap, vtkExtensionsObject)
void PrintSelf (ostream &, vtkIndent)
void SetTitle (const char *const &name)
 Set/Get the title of this instance.

void GetTitle (const char *&name)
void InsertDefaults (void)
 Insert default associations into the map.

vtkstd_bool FindSuffix (vtkIntnType const &typeValue, const char *&suffix)
 Find the first name in the map associated with the given type.

vtkstd_bool FindNextSuffix (const char *&suffix)
 Find the next name in the map associated with the type specified in a previous call to FindSuffix.

void Clear (void)
 Remove ALL mapped elements.

Add methods
vtkstd_bool AddFileType (const char *const &key, vtkIntnType const &fileType, vtkstd_bool const &isFileName=true)
 Add a file type enumeration determined by suffix.

vtkstd_bool AddDataType (const char *const &key, vtkIntnType const &dataType, vtkstd_bool const &isFileName=true)
 Add a value type enumeration determined by suffix.

vtkstd_bool AddDescription (const char *const &key, const char *const &description, vtkstd_bool const &isFileName=true)
 Add a value type enumeration determined by suffix.

vtkstd_bool Add (const char *const &key, vtkIntnType const &fileType, vtkIntnType const &dataType, const char *const &description, vtkstd_bool const &isFileName=true)
 Add a file type enumeration determined by suffix.

Find methods
vtkstd_bool FindFileType (const char *const &key, vtkIntnType &fileType, vtkstd_bool const &isFileName=true)
 Get a file type enumeration determined by suffix.

vtkstd_bool FindDataType (vtkIntnType const &fileType, vtkIntnType &dataType)
 Get a data type enumeration determined by file type.

vtkstd_bool FindDataType (const char *const &key, vtkIntnType &dataType, vtkstd_bool const &isFileName=true)
 Get a data type enumeration determined by suffix.

vtkstd_bool FindDescription (vtkIntnType const &fileType, const char *&description)
 Get a type description determined by file type.

vtkstd_bool FindDescription (const char *const &key, const char *&description, vtkstd_bool const &isFileName=true)
 Get a type description determined by suffix.

vtkstd_bool Find (const char *const &key, vtkIntnType &fileType, vtkIntnType &dataType, const char *&description, vtkstd_bool const &isFileName=true)
 Get a file type enumeration determined by suffix.

Erase methods
vtkstd_bool EraseFileType (const char *const &key, vtkstd_bool const &isFileName=true)
 Remove a file type enumeration determined by suffix.

vtkstd_bool EraseDataType (const char *const &key, vtkstd_bool const &isFileName=true)
 Remove a data type enumeration determined by suffix.

vtkstd_bool EraseDescription (const char *const &key, vtkstd_bool const &isFileName=true)
 Remove a description determined by suffix.

vtkstd_bool Erase (const char *const &key, vtkstd_bool const &isFileName=true)
 Remove a file type enumeration determined by suffix.


Static Public Member Functions

vtkFileTypeMapNew (void)

Protected Member Functions

 vtkFileTypeMap (void)
 ~vtkFileTypeMap ()


Constructor & Destructor Documentation

vtkFileTypeMap::vtkFileTypeMap void   )  [protected]
 

vtkFileTypeMap::~vtkFileTypeMap  )  [protected]
 


Member Function Documentation

vtkstd_bool vtkFileTypeMap::Add const char *const &  key,
vtkIntnType const &  fileType,
vtkIntnType const &  dataType,
const char *const &  description,
vtkstd_bool const &  isFileName = true
 

Add a file type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::AddDataType const char *const &  key,
vtkIntnType const &  dataType,
vtkstd_bool const &  isFileName = true
 

Add a value type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::AddDescription const char *const &  key,
const char *const &  description,
vtkstd_bool const &  isFileName = true
 

Add a value type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::AddFileType const char *const &  key,
vtkIntnType const &  fileType,
vtkstd_bool const &  isFileName = true
 

Add a file type enumeration determined by suffix.

void vtkFileTypeMap::Clear void   ) 
 

Remove ALL mapped elements.

vtkstd_bool vtkFileTypeMap::Erase const char *const &  key,
vtkstd_bool const &  isFileName = true
 

Remove a file type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::EraseDataType const char *const &  key,
vtkstd_bool const &  isFileName = true
 

Remove a data type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::EraseDescription const char *const &  key,
vtkstd_bool const &  isFileName = true
 

Remove a description determined by suffix.

vtkstd_bool vtkFileTypeMap::EraseFileType const char *const &  key,
vtkstd_bool const &  isFileName = true
 

Remove a file type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::Find const char *const &  key,
vtkIntnType &  fileType,
vtkIntnType &  dataType,
const char *&  description,
vtkstd_bool const &  isFileName = true
 

Get a file type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::FindDataType const char *const &  key,
vtkIntnType &  dataType,
vtkstd_bool const &  isFileName = true
 

Get a data type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::FindDataType vtkIntnType const &  fileType,
vtkIntnType &  dataType
 

Get a data type enumeration determined by file type.

vtkstd_bool vtkFileTypeMap::FindDescription const char *const &  key,
const char *&  description,
vtkstd_bool const &  isFileName = true
 

Get a type description determined by suffix.

vtkstd_bool vtkFileTypeMap::FindDescription vtkIntnType const &  fileType,
const char *&  description
 

Get a type description determined by file type.

vtkstd_bool vtkFileTypeMap::FindFileType const char *const &  key,
vtkIntnType &  fileType,
vtkstd_bool const &  isFileName = true
 

Get a file type enumeration determined by suffix.

vtkstd_bool vtkFileTypeMap::FindNextSuffix const char *&  suffix  ) 
 

Find the next name in the map associated with the type specified in a previous call to FindSuffix.

Returns:
true on success, false otherwise.

vtkstd_bool vtkFileTypeMap::FindSuffix vtkIntnType const &  typeValue,
const char *&  suffix
 

Find the first name in the map associated with the given type.

Returns:
true on success, false otherwise.

void vtkFileTypeMap::GetTitle const char *&  name  ) 
 

void vtkFileTypeMap::InsertDefaults void   ) 
 

Insert default associations into the map.

vtkFileTypeMap* vtkFileTypeMap::New void   )  [static]
 

Reimplemented from vtkExtensionsObject.

void vtkFileTypeMap::PrintSelf ostream &  ,
vtkIndent 
[virtual]
 

Reimplemented from vtkExtensionsObject.

void vtkFileTypeMap::SetTitle const char *const &  name  ) 
 

Set/Get the title of this instance.

vtkFileTypeMap::vtkTypeRevisionMacro vtkFileTypeMap  ,
vtkExtensionsObject 
 


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:42:16 2004 for vtkExtensions by doxygen 1.3.7