Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.cxx,v $
Language: C++
- Date: $Date: 2004/09/23 10:47:10 $
- Version: $Revision: 1.14 $
+ Date: $Date: 2004/09/27 08:39:06 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
- http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+ http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it
* to build the gdcmDocEntries)
*/
-gdcmDicomDirSerie::gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT):
+gdcmDicomDirSerie::gdcmDicomDirSerie(gdcmSQItem* s, TagDocEntryHT* ptagHT):
gdcmDicomDirObject(ptagHT)
{
docEntries = s->GetDocEntries();
* @param ptagHT pointer to the HTable (gdcmDicomDirObject needs it
* to build the gdcmDocEntries)
*/
-gdcmDicomDirSerie::gdcmDicomDirSerie(TagDocEntryHT *ptagHT):
+gdcmDicomDirSerie::gdcmDicomDirSerie(TagDocEntryHT* ptagHT):
gdcmDicomDirObject(ptagHT)
{
}
* \brief Prints the Object
* @return
*/
-void gdcmDicomDirSerie::Print(std::ostream &os)
+void gdcmDicomDirSerie::Print(std::ostream& os)
{
os << "SERIE" << std::endl;
gdcmDicomDirObject::Print(os);
* \brief Writes the Object
* @return
*/
-void gdcmDicomDirSerie::Write(FILE *fp, FileType t)
+void gdcmDicomDirSerie::Write(FILE* fp, FileType t)
{
gdcmDicomDirObject::Write(fp, t);
/**
* \brief adds a new Image (with the basic elements) to a partially created DICOMDIR
*/
-gdcmDicomDirImage * gdcmDicomDirSerie::NewImage()
+gdcmDicomDirImage* gdcmDicomDirSerie::NewImage()
{
std::list<gdcmElement> elemList =
gdcmGlobal::GetDicomDirElements()->GetDicomDirImageElements();
- gdcmDicomDirImage *st = new gdcmDicomDirImage(PtagHT);
+ gdcmDicomDirImage* st = new gdcmDicomDirImage(PtagHT);
FillObject(elemList);
images.push_front(st);