Class to represent binary value (array of bytes)
More...
#include <gdcmByteValue.h>
List of all members.
Protected Member Functions |
void | Print (std::ostream &os) const |
Detailed Description
Class to represent binary value (array of bytes)
- Note:
- Examples:
- DumpADAC.cxx, DuplicatePCDE.cxx, ELSCINT1WaveToText.cxx, ExtractEncryptedContent.cxx, ExtractIconFromFile.cxx, FixBrokenJ2K.cxx, FixJAIBugJPEGLS.cxx, GetSubSequenceData.cxx, MrProtocol.cxx, PatchFile.cxx, pmsct_rgb1.cxx, ReadExplicitLengthSQIVR.cxx, and rle2img.cxx.
Constructor & Destructor Documentation
gdcm::ByteValue::ByteValue |
( |
const char * |
array = 0 , |
|
|
VL const & |
vl = 0 |
|
) |
| |
|
inline |
gdcm::ByteValue::ByteValue |
( |
std::vector< char > & |
v | ) |
|
|
inline |
- Warning:
- casting to uint32_t
gdcm::ByteValue::~ByteValue |
( |
| ) |
|
|
inline |
Member Function Documentation
void gdcm::ByteValue::Clear |
( |
| ) |
|
|
inlinevirtual |
void gdcm::ByteValue::Fill |
( |
char |
c | ) |
|
|
inline |
bool gdcm::ByteValue::GetBuffer |
( |
char * |
buffer, |
|
|
unsigned long |
length |
|
) |
| const |
VL gdcm::ByteValue::GetLength |
( |
| ) |
const |
|
inlinevirtual |
Implements gdcm::Value.
- Examples:
- DumpADAC.cxx, ELSCINT1WaveToText.cxx, ExtractEncryptedContent.cxx, ExtractIconFromFile.cxx, FixBrokenJ2K.cxx, FixJAIBugJPEGLS.cxx, GetSubSequenceData.cxx, MrProtocol.cxx, PatchFile.cxx, pmsct_rgb1.cxx, ReadExplicitLengthSQIVR.cxx, ReadGEMSSDO.cxx, and rle2img.cxx.
Referenced by gdcm::operator<<(), gdcm::Element< VR::OB, VM::VM1_n >::Set(), gdcm::Element< TVR, VM::VM1_n >::Set(), gdcm::Attribute< Group, Element, TVR, TVM >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, VM::VM1 >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, VM::VM1_n >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, TVM >::SetByteValueNoSwap(), gdcm::Attribute< Group, Element, TVR, VM::VM1 >::SetByteValueNoSwap(), gdcm::Element< VR::OB, VM::VM1_n >::SetNoSwap(), gdcm::Element< TVR, VM::VM1_n >::SetNoSwap(), and gdcm::Fragment::Write().
const char* gdcm::ByteValue::GetPointer |
( |
| ) |
const |
|
inline |
- Examples:
- DumpADAC.cxx, ELSCINT1WaveToText.cxx, ExtractEncryptedContent.cxx, ExtractIconFromFile.cxx, FixBrokenJ2K.cxx, GetSubSequenceData.cxx, MrProtocol.cxx, pmsct_rgb1.cxx, ReadExplicitLengthSQIVR.cxx, ReadGEMSSDO.cxx, and rle2img.cxx.
Referenced by gdcm::operator<<(), gdcm::Element< VR::OB, VM::VM1_n >::Set(), gdcm::Element< TVR, VM::VM1_n >::Set(), gdcm::Attribute< Group, Element, TVR, TVM >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, VM::VM1 >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, VM::VM1_n >::SetByteValue(), gdcm::Attribute< Group, Element, TVR, TVM >::SetByteValueNoSwap(), gdcm::Attribute< Group, Element, TVR, VM::VM1 >::SetByteValueNoSwap(), gdcm::Element< VR::OB, VM::VM1_n >::SetNoSwap(), and gdcm::Element< TVR, VM::VM1_n >::SetNoSwap().
bool gdcm::ByteValue::IsEmpty |
( |
| ) |
const |
|
inline |
bool gdcm::ByteValue::IsPrintable |
( |
VL |
length | ) |
const |
|
inline |
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...
gdcm::ByteValue::operator const std::vector< char > & |
( |
| ) |
const |
|
inline |
bool gdcm::ByteValue::operator== |
( |
const ByteValue & |
val | ) |
const |
|
inline |
bool gdcm::ByteValue::operator== |
( |
const Value & |
val | ) |
const |
|
inlinevirtual |
void gdcm::ByteValue::Print |
( |
std::ostream & |
os | ) |
const |
|
inlineprotectedvirtual |
void gdcm::ByteValue::PrintASCII |
( |
std::ostream & |
os, |
|
|
VL |
maxlength |
|
) |
| const |
void gdcm::ByteValue::PrintGroupLength |
( |
std::ostream & |
os | ) |
|
|
inline |
void gdcm::ByteValue::PrintHex |
( |
std::ostream & |
os, |
|
|
VL |
maxlength |
|
) |
| const |
template<typename TSwap , typename TType >
std::istream& gdcm::ByteValue::Read |
( |
std::istream & |
is | ) |
|
|
inline |
template<typename TSwap >
std::istream& gdcm::ByteValue::Read |
( |
std::istream & |
is | ) |
|
|
inline |
void gdcm::ByteValue::SetLength |
( |
VL |
vl | ) |
|
|
inlinevirtual |
template<typename TSwap , typename TType >
std::ostream const& gdcm::ByteValue::Write |
( |
std::ostream & |
os | ) |
const |
|
inline |
template<typename TSwap >
std::ostream const& gdcm::ByteValue::Write |
( |
std::ostream & |
os | ) |
const |
|
inline |
bool gdcm::ByteValue::WriteBuffer |
( |
std::ostream & |
os | ) |
const |
|
inline |
The documentation for this class was generated from the following file: