Logo Search packages:      
Sourcecode: gdcm version File versions

gdcm::SequenceOfItems Class Reference

#include <gdcmSequenceOfItems.h>

Inheritance diagram for gdcm::SequenceOfItems:

gdcm::Value gdcm::Object

List of all members.

Detailed Description

Class to represent a Sequence Of Items (value representation : SQ)

See PS 3.5, 7.4.6 Data Element Type Within a Sequence

SEQUENCE OF ITEMS (VALUE REPRESENTATION SQ) A Value Representation for Data Elements that contain a sequence of Data Sets. Sequence of Items allows for Nested Data Sets.

Definition at line 39 of file gdcmSequenceOfItems.h.

Public Types

typedef ItemVector::const_iterator ConstIterator
typedef std::vector< ItemItemVector
typedef ItemVector::iterator Iterator

Public Member Functions

void AddItem (Item const &item)
 Appends an Item to the already added ones.
ConstIterator Begin () const
Iterator Begin ()
void Clear ()
template<typename TDE>
VL ComputeLength () const
ConstIterator End () const
Iterator End ()
ItemGetItem (unsigned int position)
const ItemGetItem (unsigned int position) const
VL GetLength () const
 Returns the SQ length, as read from disk.
unsigned int GetNumberOfItems () const
SequenceOfItemsoperator= (const SequenceOfItems &val)
void Print (std::ostream &os) const
template<typename TDE, typename TSwap>
std::istream & Read (std::istream &is)
 SequenceOfItems ()
 constructor (UndefinedLength by default)
void SetLength (VL length)
 Sets the actual SQ length.
void SetLengthToUndefined ()
template<typename TDE, typename TSwap>
std::ostream const & Write (std::ostream &os) const

Public Attributes

ItemVector Items
 Vector of Sequence Items.
VL SequenceLengthField
 Total length of the Sequence (or 0xffffffff) if undefined.

Protected Member Functions

void Register ()
void UnRegister ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index