DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes
DcmXfer Class Reference

a class that allows for a lookup of Transfer Syntax properties and readable descriptions More...

List of all members.

Public Member Functions

 DcmXfer (E_TransferSyntax xfer)
 constructor
 DcmXfer (const char *xferName_xferID)
 constructor
 DcmXfer (const DcmXfer &newXfer)
 copy constructor
 ~DcmXfer ()
 destructor
DcmXferoperator= (const E_TransferSyntax xfer)
 assignment operator for transfer syntax enum
DcmXferoperator= (const DcmXfer &newtag)
 copy assignment operator
E_TransferSyntax getXfer () const
 return transfer syntax enum for this transfer syntax
E_ByteOrder getByteOrder () const
 return byte order for this transfer syntax
const char * getXferName () const
 return name string for this transfer syntax
const char * getXferID () const
 return UID string for this transfer syntax
OFBool isLittleEndian () const
 return true if transfer syntax is little endian, false otherwise
OFBool isBigEndian () const
 return true if transfer syntax is big endian, false otherwise
OFBool isImplicitVR () const
 return true if transfer syntax is implicit VR, false otherwise
OFBool isExplicitVR () const
 return true if transfer syntax is explicit VR, false otherwise
OFBool isEncapsulated () const
 return true if transfer syntax is encapsulated, false otherwise
OFBool isNotEncapsulated () const
 return true if transfer syntax is native (non-encapsulated), false otherwise
Uint32 getJPEGProcess8Bit () const
 return 8-bit JPEG process ID for this transfer syntax.
Uint32 getJPEGProcess12Bit () const
 return 12-bit JPEG process ID for this transfer syntax.
OFBool isLossy () const
 check whether transfer syntax uses a lossy compression
OFBool isLossless () const
 check whether transfer syntax uses a lossless compression or no compression
OFBool isRetired () const
 check whether transfer syntax is retired
E_StreamCompression getStreamCompression () const
 get stream compression type for this transfer syntax
Uint32 sizeofTagHeader (DcmEVR evr) const
 return the number of bytes needed to describe the tag, length, VR and any reserved fields for this transfer syntax when encoding the specified VR.

Private Attributes

const char * xferID
 transfer syntax UID
const char * xferName
 transfer syntax name
E_TransferSyntax xferSyn
 transfer syntax enum
E_ByteOrder byteOrder
 transfer syntax byte order
E_VRType vrType
 transfer syntax VR encoding (implicit/explicit)
E_JPEGEncapsulated encapsulated
 transfer syntax encapsulated or native
Uint32 JPEGProcess8
 8-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable
Uint32 JPEGProcess12
 12-bit lossy JPEG process ID for this transfer syntax, 0 if not applicable
OFBool lossy
 flag indicating whether this transfer syntax uses a lossy compression
OFBool retired
 flag indicating whether this transfer syntax has been retired from DICOM
E_StreamCompression streamCompression
 transfer syntax stream compression type

Detailed Description

a class that allows for a lookup of Transfer Syntax properties and readable descriptions


Constructor & Destructor Documentation

DcmXfer::DcmXfer ( E_TransferSyntax  xfer)

constructor

Parameters:
xfertransfer syntax enum
DcmXfer::DcmXfer ( const char *  xferName_xferID)

constructor

Parameters:
xferName_xferIDtransfer syntax name as string

Member Function Documentation

Uint32 DcmXfer::getJPEGProcess12Bit ( ) const [inline]

return 12-bit JPEG process ID for this transfer syntax.

Lossy JPEG transfer syntaxes support two alternative JPEG encoding processes - 8 and 12 bits. When called for a non-JPEG transfer syntax, returns 0.

Returns:
12-bit JPEG process ID
Uint32 DcmXfer::getJPEGProcess8Bit ( ) const [inline]

return 8-bit JPEG process ID for this transfer syntax.

Lossy JPEG transfer syntaxes support two alternative JPEG encoding processes - 8 and 12 bits. When called for a non-JPEG transfer syntax, returns 0.

Returns:
8-bit JPEG process ID
E_StreamCompression DcmXfer::getStreamCompression ( ) const [inline]

get stream compression type for this transfer syntax

Returns:
stream compression type for this transfer syntax
OFBool DcmXfer::isLossless ( ) const [inline]

check whether transfer syntax uses a lossless compression or no compression

Returns:
true if transfer syntax uses a lossless compression or no compression, false otherwise
OFBool DcmXfer::isLossy ( ) const [inline]

check whether transfer syntax uses a lossy compression

Returns:
true if transfer syntax uses a lossy compression, false otherwise
OFBool DcmXfer::isRetired ( ) const [inline]

check whether transfer syntax is retired

Returns:
true if transfer syntax is retired, false otherwise
Uint32 DcmXfer::sizeofTagHeader ( DcmEVR  evr) const

return the number of bytes needed to describe the tag, length, VR and any reserved fields for this transfer syntax when encoding the specified VR.

Parameters:
evrvalue representation to be encoded in this transfer syntax
Returns:
number of bytes needed

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027