#include #include #include #include #include namespace creaImageIO { namespace tree { //======================================================================== void AttributeDescriptor::CleanName(std::string& str) const { // quote must be doubled for SQL // crea::Utils::Replace( str, "'", "''" ); boost::algorithm::replace_all(str,"'","''"); // Found strange strings which contained NULL char INSIDE string int i,size=str.size(); for (i=0;iGetDefaultPubDict()->GetEntry(mGroup,mElement); if (entry) { mName = entry->GetName(); CleanName(mName); GimmickDebugMessage(3,"='"<GetDefaultPubDict()->GetEntry(GetGroup(),GetElement()); std::string type = entry->GetVR().str(); GimmickDebugMessage(3,"VR Value is "<