GDCM
2.2.0
|
#include <gdcmPDBHeader.h>
Public Member Functions | |
PDBHeader () | |
~PDBHeader () | |
bool | FindPDBElementByName (const char *name) |
Return true if the PDB element matching name is found or not. | |
const PDBElement & | GetPDBElementByName (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 PrivateTag & | GetPDBInfoTag () |
Return the Private Tag where the PDB header is stored within a DICOM DataSet. | |
Protected Member Functions | |
const PDBElement & | GetPDBEEnd () const |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const PDBHeader &d) |
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.
gdcm::PDBHeader::PDBHeader | ( | ) | [inline] |
gdcm::PDBHeader::~PDBHeader | ( | ) | [inline] |
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':
static const PrivateTag& gdcm::PDBHeader::GetPDBInfoTag | ( | ) | [static] |
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<<().
std::ostream& operator<< | ( | std::ostream & | _os, |
const PDBHeader & | d | ||
) | [friend] |