GDCM 3.0.24
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
gdcm::Element< TVR, TVM > Class Template Reference

Element class. More...

#include <gdcmElement.h>

Inheritance diagram for gdcm::Element< TVR, TVM >:
[legend]
Collaboration diagram for gdcm::Element< TVR, TVM >:
[legend]

Public Types

typedef VRToType< TVR >::Type Type
 

Public Member Functions

DataElement GetAsDataElement () const
 
unsigned long GetLength () const
 
VRToType< TVR >::TypeGetValue (unsigned int idx=0)
 
const VRToType< TVR >::TypeGetValue (unsigned int idx=0) const
 
const VRToType< TVR >::TypeGetValues () const
 
VRToType< TVR >::Type operator[] (unsigned int idx) const
 
void Print (std::ostream &_os) const
 
void Read (std::istream &_is)
 
void Set (Value const &v)
 
void SetFromDataElement (DataElement const &de)
 
void SetValue (typename VRToType< TVR >::Type v, unsigned int idx=0)
 
void Write (std::ostream &_os) const
 

Static Public Member Functions

static VM GetVM ()
 
static VR GetVR ()
 

Public Attributes

VRToType< TVR >::Type Internal [VMToLength< TVM >::Length]
 

Protected Member Functions

void SetNoSwap (Value const &v)
 

Detailed Description

template<long long TVR, int TVM>
class gdcm::Element< TVR, TVM >

Element class.

Note
TODO
Examples
DumpADAC.cxx, DumpExamCard.cxx, DumpGEMSMovieGroup.cxx, DumpPhilipsECHO.cxx, Extracting_All_Resolution.cxx, Fake_Image_Using_Stream_Image_Writer.cxx, GetSubSequenceData.cxx, csa2img.cxx, and iU22tomultisc.cxx.

Member Typedef Documentation

◆ Type

template<long long TVR, int TVM>
typedef VRToType<TVR>::Type gdcm::Element< TVR, TVM >::Type

Member Function Documentation

◆ GetAsDataElement()

template<long long TVR, int TVM>
DataElement gdcm::Element< TVR, TVM >::GetAsDataElement ( ) const
inline

◆ GetLength()

template<long long TVR, int TVM>
unsigned long gdcm::Element< TVR, TVM >::GetLength ( ) const
inline

◆ GetValue() [1/2]

template<long long TVR, int TVM>
VRToType< TVR >::Type & gdcm::Element< TVR, TVM >::GetValue ( unsigned int  idx = 0)
inline

◆ GetValue() [2/2]

template<long long TVR, int TVM>
const VRToType< TVR >::Type & gdcm::Element< TVR, TVM >::GetValue ( unsigned int  idx = 0) const
inline

◆ GetValues()

template<long long TVR, int TVM>
const VRToType< TVR >::Type * gdcm::Element< TVR, TVM >::GetValues ( ) const
inline

◆ GetVM()

template<long long TVR, int TVM>
static VM gdcm::Element< TVR, TVM >::GetVM ( )
inlinestatic

◆ GetVR()

template<long long TVR, int TVM>
static VR gdcm::Element< TVR, TVM >::GetVR ( )
inlinestatic

◆ operator[]()

template<long long TVR, int TVM>
VRToType< TVR >::Type gdcm::Element< TVR, TVM >::operator[] ( unsigned int  idx) const
inline

◆ Print()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::Print ( std::ostream &  _os) const
inline

◆ Read()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::Read ( std::istream &  _is)
inline

◆ Set()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::Set ( Value const &  v)
inline

◆ SetFromDataElement()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetFromDataElement ( DataElement< TVR, TVM > const &  de)
inline

◆ SetNoSwap()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetNoSwap ( Value const &  v)
inlineprotected

◆ SetValue()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetValue ( typename VRToType< TVR >::Type  v,
unsigned int  idx = 0 
)
inline

◆ Write()

template<long long TVR, int TVM>
void gdcm::Element< TVR, TVM >::Write ( std::ostream &  _os) const
inline

Member Data Documentation

◆ Internal

template<long long TVR, int TVM>
VRToType<TVR>::Type gdcm::Element< TVR, TVM >::Internal[VMToLength< TVM >::Length]

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