Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
typedef std::map<TagKey, DocEntry *> TagDocEntryHT;
//-----------------------------------------------------------------------------
/**
* \brief
typedef std::map<TagKey, DocEntry *> TagDocEntryHT;
//-----------------------------------------------------------------------------
/**
* \brief
- * \ref ElementSet is based on the STL map<> container
- * (see \ref ElementSet::TagHT), as opposed to \ref SQItem
- * which is based on an STL list container (see \ref ListDocEntry).
+ * ElementSet is based on the STL map<> container
+ * (see ElementSet::TagHT), as opposed to SQItem
+ * which is based on an STL list container (see ListDocEntry).
* It contains the 'zero-level- DocEntry (out of any Dicom Sequence)
*/
class GDCM_EXPORT ElementSet : public DocEntrySet
{
* It contains the 'zero-level- DocEntry (out of any Dicom Sequence)
*/
class GDCM_EXPORT ElementSet : public DocEntrySet
{
virtual void Print(std::ostream &os = std::cout,
std::string const &indent = "" );
virtual void Print(std::ostream &os = std::cout,
std::string const &indent = "" );
- void WriteContent(std::ofstream *fp, FileType filetype);
+ void WriteContent(std::ofstream *fp, FileType filetype,
+ bool insideMetaElements, bool insideSequence);
DocEntry *GetDocEntry(uint16_t group, uint16_t elem);
/// Tells us if the ElementSet contains no entry
bool IsEmpty() { return TagHT.empty(); }
DocEntry *GetDocEntry(uint16_t group, uint16_t elem);
/// Tells us if the ElementSet contains no entry
bool IsEmpty() { return TagHT.empty(); }
private:
// Variables
/// Hash Table (map), to provide fast access
TagDocEntryHT TagHT;
/// iterator, used to visit the TagHT variable
TagDocEntryHT::iterator ItTagHT;
private:
// Variables
/// Hash Table (map), to provide fast access
TagDocEntryHT TagHT;
/// iterator, used to visit the TagHT variable
TagDocEntryHT::iterator ItTagHT;