GDCM
2.2.3
|
Class to represent a Sequence Of Fragments. More...
#include <gdcmSequenceOfFragments.h>
Public Types | |
typedef FragmentVector::const_iterator | ConstIterator |
typedef std::vector< Fragment > | FragmentVector |
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 () |
Clear. | |
unsigned long | ComputeByteLength () const |
VL | ComputeLength () const |
Iterator | End () |
ConstIterator | End () const |
bool | GetBuffer (char *buffer, unsigned long length) const |
bool | GetFragBuffer (unsigned int fragNb, char *buffer, unsigned long &length) const |
const Fragment & | GetFragment (SizeType num) const |
VL | GetLength () const |
Returns the SQ length, as read from disk. | |
SizeType | GetNumberOfFragments () const |
const BasicOffsetTable & | GetTable () const |
BasicOffsetTable & | GetTable () |
bool | operator== (const Value &val) const |
void | Print (std::ostream &os) const |
template<typename TSwap > | |
std::istream & | Read (std::istream &is) |
template<typename TSwap > | |
std::istream & | ReadPreValue (std::istream &is) |
template<typename TSwap > | |
std::istream & | ReadValue (std::istream &is) |
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 () |
Class to represent a Sequence Of Fragments.
typedef FragmentVector::const_iterator gdcm::SequenceOfFragments::ConstIterator |
typedef std::vector<Fragment> gdcm::SequenceOfFragments::FragmentVector |
typedef FragmentVector::iterator gdcm::SequenceOfFragments::Iterator |
typedef FragmentVector::size_type gdcm::SequenceOfFragments::SizeType |
gdcm::SequenceOfFragments::SequenceOfFragments | ( | ) | [inline] |
constructor (UndefinedLength by default)
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] |
Clear.
Implements gdcm::Value.
unsigned long gdcm::SequenceOfFragments::ComputeByteLength | ( | ) | const |
VL gdcm::SequenceOfFragments::ComputeLength | ( | ) | const |
Iterator gdcm::SequenceOfFragments::End | ( | ) | [inline] |
ConstIterator gdcm::SequenceOfFragments::End | ( | ) | const [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.
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.
std::istream& gdcm::SequenceOfFragments::Read | ( | std::istream & | is | ) | [inline] |
std::istream& gdcm::SequenceOfFragments::ReadPreValue | ( | std::istream & | is | ) | [inline] |
References gdcmDebugMacro, and gdcm::DataElement::SetByteValue().
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.
std::ostream const& gdcm::SequenceOfFragments::Write | ( | std::ostream & | os | ) | const [inline] |
References gdcm::VL::Write(), and gdcm::Tag::Write().
bool gdcm::SequenceOfFragments::WriteBuffer | ( | std::ostream & | os | ) | const |