GDCM: gdcm::network::PresentationDataValue Class Reference

GDCM 3.0.25

Public Member Functions | Static Public Member Functions | List of all members
gdcm::network::PresentationDataValue Class Reference

PresentationDataValue. More...

`#include <gdcmPresentationDataValue.h>`

## Public Member Functions
| PresentationDataValue ()
const std::string & | GetBlob () const
bool | GetIsCommand () const
bool | GetIsLastFragment () const
uint8_t | GetMessageHeader () const
uint8_t | GetPresentationContextID () const
void | Print (std::ostream &os) const
std::istream & | Read (std::istream &is)
std::istream & | ReadInto (std::istream &is, std::ostream &os)
void | SetBlob (const std::string &partialblob)
void | SetCommand (bool inCommand)
void | SetDataSet (const DataSet &ds)
void | SetLastFragment (bool inLast)
void | SetMessageHeader (uint8_t messageheader)
void | SetPresentationContextID (uint8_t id)
size_t | Size () const
const std::ostream & | Write (std::ostream &os) const

## Static Public Member Functions
static DataSet | ConcatenatePDVBlobs (const std::vector< PresentationDataValue > &inPDVs)
static DataSet | ConcatenatePDVBlobsAsExplicit (const std::vector< PresentationDataValue > &inPDVs)

## Detailed Description

PresentationDataValue.

Table 9-23 PRESENTATION-DATA-VALUE ITEM FIELDS

## Constructor & Destructor Documentation

## ◆ PresentationDataValue()

gdcm::network::PresentationDataValue::PresentationDataValue | ( |  | ) |

## Member Function Documentation

## ◆ ConcatenatePDVBlobs()

static DataSet gdcm::network::PresentationDataValue::ConcatenatePDVBlobs | ( | const std::vector< PresentationDataValue > & | inPDVs | ) |
| static

Warning
  DataSet will be read as Implicit Little Endian TS

## ◆ ConcatenatePDVBlobsAsExplicit()

static DataSet gdcm::network::PresentationDataValue::ConcatenatePDVBlobsAsExplicit | ( | const std::vector< PresentationDataValue > & | inPDVs | ) |
| static

## ◆ GetBlob()

const std::string & gdcm::network::PresentationDataValue::GetBlob | ( |  | ) | const

## ◆ GetIsCommand()

bool gdcm::network::PresentationDataValue::GetIsCommand | ( |  | ) | const

## ◆ GetIsLastFragment()

bool gdcm::network::PresentationDataValue::GetIsLastFragment | ( |  | ) | const

## ◆ GetMessageHeader()

uint8_t gdcm::network::PresentationDataValue::GetMessageHeader | ( |  | ) | const
| inline

## ◆ GetPresentationContextID()

uint8_t gdcm::network::PresentationDataValue::GetPresentationContextID | ( |  | ) | const
| inline

## ◆ Print()

void gdcm::network::PresentationDataValue::Print | ( | std::ostream & | os | ) | const

## ◆ Read()

std::istream & gdcm::network::PresentationDataValue::Read | ( | std::istream & | is | ) |

## ◆ ReadInto()

std::istream & gdcm::network::PresentationDataValue::ReadInto | ( | std::istream & | is,
|  | std::ostream & | os )

## ◆ SetBlob()

void gdcm::network::PresentationDataValue::SetBlob | ( | const std::string & | partialblob | ) |

## ◆ SetCommand()

void gdcm::network::PresentationDataValue::SetCommand | ( | bool | inCommand | ) |

## ◆ SetDataSet()

void gdcm::network::PresentationDataValue::SetDataSet | ( | const DataSet & | ds | ) |

Set DataSet. Write DataSet in implicit.

Warning
  size of dataset should be below maxpdusize

## ◆ SetLastFragment()

void gdcm::network::PresentationDataValue::SetLastFragment | ( | bool | inLast | ) |

## ◆ SetMessageHeader()

void gdcm::network::PresentationDataValue::SetMessageHeader | ( | uint8_t | messageheader | ) |
| inline

## ◆ SetPresentationContextID()

void gdcm::network::PresentationDataValue::SetPresentationContextID | ( | uint8_t | id | ) |
| inline

## ◆ Size()

size_t gdcm::network::PresentationDataValue::Size | ( |  | ) | const

## ◆ Write()

const std::ostream & gdcm::network::PresentationDataValue::Write | ( | std::ostream & | os | ) | const

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

- gdcmPresentationDataValue.h