Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends

gdcm::PDBHeader Class Reference

Class for PDBHeader. More...

#include <gdcmPDBHeader.h>

Collaboration diagram for gdcm::PDBHeader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PDBHeader ()
 ~PDBHeader ()
bool FindPDBElementByName (const char *name)
 Return true if the PDB element matching name is found or not.
const PDBElementGetPDBElementByName (const char *name)
bool LoadFromDataElement (DataElement const &de)
 Load the PDB Header from a DataElement of a DataSet.
void Print (std::ostream &os) const
 Print.

Static Public Member Functions

static const PrivateTagGetPDBInfoTag ()
 Return the Private Tag where the PDB header is stored within a DICOM DataSet.

Protected Member Functions

const PDBElementGetPDBEEnd () const

Friends

std::ostream & operator<< (std::ostream &_os, const PDBHeader &d)

Detailed Description

Class for PDBHeader.

GEMS MR Image have an Attribute (0025,1b,GEMS_SERS_01) which store the Acquisition parameter of the MR Image. It is compressed and can therefore not be used as is. This class de-encapsulated the Protocol Data Block and allow users to query element by name.

Warning:
Everything you do with this code is at your own risk, since decoding process was not written from specification documents.
: the API of this class might change.
See also:
CSAHeader

Constructor & Destructor Documentation

gdcm::PDBHeader::PDBHeader (  )  [inline]
gdcm::PDBHeader::~PDBHeader (  )  [inline]

Member Function Documentation

bool gdcm::PDBHeader::FindPDBElementByName ( const char *  name  ) 

Return true if the PDB element matching name is found or not.

const PDBElement& gdcm::PDBHeader::GetPDBEEnd (  )  const [protected]
const PDBElement& gdcm::PDBHeader::GetPDBElementByName ( const char *  name  ) 

Lookup in the PDB header if a PDB element match the name 'name':

Warning:
Case Sensitive
static const PrivateTag& gdcm::PDBHeader::GetPDBInfoTag (  )  [static]

Return the Private Tag where the PDB header is stored within a DICOM DataSet.

bool gdcm::PDBHeader::LoadFromDataElement ( DataElement const &  de  ) 

Load the PDB Header from a DataElement of a DataSet.

void gdcm::PDBHeader::Print ( std::ostream &  os  )  const

Print.

Referenced by gdcm::operator<<().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  _os,
const PDBHeader d 
) [friend]

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

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