From c23d68fe2d14a4c4f4b164fdc447f38247f0efc3 Mon Sep 17 00:00:00 2001 From: donadio Date: Fri, 15 May 2009 13:13:22 +0000 Subject: [PATCH] *** empty log message *** --- lib/src1/bruker2dicom.cxx | 4 ++++ lib/src1/brukerdataset.cpp | 1 + lib/src1/brukerimage.cpp | 4 ++++ lib/src1/brukerobjectvaryingproperties.cpp | 2 ++ 4 files changed, 11 insertions(+) diff --git a/lib/src1/bruker2dicom.cxx b/lib/src1/bruker2dicom.cxx index b41186a..87997d9 100644 --- a/lib/src1/bruker2dicom.cxx +++ b/lib/src1/bruker2dicom.cxx @@ -1,5 +1,9 @@ #include "bruker2dicom.h" +#ifndef PATH_MAX // If not defined yet : do it + #define PATH_MAX 2048 +#endif + bool Bruker2Dicom::Execute() diff --git a/lib/src1/brukerdataset.cpp b/lib/src1/brukerdataset.cpp index 3a6056b..acbb99b 100644 --- a/lib/src1/brukerdataset.cpp +++ b/lib/src1/brukerdataset.cpp @@ -442,6 +442,7 @@ std::vector< int > BrukerDataSet::GetLoopStructure() const bool BrukerDataSet::SetLoopStructure ( const std::vector & theValue ) { LoopStructure = theValue; + return true; } diff --git a/lib/src1/brukerimage.cpp b/lib/src1/brukerimage.cpp index 41285f5..d1bff2b 100644 --- a/lib/src1/brukerimage.cpp +++ b/lib/src1/brukerimage.cpp @@ -49,6 +49,8 @@ bool BrukerImage::Init(BrukerDataSet &TheOrigAcqp, BrukerDataSet &TheOrigReco, i setDataEndianness (TheOrigAcqp,TheOrigReco,TheValue); setImageByteSize (TheOrigAcqp,TheOrigReco,TheValue); setBeginingOfImageInBytes (TheOrigAcqp,TheOrigReco,TheValue); + + return true; } /** @@ -636,4 +638,6 @@ size_t BrukerImage::getBeginingOfImageInBytes() const bool BrukerImage::setBeginingOfImageInBytes (BrukerDataSet &TheOrigAcqp, BrukerDataSet &TheOrigReco, int TheValue) { BeginingOfImageInBytes = TheValue*getImageByteSize(); + + return true; } diff --git a/lib/src1/brukerobjectvaryingproperties.cpp b/lib/src1/brukerobjectvaryingproperties.cpp index 64aefd8..69ddf7f 100644 --- a/lib/src1/brukerobjectvaryingproperties.cpp +++ b/lib/src1/brukerobjectvaryingproperties.cpp @@ -206,5 +206,7 @@ bool BrukerObjectVaryingProperties::init(std::map setPositionS(BrukerHM); setPositionTimePerNR(BrukerHM, LoopStruct); setTE(BrukerHM); + + return true; } -- 2.47.1