Public Types | Public Member Functions | Static Public Member Functions

gdcm::SequenceOfFragments Class Reference

Class to represent a Sequence Of Fragments. More...

#include <gdcmSequenceOfFragments.h>

Inheritance diagram for gdcm::SequenceOfFragments:
Inheritance graph
Collaboration diagram for gdcm::SequenceOfFragments:
Collaboration graph

List of all members.

Public Types

typedef std::vector< FragmentFragmentVector
typedef FragmentVector::iterator Iterator
typedef FragmentVector::size_type SizeType

Public Member Functions

 SequenceOfFragments ()
 constructor (UndefinedLength by default)
void AddFragment (Fragment const &item)
 Appends a Fragment to the already added ones.
Iterator Begin ()
ConstIterator Begin () const
void Clear ()
unsigned long ComputeByteLength () const
VL ComputeLength () const
ConstIterator End () const
Iterator End ()
bool GetBuffer (char *buffer, unsigned long length) const
bool GetFragBuffer (unsigned int fragNb, char *buffer, unsigned long &length) const
const FragmentGetFragment (SizeType num) const
VL GetLength () const
 Returns the SQ length, as read from disk.
SizeType GetNumberOfFragments () const
const BasicOffsetTableGetTable () const
BasicOffsetTableGetTable ()
bool operator== (const Value &val) const
void Print (std::ostream &os) const
template<typename TSwap >
std::istream & Read (std::istream &is, bool readvalues=true)
template<typename TSwap >
std::istream & ReadPreValue (std::istream &is)
template<typename TSwap >
std::istream & ReadValue (std::istream &is, bool)
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 ()

Detailed Description

Class to represent a Sequence Of Fragments.

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

FixBrokenJ2K.cxx, FixJAIBugJPEGLS.cxx, and GetJPEGSamplePrecision.cxx.

Member Typedef Documentation

typedef FragmentVector::const_iterator gdcm::SequenceOfFragments::ConstIterator
typedef FragmentVector::iterator gdcm::SequenceOfFragments::Iterator
typedef FragmentVector::size_type gdcm::SequenceOfFragments::SizeType

Constructor & Destructor Documentation

gdcm::SequenceOfFragments::SequenceOfFragments (  )  [inline]

constructor (UndefinedLength by default)

Member Function Documentation

void gdcm::SequenceOfFragments::AddFragment ( Fragment const &  item  ) 

Appends a Fragment to the already added ones.

Iterator gdcm::SequenceOfFragments::Begin (  )  [inline]
ConstIterator gdcm::SequenceOfFragments::Begin (  )  const [inline]
void gdcm::SequenceOfFragments::Clear (  )  [virtual]


Implements gdcm::Value.

unsigned long gdcm::SequenceOfFragments::ComputeByteLength (  )  const
VL gdcm::SequenceOfFragments::ComputeLength (  )  const
ConstIterator gdcm::SequenceOfFragments::End (  )  const [inline]
Iterator gdcm::SequenceOfFragments::End (  )  [inline]
bool gdcm::SequenceOfFragments::GetBuffer ( char *  buffer,
unsigned long  length 
) const
bool gdcm::SequenceOfFragments::GetFragBuffer ( unsigned int  fragNb,
char *  buffer,
unsigned long &  length 
) const
const Fragment& gdcm::SequenceOfFragments::GetFragment ( SizeType  num  )  const
VL gdcm::SequenceOfFragments::GetLength (  )  const [inline, virtual]

Returns the SQ length, as read from disk.

Implements gdcm::Value.

SizeType gdcm::SequenceOfFragments::GetNumberOfFragments (  )  const
const BasicOffsetTable& gdcm::SequenceOfFragments::GetTable (  )  const [inline]
BasicOffsetTable& gdcm::SequenceOfFragments::GetTable (  )  [inline]
static SmartPointer<SequenceOfFragments> gdcm::SequenceOfFragments::New (  )  [inline, static]
bool gdcm::SequenceOfFragments::operator== ( const Value val  )  const [inline, virtual]

Implements gdcm::Value.

void gdcm::SequenceOfFragments::Print ( std::ostream &  os  )  const [inline, virtual]

Reimplemented from gdcm::Object.

template<typename TSwap >
std::istream& gdcm::SequenceOfFragments::Read ( std::istream &  is,
bool  readvalues = true 
) [inline]
template<typename TSwap >
std::istream& gdcm::SequenceOfFragments::ReadPreValue ( std::istream &  is  )  [inline]
template<typename TSwap >
std::istream& gdcm::SequenceOfFragments::ReadValue ( std::istream &  is,
) [inline]
void gdcm::SequenceOfFragments::SetLength ( VL  length  )  [inline, virtual]

Sets the actual SQ length.

Implements gdcm::Value.

template<typename TSwap >
std::ostream const& gdcm::SequenceOfFragments::Write ( std::ostream &  os  )  const [inline]

References gdcm::Tag::Write().

bool gdcm::SequenceOfFragments::WriteBuffer ( std::ostream &  os  )  const

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

Generated on Mon Jul 29 2013 11:24:34 for GDCM by doxygen 1.7.1 Logo