#include <itkIOCommon.h>
This class provides encapsulated functionality to support the IO classes.
Definition at line 40 of file itkIOCommon.h.
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 } |
Static Public Member Functions | |
static std::string | AtomicPixelTypeToString (const AtomicPixelType pixelType) |
static unsigned int | ComputeSizeOfAtomicPixelType (const AtomicPixelType pixelType) |
static char * | ExtractFileExtension (const char *fileName) |
static char * | ExtractFileName (const char *fileName) |
static char * | ExtractFilePath (const char *fileName) |
static bool | FileExists (const char *filename) |
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.
Definition at line 43 of file itkIOCommon.h.
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.
static char* itk::IOCommon::ExtractFileExtension | ( | const char * | fileName | ) | [static] |
Given a full filename, extracts just the file extension.
static char* itk::IOCommon::ExtractFileName | ( | const char * | fileName | ) | [static] |
Given a full filename, extracts just the filename.
static char* itk::IOCommon::ExtractFilePath | ( | const char * | fileName | ) | [static] |
Given a full filename, extracts just the pathname.
static bool itk::IOCommon::FileExists | ( | const char * | filename | ) | [static] |
Given a filename determine whether it exists and return true if it does.