Program: gdcm
Module: $RCSfile: gdcmDictSet.h,v $
Language: C++
- Date: $Date: 2005/02/02 15:07:41 $
- Version: $Revision: 1.41 $
+ Date: $Date: 2005/02/06 14:43:27 $
+ Version: $Revision: 1.42 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Probabely useless !
//EntryNamesList *GetPubDictEntryNames();
- //EntryNamesByCatMap* GetPubDictEntryNamesByCategory();
+ //EntryNamesByCatMap *GetPubDictEntryNamesByCategory();
Dict *LoadDictFromFile( std::string const &fileName,
DictKey const &name );
Program: gdcm
Module: $RCSfile: gdcmDirList.cxx,v $
Language: C++
- Date: $Date: 2005/02/04 16:51:36 $
- Version: $Revision: 1.44 $
+ Date: $Date: 2005/02/06 14:43:27 $
+ Version: $Revision: 1.45 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
HANDLE hFile = FindFirstFile((dirName+"*").c_str(), &fileData);
for(BOOL b = (hFile != INVALID_HANDLE_VALUE); b;
- b = FindNextFile(hFile,&fileData))
+ b = FindNextFile(hFile, &fileData))
{
fileName = fileData.cFileName;
if( fileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY )
}
// According to POSIX, the dirent structure contains a field char d_name[]
- // of unspecified size, with at most NAME_MAX characters preceding the
- // terminating null character. Use of other fields will harm the porta-
- // bility of your programs.
+ // of unspecified size, with at most NAME_MAX characters preceding the
+ // terminating null character. Use of other fields will harm the porta-
+ // bility of your programs.
struct stat buf;
dirent *d = 0;
Program: gdcm
Module: $RCSfile: gdcmDocEntry.cxx,v $
Language: C++
- Date: $Date: 2005/02/02 16:18:48 $
- Version: $Revision: 1.52 $
+ Date: $Date: 2005/02/06 14:43:27 $
+ Version: $Revision: 1.53 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
uint16_t group = GetGroup();
VRKey vr = GetVR();
uint16_t el = GetElement();
- uint32_t lgr = GetLength();
+ uint32_t lgth = GetLength();
if ( group == 0xfffe && el == 0x0000 )
{
}
uint16_t z = 0;
- uint16_t shortLgr = lgr;
+ uint16_t shortLgr = lgth;
if (vr == GDCM_UNKNOWN)
{
}
else
{
- binary_write(*fp, lgr);
+ binary_write(*fp, lgth);
}
}
else
}
else
{
- binary_write(*fp, lgr);
+ binary_write(*fp, lgth);
}
}
}
Program: gdcm
Module: $RCSfile: gdcmElementSet.cxx,v $
Language: C++
- Date: $Date: 2005/02/05 01:37:08 $
- Version: $Revision: 1.56 $
+ Date: $Date: 2005/02/06 14:43:27 $
+ Version: $Revision: 1.57 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
//BOZ depthLevel is not usefull anymore
ElementSet::ElementSet(int depthLevel)
- : DocEntrySet()
+ : DocEntrySet()
{
(void)depthLevel;
}
{
for( TagDocEntryHT::const_iterator i = TagHT.begin(); i != TagHT.end(); ++i)
{
- DocEntry* entry = i->second;
+ DocEntry *entry = i->second;
entry->SetPrintLevel(PrintLevel);
entry->Print(os);
Program: gdcm
Module: $RCSfile: gdcmJPEGFragment.h,v $
Language: C++
- Date: $Date: 2005/02/04 16:51:36 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/02/06 14:43:27 $
+ Version: $Revision: 1.17 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
uint8_t *buffer, int nBits,
int &statesuspension);
- bool ReadJPEGFile8 (std::ifstream* fp, void *image_buffer, int &statesuspension );
- bool ReadJPEGFile12 (std::ifstream* fp, void *image_buffer, int &statesuspension );
- bool ReadJPEGFile16 (std::ifstream* fp, void *image_buffer, int &statesuspension );
+ bool ReadJPEGFile8 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+ bool ReadJPEGFile12 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+ bool ReadJPEGFile16 (std::ifstream *fp, void *image_buffer, int &statesuspension );
void SetLength(uint32_t length) { Length = length; };
uint32_t GetLength() { return Length; };
Program: gdcm
Module: $RCSfile: gdcmJPEGFragmentsInfo.h,v $
Language: C++
- Date: $Date: 2005/01/31 05:24:21 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2005/02/06 14:43:28 $
+ Version: $Revision: 1.20 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
public:
JPEGFragmentsInfo();
~JPEGFragmentsInfo();
- void Print( std::ostream &os = std::cout, std::string const & indent = "" );
+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
- void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits, int numBytes, int length);
+ void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits,
+ int numBytes, int length);
void AddFragment(JPEGFragment *fragment);
JPEGFragment *GetFirstFragment();
//Some mathieu hack:
int StateSuspension;
void *SampBuffer;
- char* pimage;
+ char *pimage;
JPEGFragmentsList Fragments;
JPEGFragmentsList::iterator ItFragments;
};
Program: gdcm
Module: $RCSfile: gdcmRLEFramesInfo.h,v $
Language: C++
- Date: $Date: 2005/01/31 06:17:22 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2005/02/06 14:43:28 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
public:
~RLEFramesInfo();
void Print( std::ostream &os = std::cout, std::string indent = "" );
- bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize, int ySize, int zSize, int bitsAllocated );
- bool ConvertRLE16BitsFromRLE8Bits( uint8_t* subRaw, int xSize, int ySize, int NumberOfFrames );
+ bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize,
+ int ySize, int zSize, int bitsAllocated );
+ bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize,
+ int NumberOfFrames );
void AddFrame(RLEFrame *frame);
Program: gdcm
Module: $RCSfile: gdcmSerieHelper.h,v $
Language: C++
- Date: $Date: 2005/02/05 02:43:06 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2005/02/06 14:43:28 $
+ Version: $Revision: 1.6 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
SerieHelper();
~SerieHelper();
- void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+ void Print(std::ostream &os = std::cout, std::string const &indent = "" );
/// \todo should return bool or throw error ?
void AddFileName(std::string const &filename);
Program: gdcm
Module: $RCSfile: gdcmValEntry.cxx,v $
Language: C++
- Date: $Date: 2005/02/02 16:18:49 $
- Version: $Revision: 1.56 $
+ Date: $Date: 2005/02/06 14:43:28 $
+ Version: $Revision: 1.57 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
const VRKey &vr = GetVR();
- unsigned int lgr = GetLength();
+ unsigned int lgth = GetLength();
if (vr == "US" || vr == "SS")
{
// some 'Short integer' fields may be multivaluated
return;
}
- gdcmAssertMacro( lgr == GetValue().length() );
+ gdcmAssertMacro( lgth == GetValue().length() );
binary_write(*fp, GetValue());
}