Identify file (and directory) formats. More...
#include <cmtkFileFormat.h>
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. |
Identify file (and directory) formats.
Definition at line 98 of file cmtkFileFormat.h.
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().