MeVisLab Toolbox Reference
DCMTree_Unicode.h File Reference
#include "DCMTree_Defines.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  DCMTree_Unicode
 

Functions

DCMTREE_EXPORT const std::string & DCMTree_Unicode::defaultCharacterSet ()
 get the specific character set for the DICOM default
 
DCMTREE_EXPORT const std::string & DCMTree_Unicode::UTF8CharacterSet ()
 get the specific character set for UTf3 encoding
 
DCMTREE_EXPORT const std::string & DCMTree_Unicode::isoLatin1CharacterSet ()
 get the specific character set for iso-Latin1
 
DCMTREE_EXPORT std::string DCMTree_Unicode::toDefault (const std::string &characterset, const std::string &toconvert)
 convert toconvert from the given character set to the default character set
 
DCMTREE_EXPORT std::string DCMTree_Unicode::toLatin1 (const std::string &characterset, const std::string &toconvert)
 convert toconvert from the given character set to the latin1 character set
 
DCMTREE_EXPORT std::string DCMTree_Unicode::UTF8toLatin1 (const std::string &toconvert)
 convert toconvert from the UTF8 character set to the latin1 character set
 
DCMTREE_EXPORT std::string DCMTree_Unicode::toUTF8 (const std::string &characterset, const std::string &toconvert)
 convert toconvert from the given character set to UTF8
 
DCMTREE_EXPORT std::string DCMTree_Unicode::defaultToUTF8 (const std::string &toconvert)
 convert toconvert from the default character set to UTF8
 
DCMTREE_EXPORT std::string DCMTree_Unicode::latin1ToUTF8 (const std::string &toconvert)
 convert toconvert from latin1 to UTF8
 
DCMTREE_EXPORT bool DCMTree_Unicode::convertCharacterSet (const std::string &originalcharacterset, const std::string &newcharacterset, std::string &val)
 convert val from the original character set to the new character set returns true if val has been changed