7 #ifndef __FWGDCMIO_HELPER_ENCODING_HPP__ 8 #define __FWGDCMIO_HELPER_ENCODING_HPP__ 10 #include "fwGdcmIO/config.hpp" 12 #include <fwCore/Exception.hpp> 15 #include <boost/locale/encoding_errors.hpp> 47 FWGDCMIO_API
static std::string convertString(
const std::string& source,
48 const std::string& definedCharsetTerm,
61 static std::string convertStringWithoutCodeExtensions(
const std::string& source,
62 const std::string& definedTerm,
73 static std::string convertSequenceWithCodeExtensions(
const std::string& sequence,
74 const std::vector<std::string>& definedTermList,
81 typedef std::map< std::string, std::string> DefinedTermToCharsetMapType;
82 static const DefinedTermToCharsetMapType s_DEFINED_TERM_TO_CHARSET;
85 typedef std::pair< char, char> EscapeSequenceType;
89 typedef std::pair< std::string, std::string > DefinedTermAndCharsetPairType;
94 typedef std::map< EscapeSequenceType, DefinedTermAndCharsetPairType> EscapeSequenceToCharsetMapType;
95 static const EscapeSequenceToCharsetMapType s_ESCAPE_SEQUENCE_TO_CHARSET;
103 #endif //__FWGDCMIO_HELPER_ENCODING_HPP__
This file defines fwCore base macros.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
fwLog contains classes used to manage logs.
Logger class used to store logs.
Helper class for encoding management.