Class to represent a Sequence Of Items.
More...
#include <gdcmSequenceOfItems.h>
Class to represent a Sequence Of Items.
(value representation : SQ)
- a Value Representation for Data Elements that contains a sequence of Data Sets.
- Sequence of Item allows for Nested Data Sets
See PS 3.5, 7.4.6 Data Element Type Within a Sequence
- Note
- 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.
- Examples
- DumpExamCard.cxx, DumpGEMSMovieGroup.cxx, ExtractEncryptedContent.cxx, Extracting_All_Resolution.cxx, Fake_Image_Using_Stream_Image_Writer.cxx, GenAllVR.cxx, GenFakeIdentifyFile.cxx, GenLongSeqs.cxx, GenSeqs.cxx, GetSequenceUltrasound.cxx, and ReadExplicitLengthSQIVR.cxx.
◆ ConstIterator
◆ ItemVector
◆ Iterator
◆ SizeType
◆ SequenceOfItems()
| gdcm::SequenceOfItems::SequenceOfItems |
( |
| ) |
|
|
inline |
constructor (UndefinedLength by default)
◆ AddItem()
| void gdcm::SequenceOfItems::AddItem |
( |
Item const & |
item | ) |
|
◆ AddNewUndefinedLengthItem()
| Item & gdcm::SequenceOfItems::AddNewUndefinedLengthItem |
( |
| ) |
|
Appends an Item to the already added ones.
◆ Begin() [1/2]
| Iterator gdcm::SequenceOfItems::Begin |
( |
| ) |
|
|
inline |
◆ Begin() [2/2]
◆ Clear()
| void gdcm::SequenceOfItems::Clear |
( |
| ) |
|
|
overridevirtual |
remove all items within the sequence
Implements gdcm::Value.
◆ ComputeLength()
template<typename TDE >
| VL gdcm::SequenceOfItems::ComputeLength |
( |
| ) |
const |
◆ End() [1/2]
◆ End() [2/2]
◆ FindDataElement()
| bool gdcm::SequenceOfItems::FindDataElement |
( |
const Tag & |
t | ) |
const |
◆ GetItem() [1/2]
◆ GetItem() [2/2]
| const Item & gdcm::SequenceOfItems::GetItem |
( |
SizeType |
position | ) |
const |
◆ GetLength()
| VL gdcm::SequenceOfItems::GetLength |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the SQ length, as read from disk.
Implements gdcm::Value.
◆ GetNumberOfItems()
| SizeType gdcm::SequenceOfItems::GetNumberOfItems |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
| bool gdcm::SequenceOfItems::IsEmpty |
( |
| ) |
const |
|
inline |
◆ IsUndefinedLength()
| bool gdcm::SequenceOfItems::IsUndefinedLength |
( |
| ) |
const |
|
inline |
return if Value Length if of undefined length
◆ New()
◆ operator=()
◆ operator==()
| bool gdcm::SequenceOfItems::operator== |
( |
const Value & |
val | ) |
const |
|
inlineoverridevirtual |
◆ Print()
| void gdcm::SequenceOfItems::Print |
( |
std::ostream & |
os | ) |
const |
|
inlineoverridevirtual |
◆ Read()
template<typename TDE , typename TSwap >
| std::istream & gdcm::SequenceOfItems::Read |
( |
std::istream & |
is, |
|
|
bool |
readvalues = true |
|
) |
| |
|
inline |
◆ RemoveItemByIndex()
| bool gdcm::SequenceOfItems::RemoveItemByIndex |
( |
const SizeType |
index | ) |
|
Remove an Item as specified by its index, if index > size, false is returned Index starts at 1 not 0
◆ SetLength()
| void gdcm::SequenceOfItems::SetLength |
( |
VL |
length | ) |
|
|
inlineoverridevirtual |
◆ SetLengthToUndefined()
| void gdcm::SequenceOfItems::SetLengthToUndefined |
( |
| ) |
|
Properly set the Sequence of Item to be undefined length.
◆ SetNumberOfItems()
| void gdcm::SequenceOfItems::SetNumberOfItems |
( |
SizeType |
n | ) |
|
|
inline |
◆ Write()
template<typename TDE , typename TSwap >
| std::ostream const & gdcm::SequenceOfItems::Write |
( |
std::ostream & |
os | ) |
const |
|
inline |
◆ Items
◆ SequenceLengthField
| VL gdcm::SequenceOfItems::SequenceLengthField |
The documentation for this class was generated from the following file: