Logo Search packages:      
Sourcecode: gdcm version File versions

const DataElement& gdcm::DataSet::GetDataElement ( const Tag t  )  const [inline, inherited]

Return the DataElement with Tag 't'

Warning:
: This only search at the 'root level' of the DataSet

Definition at line 163 of file gdcmDataSet.h.

Referenced by gdcm::DataSetHelper::ComputeVR(), gdcm::FileDerivation::Derive(), FillFromDataSet(), gdcm::DICOMDIRGenerator::Generate(), gdcm::DataSet::GetDataElement(), gdcm::Overlay::GetNumberOfOverlays(), gdcm::ImageHelper::GetOriginValue(), gdcm::ImageHelper::GetSpacingValue(), gdcm::Scanner::Scan(), and gdcm::SplitMosaicFilter::Split().

                                                        {
    const DataElement r(t);
    ConstIterator it = DES.find(r);
    if( it != DES.end() )
      return *it;
    return GetDEEnd();
    }


Generated by  Doxygen 1.6.0   Back to index