|
DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
class for managing filenames consisting either of conventional (8-bit) or wide (e.g. More...
Public Member Functions | |
| OFFilename (const char *filename) | |
| constructor expecting a conventional character string | |
| OFFilename (const OFString &filename) | |
| constructor expecting a character string as an OFString instance | |
| OFFilename (const OFFilename &arg) | |
| copy constructor | |
| ~OFFilename () | |
| destructor. | |
| OFFilename & | operator= (const OFFilename &arg) |
| assignment operator | |
| void | swap (OFFilename &arg) |
| fast, non-throwing swap function. | |
| OFBool | isEmpty () const |
| checks whether this object stores an empty filename | |
| OFBool | usesWideChars () const |
| checks whether this object stores a wide character filename | |
| const char * | getCharPointer () const |
| get stored filename consisting of conventional characters | |
Private Attributes | |
| char * | filename_ |
| filename consisting of conventional characters (8-bit) | |
class for managing filenames consisting either of conventional (8-bit) or wide (e.g.
16-bit) characters. The wide character support is currently Windows-specific because most other operating systems use UTF-8, which is compatible with conventional 8-bit character strings.
| OFFilename::OFFilename | ( | const char * | filename | ) | [inline] |
constructor expecting a conventional character string
| filename | filename to be stored (8-bit characters) |
| OFFilename::OFFilename | ( | const OFString & | filename | ) | [inline] |
constructor expecting a character string as an OFString instance
| filename | filename to be stored (8-bit characters) |
| OFFilename::OFFilename | ( | const OFFilename & | arg | ) | [inline] |
copy constructor
| arg | filename object to be copied |
| OFFilename::~OFFilename | ( | ) | [inline] |
destructor.
Frees memory.
| const char* OFFilename::getCharPointer | ( | ) | const [inline] |
get stored filename consisting of conventional characters
| OFBool OFFilename::isEmpty | ( | ) | const [inline] |
checks whether this object stores an empty filename
| OFFilename& OFFilename::operator= | ( | const OFFilename & | arg | ) | [inline] |
assignment operator
| arg | filename object to be copied |
| void OFFilename::swap | ( | OFFilename & | arg | ) | [inline] |
fast, non-throwing swap function.
The time complexity of this function is constant.
| arg | filename object to swap with |
| OFBool OFFilename::usesWideChars | ( | ) | const [inline] |
checks whether this object stores a wide character filename