Inheritance diagram for DcmDataset:
Public Member Functions | |
DcmDataset () | |
default constructor | |
DcmDataset (const DcmDataset &old) | |
copy constructor | |
virtual | ~DcmDataset () |
destructor | |
virtual DcmObject * | clone () const |
clone method | |
virtual DcmEVR | ident () const |
get type identifier | |
E_TransferSyntax | getOriginalXfer () const |
virtual void | print (ostream &out, const size_t flags=0, const int level=0, const char *pixelFileName=NULL, size_t *pixelCounter=NULL) |
print all elements of the dataset to a stream | |
Uint32 | calcElementLength (const E_TransferSyntax xfer, const E_EncodingType enctype) |
virtual OFBool | canWriteXfer (const E_TransferSyntax newXfer, const E_TransferSyntax oldXfer=EXS_Unknown) |
virtual OFCondition | read (DcmInputStream &inStream, const E_TransferSyntax xfer=EXS_Unknown, const E_GrpLenEncoding glenc=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength) |
This function reads the information of all attributes which are captured in the input stream and captures this information in this->elementList. | |
virtual OFCondition | write (DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype=EET_UndefinedLength) |
write dataset to a stream | |
virtual OFCondition | write (DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype, const E_GrpLenEncoding glenc, const E_PaddingEncoding padenc=EPD_noChange, const Uint32 padlen=0, const Uint32 subPadlen=0, Uint32 instanceLength=0) |
This function writes data values which are contained in this DcmDataset object to the stream which is passed as first argument. | |
virtual OFCondition | writeSignatureFormat (DcmOutputStream &outStream, const E_TransferSyntax oxfer, const E_EncodingType enctype=EET_UndefinedLength) |
special write method for creation of digital signatures | |
virtual OFCondition | writeXML (ostream &out, const size_t flags=0) |
write object in XML format. | |
virtual OFCondition | clear () |
virtual OFCondition | loadFile (const char *fileName, const E_TransferSyntax readXfer=EXS_Unknown, const E_GrpLenEncoding groupLength=EGL_noChange, const Uint32 maxReadLength=DCM_MaxReadLength) |
load object from a DICOM file. | |
virtual OFCondition | saveFile (const char *fileName, const E_TransferSyntax writeXfer=EXS_Unknown, const E_EncodingType encodingType=EET_UndefinedLength, const E_GrpLenEncoding groupLength=EGL_recalcGL, const E_PaddingEncoding padEncoding=EPD_noChange, const Uint32 padLength=0, const Uint32 subPadLength=0) |
save object to a DICOM file. | |
OFCondition | chooseRepresentation (const E_TransferSyntax repType, const DcmRepresentationParameter *repParam) |
OFBool | hasRepresentation (const E_TransferSyntax repType, const DcmRepresentationParameter *repParam) |
void | removeAllButOriginalRepresentations () |
removes all but the original representation in all pixel data elements | |
void | removeAllButCurrentRepresentations () |
removes all but the current representation and sets the original representation to current | |
Private Member Functions | |
DcmDataset & | operator= (const DcmDataset &) |
private undefined copy assignment operator | |
Private Attributes | |
E_TransferSyntax | Xfer |
current transfer syntax of the dataset |
Definition at line 54 of file dcdatset.h.
|
copy constructor
|
|
clone method
Reimplemented from DcmItem. Definition at line 76 of file dcdatset.h. References DcmDataset(). |
|
get type identifier
Reimplemented from DcmItem. |
|
load object from a DICOM file. This method only supports DICOM objects stored as a dataset, i.e. without meta header. Use DcmFileFormat::loadFile() to load files with meta header.
|
|
print all elements of the dataset to a stream
Reimplemented from DcmItem. |
|
This function reads the information of all attributes which are captured in the input stream and captures this information in this->elementList. Each attribute is represented as an element in this list. Having read all information for this particular data set or command, this function will also take care of group length (according to what is specified in glenc) and padding elements (don't change anything).
Reimplemented from DcmItem. |
|
save object to a DICOM file. This method only supports DICOM objects stored as a dataset, i.e. without meta header. Use DcmFileFormat::saveFile() to save files with meta header.
|
|
This function writes data values which are contained in this DcmDataset object to the stream which is passed as first argument. With regard to the writing of information, the other parameters which are passed are accounted for. The function will return EC_Normal, if the information from all elements of this data set has been written to the buffer, it will return EC_StreamNotifyClient, if there is no more space in the buffer and _not_ all elements have been written to it, and it will return some other (error) value if there was an error.
|
|
write dataset to a stream
Reimplemented from DcmItem. |
|
special write method for creation of digital signatures
Reimplemented from DcmItem. |
|
write object in XML format. The XML declaration (e.g. <?xml version="1.0"?>) is not written by this function.
Reimplemented from DcmItem. |