13#ifndef DCM_TREE_CHARACTER_SET_CONVERTER_H 
   14#define DCM_TREE_CHARACTER_SET_CONVERTER_H 
   20  #pragma warning (push) 
   21  #pragma warning (disable : 4251 4350) 
   55      const std::string &originalcharacterset, 
const std::string &newcharacterset,
 
   77        const std::string &originalcharacterset, 
const std::string &newcharacterset) = 0;
 
 
 
 
Factory class must be installed by the implementing DLL.
 
virtual CharacterSetConverterPtr createConverter(const std::string &originalcharacterset, const std::string &newcharacterset)=0
 
The class CharacterSetConverter is used for converting string values from one DICOM character set to ...
 
boost::shared_ptr< Factory > FactoryPtr
 
static void setFactory(FactoryPtr factory)
The concrete singleton is set by the implementing DLL.
 
static CharacterSetConverterPtr create(const std::string &originalcharacterset, const std::string &newcharacterset, DCMTree_Utils::LoadLibraryDelegate *delegate=nullptr)
Creates a CharacterSetConverter for the given pair of encodings.
 
virtual ~CharacterSetConverter()
Destructor.
 
virtual bool convert(std::string &value, const DCMTree::TagInfo &tagInfo) const =0
Converts the string to the new character set, returns false if the conversion had errors.
 
Class to carry meta information about a specific tag.
 
The delegate that is responsible for loading the specific DICOM library.
 
Dictionary class to provide DICOM meta information.
 
Class to dump a DCMTree DICOM message into a human-readable file.
 
boost::shared_ptr< const CharacterSetConverter > Const_CharacterSetConverterPtr
 
boost::shared_ptr< CharacterSetConverter > CharacterSetConverterPtr
Shared pointer to a DCMTree::CharacterSetConverter.