2 //-----------------------------------------------------------------------------
4 #include "gdcmBinEntry.h"
7 //-----------------------------------------------------------------------------
8 // Constructor / Destructor
11 * \brief Constructor from a given gdcmBinEntry
13 gdcmBinEntry::gdcmBinEntry(gdcmDictEntry* e) : gdcmValEntry(e) {
18 * \brief Constructor from a given gdcmBinEntry
19 * @param e Pointer to existing Doc entry
21 gdcmBinEntry::gdcmBinEntry(gdcmDocEntry* e) : gdcmValEntry(e->GetDictEntry()){
22 this->UsableLength = e->GetLength();
23 this->ReadLength = e->GetReadLength();
24 this->ImplicitVR = e->IsImplicitVR();
25 this->Offset = e->GetOffset();
26 this->printLevel = e->GetPrintLevel();
27 this->SQDepthLevel = e->GetDepthLevel();
29 this->voidArea = NULL; // let's be carefull !
33 * \brief Canonical destructor.
35 gdcmBinEntry::~gdcmBinEntry(){
40 //-----------------------------------------------------------------------------
43 * \ingroup gdcmDocEntry
44 * \brief canonical Printer
47 void gdcmBinEntry::Print(std::ostream &os) {
49 std::cout << " gdcmBinEntry : Print, so WHAT ?" <<std::endl;
51 //-----------------------------------------------------------------------------
54 //-----------------------------------------------------------------------------
57 //-----------------------------------------------------------------------------
60 //-----------------------------------------------------------------------------