Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Attributes

gdcm::Filename Class Reference

Class to manipulate file name's. More...

#include <gdcmFilename.h>

List of all members.

Public Member Functions

 Filename (const char *filename="")
const char * GetExtension ()
 return only the extension part of a filename
const char * GetFileName () const
 Return the full filename.
const char * GetName ()
 return only the name part of a filename
const char * GetPath ()
 Return only the path component of a filename.
bool IsEmpty () const
 return whether the filename is empty
bool IsIdentical (Filename const &fn) const
 operator const char * () const
const char * ToUnixSlashes ()
 Convert backslash (windows style) to UNIX style slash.
const char * ToWindowsSlashes ()
 Convert foward slash (UNIX style) to windows style slash.

Static Public Member Functions

static const char * Join (const char *path, const char *filename)

Private Attributes

std::string Conversion
std::string FileName
std::string Path

Detailed Description

Class to manipulate file name's.

Note:
OS independant representation of a filename (to query path, name and extension from a filename)

Definition at line 28 of file gdcmFilename.h.


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

Generated by  Doxygen 1.6.0   Back to index