Class to represent a Sequence Of Fragments.
More...
#include <gdcmSequenceOfFragments.h>
Class to represent a Sequence Of Fragments.
- Todo:
- I do not enforce that Sequence of Fragments ends with a SQ end del
- Examples:
- FixBrokenJ2K.cxx, FixJAIBugJPEGLS.cxx, and GetJPEGSamplePrecision.cxx.
| gdcm::SequenceOfFragments::SequenceOfFragments |
( |
| ) |
|
|
inline |
constructor (UndefinedLength by default)
| void gdcm::SequenceOfFragments::AddFragment |
( |
Fragment const & |
item | ) |
|
| Iterator gdcm::SequenceOfFragments::Begin |
( |
| ) |
|
|
inline |
| void gdcm::SequenceOfFragments::Clear |
( |
| ) |
|
|
virtual |
| unsigned long gdcm::SequenceOfFragments::ComputeByteLength |
( |
| ) |
const |
| VL gdcm::SequenceOfFragments::ComputeLength |
( |
| ) |
const |
| 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 |
| VL gdcm::SequenceOfFragments::GetLength |
( |
| ) |
const |
|
inlinevirtual |
Returns the SQ length, as read from disk.
Implements gdcm::Value.
| SizeType gdcm::SequenceOfFragments::GetNumberOfFragments |
( |
| ) |
const |
| bool gdcm::SequenceOfFragments::operator== |
( |
const Value & |
val | ) |
const |
|
inlinevirtual |
| void gdcm::SequenceOfFragments::Print |
( |
std::ostream & |
os | ) |
const |
|
inlinevirtual |
template<typename TSwap >
| std::istream& gdcm::SequenceOfFragments::Read |
( |
std::istream & |
is | ) |
|
|
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 |
References gdcmAssertAlwaysMacro, gdcmDebugMacro, gdcmWarningMacro, gdcm::Tag::GetElement(), gdcm::Tag::GetGroup(), gdcm::ByteValue::GetLength(), gdcm::ByteValue::GetPointer(), gdcm::DataElement::GetTag(), gdcm::DataElement::GetVL(), gdcm::Fragment::Read(), gdcm::Fragment::ReadBacktrack(), and gdcm::Exception::what().
| void gdcm::SequenceOfFragments::SetLength |
( |
VL |
length | ) |
|
|
inlinevirtual |
template<typename TSwap >
| std::ostream const& gdcm::SequenceOfFragments::Write |
( |
std::ostream & |
os | ) |
const |
|
inline |
| bool gdcm::SequenceOfFragments::WriteBuffer |
( |
std::ostream & |
os | ) |
const |
The documentation for this class was generated from the following file: