Program: gdcm
Module: $RCSfile: gdcmDataEntry.h,v $
Language: C++
- Date: $Date: 2006/07/10 08:27:28 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2007/08/22 16:14:03 $
+ Version: $Revision: 1.19 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMDATAENTRY_H
-#define GDCMDATAENTRY_H
+#ifndef G_DCMDATAENTRY_H_
+#define _GDCMDATAENTRY_H_
#include "gdcmDocEntry.h"
#include <vector> // for GetDSValue
#include <iostream>
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
//-----------------------------------------------------------------------------
/**
void Print(std::ostream &os = std::cout, std::string const &indent = "");
// Write
- virtual void WriteContent(std::ofstream *fp, FileType filetype);
+ virtual void WriteContent(std::ofstream *fp, FileType filetype,
+ bool insideMetaElements );
uint32_t ComputeFullLength();
// Set/Get data
/// \brief Sets the state (Loaded, NotLoaded, UnFound, ...) of the DataEntry
void SetState(const TValueState &state) { State = state; }
/// \brief Returns the state (Loaded, NotLoaded, ...) of the DataEntry
- const TValueState &GetState() const { return State; }
+ const TValueState &GetState() const { return State; }
/// \brief true when value Entry not loaded
bool IsNotLoaded() { return State == STATE_NOTLOADED; }
/// \brief true if Entry not found