Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions

itk::IOCommon Class Reference
[Input and Output Filters]

Centralized funtionality for IO classes. More...

#include <itkIOCommon.h>

List of all members.

Public Types

enum  AtomicPixelType {
  ITK_UCHAR,
  ITK_CHAR,
  ITK_USHORT,
  ITK_SHORT,
  ITK_UINT,
  ITK_INT,
  ITK_ULONG,
  ITK_LONG,
  ITK_FLOAT,
  ITK_DOUBLE
}
enum  SysConstants { MAX_FILENAMELIST_SIZE = 512 }

Public Member Functions

 itkLegacyMacro (static char *ExtractFilePath(const char *fileName))
 itkLegacyMacro (static bool FileExists(const char *filename))
 itkLegacyMacro (static char *ExtractFileName(const char *fileName))
 itkLegacyMacro (static char *ExtractFileExtension(const char *fileName))

Static Public Member Functions

static std::string AtomicPixelTypeToString (const AtomicPixelType pixelType)
static unsigned int ComputeSizeOfAtomicPixelType (const AtomicPixelType pixelType)

Detailed Description

Centralized funtionality for IO classes.

This class provides encapsulated functionality to support the IO classes.

Definition at line 40 of file itkIOCommon.h.


Member Enumeration Documentation

Enumerator:
ITK_UCHAR 
ITK_CHAR 
ITK_USHORT 
ITK_SHORT 
ITK_UINT 
ITK_INT 
ITK_ULONG 
ITK_LONG 
ITK_FLOAT 
ITK_DOUBLE 

Definition at line 48 of file itkIOCommon.h.

Enumerator:
MAX_FILENAMELIST_SIZE 

Maximum length of a filename

Definition at line 43 of file itkIOCommon.h.


Member Function Documentation

static std::string itk::IOCommon::AtomicPixelTypeToString ( const AtomicPixelType  pixelType  )  [static]

Convert the enumerated type to a string representation.

static unsigned int itk::IOCommon::ComputeSizeOfAtomicPixelType ( const AtomicPixelType  pixelType  )  [static]

Calculate the size, in bytes, that the atomic pixel type occupies.

itk::IOCommon::itkLegacyMacro ( static char *  ExtractFileNameconst char *fileName  ) 

Given a full filename, extracts just the filename.

Deprecated:
in ITK 3.8, please use itksys::SystemTools::GetFilenameName(fileName) instead.
itk::IOCommon::itkLegacyMacro ( static char *  ExtractFileExtensionconst char *fileName  ) 

Given a full filename, extracts just the file extension.

Deprecated:
in ITK 3.8, please use itksys::SystemTools::GetFilenameExtension(fileName) or itksys::SystemTools::GetFilenameLastExtension(fileName) instead.
itk::IOCommon::itkLegacyMacro ( static char *  ExtractFilePathconst char *fileName  ) 

Given a full filename, extracts just the pathname.

Deprecated:
in ITK 3.8, please use itksys::SystemTools::GetFilenamePath(fileName) instead.
itk::IOCommon::itkLegacyMacro ( static bool   FileExistsconst char *filename  ) 

Given a filename determine whether it exists and return true if it does.

Deprecated:
in ITK 3.8, please use itksys::SystemTools::FileExists(fileName) instead.

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

Generated at Mon Jul 12 2010 23:31:11 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000