14#ifndef GDCMFILEMETAINFORMATION_H
15#define GDCMFILEMETAINFORMATION_H
61 InsertDataElement( de );
65 gdcmErrorMacro(
"Cannot add element with group != 0x0002 in the file meta header: " << de );
74 std::istream &
Read(std::istream &is);
78 std::ostream &
Write(std::ostream &os)
const;
101 return P.
GetLength() + DataSet::GetLength<ExplicitDataElement>();
107 template <
typename TSwap>
127 static const char GDCM_FILE_META_INFORMATION_VERSION[];
128 static const char GDCM_IMPLEMENTATION_CLASS_UID[];
129 static const char GDCM_IMPLEMENTATION_VERSION_NAME[];
130 static const char GDCM_SOURCE_APPLICATION_ENTITY_TITLE[];
131 static std::string ImplementationClassUID;
132 static std::string ImplementationVersionName;
133 static std::string SourceApplicationEntityTitle;
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
const Tag & GetTag() const
Get Tag.
Definition gdcmDataElement.h:67
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
void Print(std::ostream &os, std::string const &indent="") const
Definition gdcmDataSet.h:79
DICOM Preamble (Part 10)
Definition gdcmPreamble.h:27
uint16_t GetGroup() const
Returns the 'Group number' of the given Tag.
Definition gdcmTag.h:55
Class to manipulate Transfer Syntax.
Definition gdcmTransferSyntax.h:40
NegociatedType
Definition gdcmTransferSyntax.h:42
Value Length.
Definition gdcmVL.h:30
VL GetLength() const
Definition gdcmVL.h:68
#define gdcmErrorMacro(msg)
Error this is pretty bad, more than just warning It could mean lost of data, something not handle....
Definition gdcmTrace.h:165
#define GDCM_EXPORT
Definition gdcmWin32.h:34
std::ostream & operator<<(std::ostream &os, const Directory &d)
Definition gdcmDirectory.h:88