DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
Class representing an "unknown" functional group, e.g. a private one specified by a vendor or one that is not explicitly known yet to the dcmfg library. More...
Public Member Functions | |
FGUnknown (const DcmTagKey &seqStartTag, const DcmFGTypes::E_FGSharedType sharedType=DcmFGTypes::EFGS_UNKNOWN) | |
Creates unknown (to the dcmfg class library) functional group. More... | |
virtual DcmFGTypes::E_FGType | getType () const |
Returns type of this functional group (always "EFG_UNKNOWN") More... | |
virtual DcmFGTypes::E_FGSharedType | getSharedType () const |
Returns whether this group is potentially per-frame, shared or can be both. More... | |
virtual FGBase * | clone () const |
Returns a deep copy of this object. More... | |
virtual OFCondition | check () const |
Check whether this functional group contains valid data. More... | |
virtual void | clearData () |
Clear data within this group. | |
virtual OFCondition | read (DcmItem &item) |
Read this group into memory. More... | |
virtual OFCondition | write (DcmItem &item) |
Write this group to given item. More... | |
virtual int | compare (const FGBase &rhs) const |
Comparison operator that compares the normalized value of this object with a given object of the same type, i.e. the elements within both functional groups (this and rhs parameter) are compared by value! Both objects (this and rhs) need to have the same type (i.e. both FGUnknown) to be comparable. More... | |
virtual | ~FGUnknown () |
Virtual destructor, frees memory. | |
![]() | |
FGBase (const DcmFGTypes::E_FGType fgType) | |
Constructor, creates new functional group of given type. More... | |
virtual | ~FGBase () |
Virtual destructor. | |
Private Member Functions | |
FGUnknown () | |
Private default constructor, shall not be used. | |
Private Attributes | |
DcmTagKey | m_seqStartTag |
The tag that uniquely identifies this functional group. | |
DcmSequenceOfItems * | m_fgSequence |
The data hold by this item, i.e. the sequence making up the functional group. | |
DcmFGTypes::E_FGSharedType | m_sharedType |
Denotes whether this group is potentially per-frame, shared or can be both. | |
Additional Inherited Members | |
![]() | |
virtual OFCondition | getItemFromFGSequence (DcmItem &source, const DcmTagKey &seqKey, const unsigned long itemNum, DcmItem *&result) |
Get the item containing the payload of a functional group sequence, identified by the functional group's sequence key provided and the desired item number. More... | |
virtual OFCondition | createNewFGSequence (DcmItem &destination, const DcmTagKey &seqKey, const unsigned long numItems, DcmItem *&firstItem) |
Create functional group sequence specified by given sequence tag key. More... | |
Class representing an "unknown" functional group, e.g. a private one specified by a vendor or one that is not explicitly known yet to the dcmfg library.
The main purpose is to have a container for such functional groups that allows to read them into memory, access them using a low level API, and to be able to write store them back.
FGUnknown::FGUnknown | ( | const DcmTagKey & | seqStartTag, |
const DcmFGTypes::E_FGSharedType | sharedType = DcmFGTypes::EFGS_UNKNOWN |
||
) |
Creates unknown (to the dcmfg class library) functional group.
seqStartTag | The tag that uniquely identifies this functional group |
sharedType | Defines whether this group is potentially per-frame, shared or can be both. Default is "unknown". |
|
virtual |
Check whether this functional group contains valid data.
Implements FGBase.
|
virtual |
|
virtual |
Comparison operator that compares the normalized value of this object with a given object of the same type, i.e. the elements within both functional groups (this and rhs parameter) are compared by value! Both objects (this and rhs) need to have the same type (i.e. both FGUnknown) to be comparable.
This function is used in order to decide whether a functional group already exists, or is new. This is used in particular to find out whether a given functional group can be shared (i.e. the same information already exists as shared functional group) or is different from the same shared group. In that case the shared functional group must be distributed into per-frame functional groups, instead. The exact implementation for implementing the comparison is not relevant. However, it must be a comparison by value.
rhs | the right hand side of the comparison |
Implements FGBase.
|
inlinevirtual |
Returns whether this group is potentially per-frame, shared or can be both.
Implements FGBase.
References FGBase::check(), FGBase::clearData(), FGBase::clone(), FGBase::compare(), FGBase::read(), and FGBase::write().
|
inlinevirtual |
Returns type of this functional group (always "EFG_UNKNOWN")
Reimplemented from FGBase.
References DcmFGTypes::EFG_UNKNOWN.
|
virtual |
|
virtual |