vega
Public Member Functions | Static Public Attributes | List of all members
vega::dicom::SOPClass Class Reference

A class which wraps the media storage SOP class. More...

#include <vega/dicom/sop_class.h>

Collaboration diagram for vega::dicom::SOPClass:
Collaboration graph
[legend]

Public Member Functions

 SOPClass ()
 Creates a blank SOPClass. More...
 
 SOPClass (const std::string &sop_class_name)
 
 SOPClass (const UID &sop_class_uid)
 Creates a SOPClass with the given sop_class_uid. More...
 
const std::string & name () const
 
const UIDuid () const
 

Static Public Attributes

static const Tag TAG
 

Detailed Description

A class which wraps the media storage SOP class.

The media storage SOP class UID has Tag (0x0002,0x0002). This class is essentially a wrapper for this UID, with the additional ability to define a SOPClass by name as well (see here, for example e.g. "RT Dose Storage" will wrap the correct UID listed there).

Constructor & Destructor Documentation

◆ SOPClass() [1/3]

vega::dicom::SOPClass::SOPClass ( )

Creates a blank SOPClass.

◆ SOPClass() [2/3]

vega::dicom::SOPClass::SOPClass ( const std::string &  sop_class_name)
explicit

Creates a SOPClass with the given sop_class_name. For instance "RT Dose Storage" will wrap the UID "1.2.840.10008.5.1.4.1.1.481.2".

◆ SOPClass() [3/3]

vega::dicom::SOPClass::SOPClass ( const UID sop_class_uid)
explicit

Creates a SOPClass with the given sop_class_uid.

Member Function Documentation

◆ name()

const std::string& vega::dicom::SOPClass::name ( ) const

◆ uid()

const UID& vega::dicom::SOPClass::uid ( ) const

Member Data Documentation

◆ TAG

const Tag vega::dicom::SOPClass::TAG
static

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