Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

void gdcm::Reader::SetFileName ( const char *  filename  )  [inline]

Set the filename to open. This will create a std::ifstream internally See SetStream if you are dealing with different std::istream object

Definition at line 68 of file gdcmReader.h.

Referenced by itk::GDCMImageIO2::CanReadFile(), itk::GDCMImageIO2::Read(), gdcm::Scanner::Scan(), and gdcm::Sorter::Sort().

                                         {
    if(Ifstream) delete Ifstream;
    Ifstream = new std::ifstream();
    Ifstream->open(filename, std::ios::binary);
    Stream = Ifstream;
  }


Generated by  Doxygen 1.6.0   Back to index