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

gdcm::SequenceOfFragments Class Reference

#include <gdcmSequenceOfFragments.h>

Inheritance diagram for gdcm::SequenceOfFragments:

gdcm::Value gdcm::Object

List of all members.


Detailed Description

Class to represent a Sequence Of Fragments.

Todo:
I do not enforce that Sequence of Fragments ends with a SQ end del

Definition at line 32 of file gdcmSequenceOfFragments.h.


Public Types

typedef std::vector< FragmentFragmentVector

Public Member Functions

void AddFragment (Fragment const &item)
 Appends a Fragment to the already added ones.
void Clear ()
unsigned long ComputeByteLength () const
VL ComputeLength () const
bool GetBuffer (char *buffer, unsigned long length) const
bool GetFragBuffer (unsigned int fragNb, char *buffer, unsigned long &length) const
const FragmentGetFragment (unsigned int num) const
VL GetLength () const
 Returns the SQ length, as read from disk.
unsigned int GetNumberOfFragments () const
BasicOffsetTableGetTable ()
const BasicOffsetTableGetTable () const
void Print (std::ostream &os) const
template<typename TSwap>
std::istream & Read (std::istream &is)
 SequenceOfFragments ()
 constructor (UndefinedLength by default)
void SetLength (VL length)
 Sets the actual SQ length.
template<typename TSwap>
std::ostream const & Write (std::ostream &os) const
bool WriteBuffer (std::ostream &os) const

Static Public Member Functions

static SmartPointer
< SequenceOfFragments
New ()

Public Attributes

FragmentVector Fragments
 Vector of Sequence Fragments.
VL SequenceLengthField
BasicOffsetTable Table

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