Static Public Member Functions | Static Private Member Functions

cmtk::FileFormat Class Reference
[cmtkIO Library]

Identify file (and directory) formats. More...

#include <cmtkFileFormat.h>

List of all members.

Static Public Member Functions

static FileFormatID Identify (const char *path, const bool decompress=true)
 Identify file or directory with given path.
static FileFormatID GetID (const char *name)
 Return ID for given file format name.
static const char * Describe (const FileFormatID id)
 Return textual description of identified file format.
static const char * Describe (const char *path)
 Return textual description of a file's format.

Static Private Member Functions

static FileFormatID IdentifyDirectory (const char *path)
 Identify directory with given path.
static FileFormatID IdentifyFile (const char *path, const bool decompress=true)
 Identify regular file with given path.

Detailed Description

Identify file (and directory) formats.

Definition at line 98 of file cmtkFileFormat.h.


Member Function Documentation

static const char* cmtk::FileFormat::Describe ( const char *  path ) [inline, static]

Return textual description of a file's format.

Definition at line 118 of file cmtkFileFormat.h.

References Describe(), and Identify().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines