Public Member Functions |
| Item () |
| Item (Item const &val) |
void | Clear () |
| Clear Data Element (make Value empty and invalidate Tag & VR)
|
bool | FindDataElement (const Tag &t) const |
const DataElement & | GetDataElement (const Tag &t) const |
template<typename TDE > |
VL | GetLength () const |
const DataSet & | GetNestedDataSet () const |
DataSet & | GetNestedDataSet () |
void | InsertDataElement (const DataElement &de) |
template<typename TDE , typename TSwap > |
std::istream & | Read (std::istream &is) |
void | SetNestedDataSet (const DataSet &nested) |
template<typename TDE , typename TSwap > |
const std::ostream & | Write (std::ostream &os) const |
| DataElement (const Tag &t=Tag(0), const VL &vl=0, const VR &vr=VR::INVALID) |
| DataElement (const DataElement &_val) |
void | Empty () |
| Make Data Element empty (no Value)
|
const ByteValue * | GetByteValue () const |
const SequenceOfFragments * | GetSequenceOfFragments () const |
const SequenceOfItems * | GetSequenceOfItems () const |
SequenceOfItems * | GetSequenceOfItems () |
const Tag & | GetTag () const |
| Get Tag.
|
Tag & | GetTag () |
Value const & | GetValue () const |
| Set/Get Value (bytes array, SQ of items, SQ of fragments):
|
Value & | GetValue () |
SmartPointer< SequenceOfItems > | GetValueAsSQ () const |
const VL & | GetVL () const |
| Get VL.
|
VL & | GetVL () |
VR const & | GetVR () const |
bool | IsEmpty () const |
| Check if Data Element is empty.
|
bool | IsUndefinedLength () const |
| return if Value Length if of undefined length
|
bool | operator< (const DataElement &de) const |
DataElement & | operator= (const DataElement &de) |
bool | operator== (const DataElement &de) const |
template<typename TDE , typename TSwap > |
std::istream & | ReadOrSkip (std::istream &is, std::set< Tag > const &skiptags) |
template<typename TDE , typename TSwap > |
std::istream & | ReadPreValue (std::istream &is, std::set< Tag > const &skiptags) |
template<typename TDE , typename TSwap > |
std::istream & | ReadValue (std::istream &is, std::set< Tag > const &skiptags) |
template<typename TDE , typename TSwap > |
std::istream & | ReadWithLength (std::istream &is, VL &length) |
void | SetByteValue (const char *array, VL length) |
void | SetTag (const Tag &t) |
void | SetValue (Value const &vl) |
void | SetVL (const VL &vl) |
void | SetVLToUndefined () |
void | SetVR (VR const &vr) |
Class to represent an Item A component of the value of a Data Element that is of Value Representation Sequence of Items. An Item contains a Data Set . See PS 3.5 7.5.1 Item Encoding Rules Each Item of a Data Element of VR SQ shall be encoded as a DICOM Standart Data Element with a specific Data Element Tag of Value (FFFE,E000). The Item Tag is followed by a 4 byte Item Length field encoded in one of the following two ways Explicit/ Implicit.
- Note:
- ITEM: A component of the Value of a Data Element that is of Value Representation Sequence of Items. An Item contains a Data Set.
- Examples:
- ChangeSequenceUltrasound.cxx, DumpGEMSMovieGroup.cxx, ExtractEncryptedContent.cxx, Extracting_All_Resolution.cxx, Fake_Image_Using_Stream_Image_Writer.cxx, gdcmrtionplan.cxx, gdcmrtplan.cxx, GenAllVR.cxx, GenFakeIdentifyFile.cxx, GenLongSeqs.cxx, GenSeqs.cxx, GetSequenceUltrasound.cxx, GetSubSequenceData.cxx, and LargeVRDSExplicit.cxx.