GDCM
2.2.3
|
#include <gdcmElement.h>
Public Types | |
typedef VRToType< TVR >::Type | Type |
Public Member Functions | |
Element () | |
Element (const Element &_val) | |
~Element () | |
DataElement | GetAsDataElement () const |
unsigned long | GetLength () const |
const VRToType< TVR >::Type & | GetValue (unsigned int idx=0) const |
VRToType< TVR >::Type & | GetValue (unsigned int idx=0) |
Element & | operator= (const Element &_val) |
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 | SetArray (const Type *array, unsigned long len, bool save=false) |
void | SetFromDataElement (DataElement const &de) |
void | SetLength (unsigned long len) |
void | SetValue (typename VRToType< TVR >::Type v, unsigned int idx=0) |
void | Write (std::ostream &_os) const |
void | WriteASCII (std::ostream &os) const |
Static Public Member Functions | |
static VM | GetVM () |
static VR | GetVR () |
Protected Member Functions | |
void | SetNoSwap (Value const &v) |
typedef VRToType<TVR>::Type gdcm::Element< TVR, VM::VM1_n >::Type |
gdcm::Element< TVR, VM::VM1_n >::Element | ( | ) | [inline, explicit] |
gdcm::Element< TVR, VM::VM1_n >::~Element | ( | ) | [inline] |
References gdcm::Element< TVR, TVM >::Internal.
gdcm::Element< TVR, VM::VM1_n >::Element | ( | const Element< TVR, VM::VM1_n > & | _val | ) | [inline] |
DataElement gdcm::Element< TVR, VM::VM1_n >::GetAsDataElement | ( | ) | const [inline] |
unsigned long gdcm::Element< TVR, VM::VM1_n >::GetLength | ( | ) | const [inline] |
const VRToType<TVR>::Type& gdcm::Element< TVR, VM::VM1_n >::GetValue | ( | unsigned int | idx = 0 | ) | const [inline] |
VRToType<TVR>::Type& gdcm::Element< TVR, VM::VM1_n >::GetValue | ( | unsigned int | idx = 0 | ) | [inline] |
static VM gdcm::Element< TVR, VM::VM1_n >::GetVM | ( | ) | [inline, static] |
References gdcm::VM::VM1_n.
static VR gdcm::Element< TVR, VM::VM1_n >::GetVR | ( | ) | [inline, static] |
Element& gdcm::Element< TVR, VM::VM1_n >::operator= | ( | const Element< TVR, VM::VM1_n > & | _val | ) | [inline] |
VRToType<TVR>::Type gdcm::Element< TVR, VM::VM1_n >::operator[] | ( | unsigned int | idx | ) | const [inline] |
References gdcm::Element< TVR, TVM >::GetValue().
void gdcm::Element< TVR, VM::VM1_n >::Print | ( | std::ostream & | _os | ) | const [inline] |
References gdcm::Element< TVR, TVM >::GetLength().
void gdcm::Element< TVR, VM::VM1_n >::Read | ( | std::istream & | _is | ) | [inline] |
References gdcm::Element< TVR, TVM >::GetLength(), and gdcm::Element< TVR, TVM >::Read().
void gdcm::Element< TVR, VM::VM1_n >::Set | ( | Value const & | v | ) | [inline] |
void gdcm::Element< TVR, VM::VM1_n >::SetArray | ( | const Type * | array, |
unsigned long | len, | ||
bool | save = false |
||
) | [inline] |
void gdcm::Element< TVR, VM::VM1_n >::SetFromDataElement | ( | DataElement< TVR, VM::VM1_n > const & | de | ) | [inline] |
void gdcm::Element< TVR, VM::VM1_n >::SetLength | ( | unsigned long | len | ) | [inline] |
References gdcm::Element< TVR, TVM >::Internal.
void gdcm::Element< TVR, VM::VM1_n >::SetNoSwap | ( | Value const & | v | ) | [inline, protected] |
void gdcm::Element< TVR, VM::VM1_n >::SetValue | ( | typename VRToType< TVR >::Type | v, |
unsigned int | idx = 0 |
||
) | [inline] |
void gdcm::Element< TVR, VM::VM1_n >::Write | ( | std::ostream & | _os | ) | const [inline] |
References gdcm::Element< TVR, TVM >::GetLength(), and gdcm::Element< TVR, TVM >::Write().
void gdcm::Element< TVR, VM::VM1_n >::WriteASCII | ( | std::ostream & | os | ) | const [inline] |
References gdcm::Element< TVR, TVM >::GetLength(), and gdcm::Element< TVR, TVM >::Write().