X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmTS.cxx;h=f3e89ab9b5e166218f10c16332a084eacb0f8212;hb=f82255fd505deda217e3da9067c26703ba345567;hp=25b97e32debc3a3c37e62167cdf086459cd7b70e;hpb=5a6910a313a526514242a21b868c7186fca14168;p=gdcm.git diff --git a/src/gdcmTS.cxx b/src/gdcmTS.cxx index 25b97e32..f3e89ab9 100644 --- a/src/gdcmTS.cxx +++ b/src/gdcmTS.cxx @@ -1,5 +1,5 @@ // gdcmTS.cxx - +//----------------------------------------------------------------------------- #include #include "gdcmTS.h" @@ -10,6 +10,8 @@ #endif #define DICT_TS "dicomTS.dic" +//----------------------------------------------------------------------------- +// Constructor / Destructor gdcmTS::gdcmTS(void) { std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_TS); std::ifstream from(filename.c_str()); @@ -38,6 +40,11 @@ gdcmTS::~gdcmTS() { ts.clear(); } +//----------------------------------------------------------------------------- +// Print + +//----------------------------------------------------------------------------- +// Public int gdcmTS::Count(TSKey key) { return ts.count(key); } @@ -47,3 +54,11 @@ std::string gdcmTS::GetValue(TSKey key) { return (GDCM_UNFOUND); return ts[key]; } + +//----------------------------------------------------------------------------- +// Protected + +//----------------------------------------------------------------------------- +// Private + +//-----------------------------------------------------------------------------