Developer documentation
Version 3.0.3-105-gd3941f44
MR::File::Dicom::CSAEntry Class Reference

#include "file/dicom/csa_entry.h"

Public Member Functions

 CSAEntry (const uint8_t *start_p, const uint8_t *end_p, bool output_fields=false)
 
bool parse ()
 
const char * key () const
 
uint32_t num_items () const
 
uint32_t size () const
 
int get_int () const
 
default_type get_float () const
 
template<typename Container >
void get_float (Container &v) const
 
vector< std::string > get_string () const
 

Protected Attributes

const uint8_t * start
 
const uint8_t * next
 
const uint8_t * end
 
bool print
 
char name [65]
 
char vr [5]
 
uint32_t nitems
 
uint32_t num
 
uint32_t cnum
 

Friends

std::ostream & operator<< (std::ostream &stream, const CSAEntry &item)
 

Detailed Description

Definition at line 29 of file csa_entry.h.

Constructor & Destructor Documentation

◆ CSAEntry()

MR::File::Dicom::CSAEntry::CSAEntry ( const uint8_t *  start_p,
const uint8_t *  end_p,
bool  output_fields = false 
)
inline

Definition at line 31 of file csa_entry.h.

Member Function Documentation

◆ get_float() [1/2]

default_type MR::File::Dicom::CSAEntry::get_float ( ) const
inline

Definition at line 106 of file csa_entry.h.

◆ get_float() [2/2]

template<typename Container >
void MR::File::Dicom::CSAEntry::get_float ( Container &  v) const
inline

Definition at line 118 of file csa_entry.h.

◆ get_int()

int MR::File::Dicom::CSAEntry::get_int ( ) const
inline

Definition at line 95 of file csa_entry.h.

◆ get_string()

vector< std::string > MR::File::Dicom::CSAEntry::get_string ( ) const
inline

Definition at line 131 of file csa_entry.h.

◆ key()

const char * MR::File::Dicom::CSAEntry::key ( ) const
inline

Definition at line 90 of file csa_entry.h.

◆ num_items()

uint32_t MR::File::Dicom::CSAEntry::num_items ( ) const
inline

Definition at line 92 of file csa_entry.h.

◆ parse()

bool MR::File::Dicom::CSAEntry::parse ( )
inline

Definition at line 54 of file csa_entry.h.

◆ size()

uint32_t MR::File::Dicom::CSAEntry::size ( ) const
inline

Definition at line 93 of file csa_entry.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const CSAEntry item 
)
friend

Definition at line 143 of file csa_entry.h.

Member Data Documentation

◆ cnum

uint32_t MR::File::Dicom::CSAEntry::cnum
protected

Definition at line 168 of file csa_entry.h.

◆ end

const uint8_t* MR::File::Dicom::CSAEntry::end
protected

Definition at line 165 of file csa_entry.h.

◆ name

char MR::File::Dicom::CSAEntry::name[65]
protected

Definition at line 167 of file csa_entry.h.

◆ next

const uint8_t* MR::File::Dicom::CSAEntry::next
protected

Definition at line 164 of file csa_entry.h.

◆ nitems

uint32_t MR::File::Dicom::CSAEntry::nitems
protected

Definition at line 168 of file csa_entry.h.

◆ num

uint32_t MR::File::Dicom::CSAEntry::num
protected

Definition at line 168 of file csa_entry.h.

◆ print

bool MR::File::Dicom::CSAEntry::print
protected

Definition at line 166 of file csa_entry.h.

◆ start

const uint8_t* MR::File::Dicom::CSAEntry::start
protected

Definition at line 163 of file csa_entry.h.

◆ vr

char MR::File::Dicom::CSAEntry::vr[5]
protected

Definition at line 167 of file csa_entry.h.


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