GDCM 3.0.24
gdcmJSON.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMJSON_H
15#define GDCMJSON_H
16
17/*
18See Sup 166 (QIDO-RS)
19http://www.dclunie.com/dicom-status/status.html#Supplement166
20*/
21
22#include "gdcmFile.h"
23#include "gdcmDataElement.h"
24
25namespace gdcm
26{
27
28class JSONInternal;
30{
31public:
34
35 bool GetPrettyPrint() const;
36 void SetPrettyPrint(bool onoff);
39
40 bool Code(DataSet const & in, std::ostream & os);
41 bool Decode(std::istream & is, DataSet & out);
42
43private:
44 JSONInternal *Internals;
45};
46
47} // end namespace gdcm
48
49#endif //GDCMXMLPRINTER_H
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
Definition gdcmJSON.h:30
void PrettyPrintOff()
void PrettyPrintOn()
bool Code(DataSet const &in, std::ostream &os)
bool GetPrettyPrint() const
void SetPrettyPrint(bool onoff)
bool Decode(std::istream &is, DataSet &out)
#define GDCM_EXPORT
Definition gdcmWin32.h:34
Definition gdcmASN1.h:21