-gdcmGlobal::~gdcmGlobal() {
- delete Dicts;
- delete VR;
- delete TS;
- delete ddElem;
-}
-
-gdcmVR *gdcmGlobal::GetVR(void) {
- return VR;
-}
-
-gdcmTS *gdcmGlobal::GetTS(void) {
- return TS;
-}
-
-gdcmDictSet *gdcmGlobal::GetDicts(void) {
- return Dicts;
-}
-
-gdcmDicomDirElement *gdcmGlobal::GetDicomDirElements(void) {
- return ddElem;
-}
-
-//-----------------------------------------------------------------------------
-// Here are some usefull functions, belonging to NO class,
-// dealing with strings, file names, etc
-// that can be called from anywhere
-// by whomsoever they can help.
-//-----------------------------------------------------------------------------
-
-// Because is not yet available in g++2.96
-std::istream& eatwhite(std::istream& is) {
- char c;
- while (is.get(c)) {
- if (!isspace(c)) {
- is.putback(c);
- break;
- }
- }
- return is;
-}
-
-///////////////////////////////////////////////////////////////////////////
-// Because is not available in C++ (?)
-void Tokenize (const std::string& str,