Inheritance diagram for DcmObject:
Public Member Functions | |
DcmObject (const DcmTag &tag, const Uint32 len=0) | |
constructor. | |
DcmObject (const DcmObject &obj) | |
copy constructor | |
virtual | ~DcmObject () |
destructor | |
virtual DcmObject * | clone () const =0 |
clone method | |
DcmObject & | operator= (const DcmObject &obj) |
assignment operator | |
virtual DcmEVR | ident () const =0 |
get type identifier (abstract) | |
DcmEVR | getVR () const |
OFBool | isaString () const |
virtual OFBool | isLeaf () const =0 |
virtual void | print (ostream &out, const size_t flags=0, const int level=0, const char *pixelFileName=NULL, size_t *pixelCounter=NULL)=0 |
print object to a stream | |
OFCondition | error () const |
E_TransferState | transferState () const |
virtual void | transferInit (void) |
virtual void | transferEnd (void) |
Uint16 | getGTag () const |
Uint16 | getETag () const |
const DcmTag & | getTag () const |
void | setGTag (Uint16 gtag) |
virtual OFCondition | setVR (DcmEVR) |
virtual unsigned long | getVM ()=0 |
virtual Uint32 | calcElementLength (const E_TransferSyntax xfer, const E_EncodingType enctype)=0 |
virtual Uint32 | getLength (const E_TransferSyntax xfer=EXS_LittleEndianImplicit, const E_EncodingType enctype=EET_UndefinedLength)=0 |
virtual OFBool | canWriteXfer (const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer)=0 |
virtual OFCondition | read (DcmInputStream &inStream, const E_TransferSyntax ixfer, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength)=0 |
virtual OFCondition | write (DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype=EET_UndefinedLength)=0 |
write object to a stream (abstract) | |
virtual OFCondition | writeXML (ostream &out, const size_t flags=0) |
write object in XML format to a stream | |
virtual OFCondition | writeSignatureFormat (DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype=EET_UndefinedLength)=0 |
special write method for creation of digital signatures (abstract) | |
virtual OFBool | isSignable () const |
returns true if the current object may be included in a digital signature | |
virtual OFBool | containsUnknownVR () const |
returns true if the object contains an element with Unknown VR at any nesting level | |
virtual OFCondition | clear ()=0 |
virtual OFCondition | verify (const OFBool autocorrect=OFFalse)=0 |
virtual DcmObject * | nextInContainer (const DcmObject *obj) |
virtual OFCondition | nextObject (DcmStack &stack, const OFBool intoSub) |
virtual OFCondition | search (const DcmTagKey &xtag, DcmStack &resultStack, E_SearchMode mode=ESM_fromHere, OFBool searchIntoSub=OFTrue) |
virtual OFCondition | searchErrors (DcmStack &resultStack) |
virtual OFCondition | loadAllDataIntoMemory ()=0 |
Protected Member Functions | |
void | printNestingLevel (ostream &out, const size_t flags, const int level) |
print line indentation, e.g. | |
void | printInfoLineStart (ostream &out, const size_t flags, const int level, DcmTag *tag=NULL) |
print beginning of the info line. | |
void | printInfoLineEnd (ostream &out, const size_t flags, const unsigned long printedLength=0xffffffff, DcmTag *tag=NULL) |
print end of the info line. | |
virtual void | printInfoLine (ostream &out, const size_t flags, const int level=0, const char *info=NULL, DcmTag *tag=NULL) |
print given text with element information. | |
virtual OFCondition | writeTagAndLength (DcmOutputStream &outStream, const E_TransferSyntax oxfer, Uint32 &writtenBytes) const |
virtual Uint32 | getTagAndLengthSize (const E_TransferSyntax oxfer) const |
return the number of bytes needed to serialize the tag, VR and length information of the current object using the given transfer syntax. | |
Static Protected Member Functions | |
static OFCondition | writeTag (DcmOutputStream &outStream, const DcmTag &tag, const E_TransferSyntax oxfer) |
Protected Attributes | |
DcmTag | Tag |
Uint32 | Length |
E_TransferState | fTransferState |
OFCondition | errorFlag |
Uint32 | fTransferredBytes |
Definition at line 121 of file dcobject.h.
|
constructor. Create new object from given tag and length.
|
|
copy constructor
|
|
clone method
Implemented in DcmByteString, DcmCharString, DcmDataset, DcmDirectoryRecord, DcmFileFormat, DcmItem, DcmMetaInfo, DcmOverlayData, DcmPixelData, DcmPixelSequence, DcmPixelItem, DcmSequenceOfItems, DcmApplicationEntity, DcmAgeString, DcmAttributeTag, DcmCodeString, DcmDate, DcmDecimalString, DcmDateTime, DcmFloatingPointDouble, DcmFloatingPointSingle, DcmIntegerString, DcmLongString, DcmLongText, DcmOtherByteOtherWord, DcmOtherFloat, DcmPersonName, DcmPolymorphOBOW, DcmShortString, DcmSignedLong, DcmSignedShort, DcmShortText, DcmTime, DcmUniqueIdentifier, DcmUnsignedLong, DcmUnsignedLongOffset, DcmUnsignedShort, and DcmUnlimitedText. |
|
returns true if the object contains an element with Unknown VR at any nesting level
Reimplemented in DcmItem, and DcmSequenceOfItems. |
|
return the number of bytes needed to serialize the tag, VR and length information of the current object using the given transfer syntax.
|
|
get type identifier (abstract)
Implemented in DcmByteString, DcmDataset, DcmFileFormat, DcmItem, DcmMetaInfo, DcmOverlayData, DcmPixelData, DcmPixelSequence, DcmPixelItem, DcmSequenceOfItems, DcmApplicationEntity, DcmAgeString, DcmAttributeTag, DcmCodeString, DcmDate, DcmDecimalString, DcmDateTime, DcmFloatingPointDouble, DcmFloatingPointSingle, DcmIntegerString, DcmLongString, DcmLongText, DcmOtherByteOtherWord, DcmOtherFloat, DcmPersonName, DcmShortString, DcmSignedLong, DcmSignedShort, DcmShortText, DcmTime, DcmUniqueIdentifier, DcmUnsignedLong, DcmUnsignedLongOffset, and DcmUnsignedShort. |
|
returns true if the current object may be included in a digital signature
Reimplemented in DcmSequenceOfItems. |
|
assignment operator
|
|
print object to a stream
Implemented in DcmByteString, DcmDataset, DcmFileFormat, DcmItem, DcmMetaInfo, DcmAttributeTag, DcmFloatingPointDouble, DcmFloatingPointSingle, DcmOtherByteOtherWord, DcmSignedLong, DcmSignedShort, DcmUniqueIdentifier, DcmUnsignedLong, and DcmUnsignedShort. |
|
print given text with element information. Calls printInfoLineStart() and printInfoLineEnd() to frame the 'info' text.
|
|
print end of the info line. The default output is length, value multiplicity and tag name, though other visualizations are possible depending on the value of 'flags'.
|
|
print beginning of the info line. The default output is tag and value representation, though other visualizations are possible depending on the value of 'flags'.
|
|
print line indentation, e.g. a couple of spaces for each nesting level. Depending on the value of 'flags' other visualizations are also possible.
|
|
write object to a stream (abstract)
Implemented in DcmByteString, DcmDataset, DcmElement, DcmFileFormat, DcmItem, DcmMetaInfo, DcmPixelData, and DcmOtherByteOtherWord. |
|
special write method for creation of digital signatures (abstract)
Implemented in DcmByteString, DcmDataset, DcmElement, DcmItem, DcmPixelData, DcmPixelSequence, DcmPixelItem, DcmSequenceOfItems, DcmOtherByteOtherWord, and DcmPolymorphOBOW. |
|
write object in XML format to a stream
Reimplemented in DcmDataset, DcmElement, DcmFileFormat, DcmItem, DcmMetaInfo, DcmPixelData, DcmPixelItem, DcmSequenceOfItems, and DcmOtherByteOtherWord. |