Mercurial > hg > orthanc
diff OrthancCppClient/Instance.h @ 728:d380222b4c2a
Load a raw tag from the DICOM file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Feb 2014 10:12:33 +0100 |
parents | 2d0a347e8cfc |
children | 777b6b694da6 |
line wrap: on
line diff
--- a/OrthancCppClient/Instance.h Wed Feb 19 12:43:12 2014 +0100 +++ b/OrthancCppClient/Instance.h Fri Feb 21 10:12:33 2014 +0100 @@ -57,6 +57,7 @@ std::auto_ptr<Orthanc::PngReader> reader_; Orthanc::ImageExtractionMode mode_; std::auto_ptr<std::string> dicom_; + std::string content_; void DownloadImage(); @@ -185,5 +186,17 @@ LAAW_API_INTERNAL void SplitVectorOfFloats(std::vector<float>& target, const char* tag); + + /** + * {summary}{Load a raw tag from the DICOM file.} + * {param}{path The path to the tag of interest (e.g. "0020-000d").} + **/ + void LoadTagContent(const char* path); + + /** + * {summary}{Return the value of the raw tag that was loaded by LoadContent.} + * {returns}{The tag value.} + **/ + const char* GetLoadedTagContent() const; }; }