Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

gdcm::ByteValue Class Reference

#include <gdcmByteValue.h>

Inheritance diagram for gdcm::ByteValue:

gdcm::Value gdcm::Object

List of all members.

Detailed Description

Class to represent binary value (array of bytes).


Definition at line 34 of file gdcmByteValue.h.

Public Member Functions

 ByteValue (std::vector< char > &v)
 ByteValue (const char *array=0, VL const &vl=0)
void Clear ()
void Fill (char c)
bool GetBuffer (char *buffer, unsigned long length) const
VL GetLength () const
const char * GetPointer () const
bool IsEmpty () const
bool IsPrintable (VL length) const
 Checks whether a 'ByteValue' is printable or not (in order to avoid corrupting the terminal of invocation when printing) I dont think this function is working since it does not handle UNICODE or character set...
 operator const std::vector< char > & () const
ByteValueoperator= (const ByteValue &val)
bool operator== (const ByteValue &val) const
void PrintASCII (std::ostream &os, VL maxlength) const
void PrintGroupLength (std::ostream &os)
void PrintHex (std::ostream &os, VL maxlength) const
template<typename TSwap>
std::istream & Read (std::istream &is)
template<typename TSwap, typename TType>
std::istream & Read (std::istream &is)
void SetLength (VL vl)
template<typename TSwap>
std::ostream const & Write (std::ostream &os) const
template<typename TSwap, typename TType>
std::ostream const & Write (std::ostream &os) const
bool WriteBuffer (std::ostream &os) const

Protected Member Functions

void Print (std::ostream &os) const
void Register ()
void UnRegister ()

Private Attributes

std::vector< char > Internal
VL Length

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

Generated by  Doxygen 1.6.0   Back to index