Public Member Functions | Protected Member Functions

gdcm::RAWCodec Class Reference

RAWCodec class. More...

#include <gdcmRAWCodec.h>

Inheritance diagram for gdcm::RAWCodec:
Inheritance graph
[legend]
Collaboration diagram for gdcm::RAWCodec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RAWCodec ()
 ~RAWCodec ()
bool CanCode (TransferSyntax const &ts) const
bool CanDecode (TransferSyntax const &ts) const
 Return whether this decoder support this transfer syntax (can decode it).
virtual ImageCodecClone () const
bool Code (DataElement const &in, DataElement &out)
bool Decode (DataElement const &is, DataElement &os)
 Decode.
bool DecodeBytes (const char *inBytes, size_t inBufferLength, char *outBytes, size_t inOutBufferLength)
bool GetHeaderInfo (std::istream &is, TransferSyntax &ts)

Protected Member Functions

bool DecodeByStreams (std::istream &is, std::ostream &os)

Detailed Description

RAWCodec class.


Constructor & Destructor Documentation

gdcm::RAWCodec::RAWCodec (  ) 
gdcm::RAWCodec::~RAWCodec (  ) 

Member Function Documentation

bool gdcm::RAWCodec::CanCode ( TransferSyntax const &  ts  )  const

Reimplemented from gdcm::ImageCodec.

bool gdcm::RAWCodec::CanDecode ( TransferSyntax const &   )  const [virtual]

Return whether this decoder support this transfer syntax (can decode it).

Reimplemented from gdcm::ImageCodec.

virtual ImageCodec* gdcm::RAWCodec::Clone (  )  const [virtual]

Implements gdcm::ImageCodec.

bool gdcm::RAWCodec::Code ( DataElement const &  in,
DataElement out 
)
bool gdcm::RAWCodec::Decode ( DataElement const &  ,
DataElement  
) [virtual]

Decode.

Reimplemented from gdcm::ImageCodec.

bool gdcm::RAWCodec::DecodeByStreams ( std::istream &  is,
std::ostream &  os 
) [protected, virtual]

Reimplemented from gdcm::ImageCodec.

bool gdcm::RAWCodec::DecodeBytes ( const char *  inBytes,
size_t  inBufferLength,
char *  outBytes,
size_t  inOutBufferLength 
)

Used by the ImageStreamReader-- converts a read in buffer into one with the proper encodings.

bool gdcm::RAWCodec::GetHeaderInfo ( std::istream &  is,
TransferSyntax ts 
) [virtual]

Reimplemented from gdcm::ImageCodec.


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

Generated on Mon Jul 29 2013 11:24:33 for GDCM by doxygen 1.7.1
SourceForge.net Logo