Logo Search packages:      
Sourcecode: gdcm version File versions

void gdcm::DataElement::SetValue ( Value const &  vl  )  [inline, inherited]

Warning:
you need to set the ValueLengthField explicitely

Definition at line 98 of file gdcmDataElement.h.

References gdcm::Value::GetLength().

Referenced by gdcm::ImageChangeTransferSyntax::Change(), gdcm::RLECodec::Code(), gdcm::JPEGLSCodec::Code(), gdcm::JPEGCodec::Code(), gdcm::JPEG2000Codec::Code(), gdcm::DICOMDIRGenerator::Generate(), gdcm::ImageHelper::SetDirectionCosinesValue(), itk::GDCMImageIO2::Write(), and gdcm::FileMetaInformation::Write().

                                  {
    //assert( ValueField == 0 );
    ValueField = vl;
    ValueLengthField = vl.GetLength();
  }


Generated by  Doxygen 1.6.0   Back to index