X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=3432bf933ae2ecfd2f3fa33e50ccde5bef15db19;hb=a8e9d86dc09a41d36e7fcebd808c98510377f742;hp=63025122aaedc860df3181073a49fb2a6bedd409;hpb=1aa2bb207fb6b9ce78f35e7547dd4c770e516adb;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 63025122..3432bf93 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -1,4 +1,8 @@ +// gdcmUtil.h + #include +#include +#include using namespace std; class gdcmDebug { @@ -10,8 +14,13 @@ public: void Error(bool, const char*, const char* =""); void Error(const char*, const char* ="", const char* =""); void Assert(int, bool, const char*, const char*); + void Exit(int); }; istream & eatwhite(istream & is); +void Tokenize (const string& str, + vector& tokens, + const string& delimiters = " "); + extern gdcmDebug dbg;