vega
Classes | Public Types | Public Member Functions | Friends | List of all members
vega::VR Class Reference

#include <vega/vr.h>

Classes

union  Data
 
class  InvalidValueManipulator
 

Public Types

typedef uint16_t value_type
 

Public Member Functions

constexpr VR ()
 
constexpr VR (Data data)
 
constexpr VR (value_type value)
 
constexpr VR (char c1, char c2)
 
 VR (const std::string &chars)
 
const Datadata () const
 
Datadata ()
 
bool operator== (const VR &other) const
 
bool operator!= (const VR &other) const
 
bool operator< (const VR &other) const
 
std::string name () const
 
std::string str () const
 
std::string long_str () const
 
bool valid () const
 
bool needs_two_byte_padding () const
 
bool is_sequence () const
 
bool is_combined_vr () const
 
size_t block_size () const
 
template<typename T >
void validate_value_manipulator () const
 

Friends

std::ostream & operator<< (std::ostream &os, const VR &tag)
 

Detailed Description

See http://dicom.nema.org/dicom/2013/output/chtml/part05/sect_6.2.html

Member Typedef Documentation

◆ value_type

typedef uint16_t vega::VR::value_type

Constructor & Destructor Documentation

◆ VR() [1/5]

constexpr vega::VR::VR ( )
inline

◆ VR() [2/5]

constexpr vega::VR::VR ( Data  data)
inlineexplicit

◆ VR() [3/5]

constexpr vega::VR::VR ( value_type  value)
inlineexplicit

◆ VR() [4/5]

constexpr vega::VR::VR ( char  c1,
char  c2 
)
inlineexplicit

◆ VR() [5/5]

vega::VR::VR ( const std::string &  chars)
inlineexplicit

Member Function Documentation

◆ block_size()

size_t vega::VR::block_size ( ) const

◆ data() [1/2]

const Data& vega::VR::data ( ) const
inline

◆ data() [2/2]

Data& vega::VR::data ( )
inline

◆ is_combined_vr()

bool vega::VR::is_combined_vr ( ) const

◆ is_sequence()

bool vega::VR::is_sequence ( ) const

◆ long_str()

std::string vega::VR::long_str ( ) const

◆ name()

std::string vega::VR::name ( ) const

◆ needs_two_byte_padding()

bool vega::VR::needs_two_byte_padding ( ) const

◆ operator!=()

bool vega::VR::operator!= ( const VR other) const

◆ operator<()

bool vega::VR::operator< ( const VR other) const

◆ operator==()

bool vega::VR::operator== ( const VR other) const

◆ str()

std::string vega::VR::str ( ) const

◆ valid()

bool vega::VR::valid ( ) const

◆ validate_value_manipulator()

template<typename T >
void vega::VR::validate_value_manipulator ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const VR tag 
)
friend

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