GDCM  2.2.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
gdcm::Element< TVR, TVM > Class Template Reference

Element class. More...

#include <gdcmElement.h>

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

List of all members.

Public Types

typedef VRToType< TVR >::Type Type

Public Member Functions

DataElement GetAsDataElement () const
unsigned long GetLength () const
const VRToType< TVR >::TypeGetValue (unsigned int idx=0) const
VRToType< TVR >::TypeGetValue (unsigned int idx=0)
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<int TVR, int TVM>
class gdcm::Element< TVR, TVM >

Element class.

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

Member Typedef Documentation

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

Member Function Documentation

template<int TVR, int TVM>
DataElement gdcm::Element< TVR, TVM >::GetAsDataElement ( ) const
inline
template<int TVR, int TVM>
unsigned long gdcm::Element< TVR, TVM >::GetLength ( ) const
inline
template<int TVR, int TVM>
const VRToType<TVR>::Type& gdcm::Element< TVR, TVM >::GetValue ( unsigned int  idx = 0) const
inline
template<int TVR, int TVM>
VRToType<TVR>::Type& gdcm::Element< TVR, TVM >::GetValue ( unsigned int  idx = 0)
inline
template<int TVR, int TVM>
const VRToType<TVR>::Type* gdcm::Element< TVR, TVM >::GetValues ( ) const
inline
template<int TVR, int TVM>
static VM gdcm::Element< TVR, TVM >::GetVM ( )
inlinestatic
template<int TVR, int TVM>
static VR gdcm::Element< TVR, TVM >::GetVR ( )
inlinestatic
template<int TVR, int TVM>
VRToType<TVR>::Type gdcm::Element< TVR, TVM >::operator[] ( unsigned int  idx) const
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::Print ( std::ostream &  _os) const
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::Read ( std::istream &  _is)
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::Set ( Value const &  v)
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetFromDataElement ( DataElement< TVR, TVM > const &  de)
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetNoSwap ( Value const &  v)
inlineprotected
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::SetValue ( typename VRToType< TVR >::Type  v,
unsigned int  idx = 0 
)
inline
template<int TVR, int TVM>
void gdcm::Element< TVR, TVM >::Write ( std::ostream &  _os) const
inline

Member Data Documentation

template<int 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:

Generated on Wed Jun 13 2012 20:40:39 for GDCM by doxygen 1.8.1
SourceForge.net Logo