MeVisLab Toolbox Reference
DCMTree Namespace Reference

class to dump a DCMTree dicom message into a human readable file this class could be used as a starter to write a DCMTree::Writer subclass More...

Classes

class  CharacterSetConverter
 class CharacterSetConverter is used for converting string values from one DICOM character set to another; character set names are those specified for the SpecificCharacterSet DICOM tag More...
 
class  Dict
 
class  DLLInit
 This class is responsible for initializing the dll when it is loaded. More...
 
class  Dump
 
class  Exception
 Exception class for DCMTree. More...
 
class  FileCache
 
class  IOParameter
 base class to wrap parameters to be used for reading/writing messages this is needed because the toolkits have different capabilities (merge needs file-names, offis seems to work with streams too etc.) More...
 
struct  PixelData
 Contains pixel data which is either shared/ref counted or a direct pointer. More...
 
struct  Date
 Date class for DCMTree library. More...
 
struct  Time
 Time class for DCMTree library. More...
 
class  Message
 class to hold data of an DICOM message, which is not part of the message itself. More...
 
class  MFPixelTag
 
class  PixelDataTag
 
class  Reader
 
class  StructuredMF
 Support for structured multi-frame (SMF) DICOM objects. More...
 
class  Tag
 Class to represent one dicom tag. More...
 
class  TagId
 Class to wrap a tag-id. More...
 
class  TagInfo
 Class to carry meta-information about a specific tag. More...
 
class  Tree
 
class  Value
 Class to store tag-values. More...
 
class  Writer
 

Typedefs

typedef boost::shared_ptr< CharacterSetConverterCharacterSetConverterPtr
 shared-pointer to a DCMTree::CharacterSetConverter More...
 
typedef boost::shared_ptr< const CharacterSetConverterConst_CharacterSetConverterPtr
 
typedef boost::shared_ptr< DictDictPtr
 shared-pointer to a DCMTree::Dict More...
 
typedef boost::shared_ptr< const DictConst_DictPtr
 
typedef boost::shared_ptr< IOParameterIOParameterPtr
 
typedef boost::shared_ptr< const IOParameterConst_IOParameterPtr
 
typedef boost::shared_ptr< TagTagPtr
 shared-pointer to tag
More...
 
typedef boost::shared_ptr< const TagConst_TagPtr
 
typedef boost::shared_ptr< MFPixelTagMFPixelTagPtr
 shared-pointer to multi-frame tag
More...
 
typedef boost::shared_ptr< const MFPixelTagConst_MFPixelTagPtr
 
typedef boost::shared_ptr< TreeTreePtr
 shared pointer to a DCMTree::Tree More...
 
typedef boost::shared_ptr< const TreeConst_TreePtr
 
typedef boost::shared_ptr< MessageMessagePtr
 
typedef boost::shared_ptr< const MessageConst_MessagePtr
 
typedef boost::shared_ptr< TagInfoTagInfoPtr
 shared pointer to a DCMTree::TagInfo More...
 
typedef boost::shared_ptr< const TagInfoConst_TagInfoPtr
 
typedef std::vector< TreePtrTreePtrVector
 a vector of TreePtr - used for sequences More...
 
typedef boost::shared_ptr< ValueValuePtr
 shared-pointer to a tag-value More...
 
typedef boost::shared_ptr< const ValueConst_ValuePtr
 
typedef boost::shared_array< unsigned char > pixel_cont_t
 
typedef boost::shared_ptr< ExceptionExceptionPtr
 shared-pointer to a DCMTree::Exception More...
 
typedef boost::shared_ptr< const ExceptionConst_ExceptionPtr
 
typedef boost::shared_ptr< TagIdTagIdPtr
 
typedef std::pair< TagIdPtr, TagIdPtrTagIdPtrPair
 
typedef unsigned int RawTagId
 
typedef std::vector< TagIdTagIdVector
 a vector of TagIds More...
 
typedef boost::shared_ptr< TagIdVectorTagIdVectorPtr
 a shared-pointer to a vector of TagIds More...
 
typedef boost::shared_ptr< const TagIdVectorConst_TagIdVectorPtr
 
typedef std::map< TagId, TagPtrTagPtrMap
 a map from tag-id to TagPtr More...
 
typedef std::map< TagId, Const_TagPtrConst_TagPtrMap
 
typedef boost::shared_ptr< Const_TagPtrMapConst_TagPtrMapPtr
 
typedef boost::shared_ptr< ReaderReaderPtr
 a shared-pointer to DCMTree::Reader More...
 
typedef boost::shared_ptr< const ReaderConst_ReaderPtr
 
typedef boost::shared_ptr< StructuredMFStructuredMFPtr
 
typedef boost::shared_ptr< const StructuredMFConst_StructuredMFPtr
 
typedef std::pair< unsigned, unsigned > TagValueMultiplicity
 the multiplicity of a tag, first=min second=max More...
 
typedef std::pair< Date, TimeDateTime
 DateTime. More...
 
typedef std::vector< VrVrVector
 
typedef std::vector< ValueValueVector
 
typedef boost::shared_ptr< WriterWriterPtr
 
typedef boost::shared_ptr< const WriterConst_WriterPtr
 

Enumerations

enum  Vr {
  AE , AS , CS , DA ,
  DS , DT , IS , LO ,
  LT , PN , SH , ST ,
  TM , UT , UI , SS ,
  US , AT , SL , UL ,
  FL , FD , OB , OW ,
  OL , OF , SQ , UN ,
  UR , OD , UC , VRCOUNT
}
 DICOM VR. More...
 
enum  VRCType {
  TY_String , TY_Date , TY_DateTime , TY_Time ,
  TY_Float , TY_Double , TY_Seq , TY_Int ,
  TY_UInt , TY_Short , TY_UShort , TY_Bin ,
  TY_Att
}
 vr interpretation in C++ More...
 
enum  ErrorCode { NoError , MissingTag , InvalidData , WritingDataFailed }
 Error codes used for logging warnings and errors. More...
 
enum  TransferSyntax {
  INVALID_TRANSFER_SYNTAX , IMPLICIT_LITTLE_ENDIAN , EXPLICIT_LITTLE_ENDIAN , EXPLICIT_BIG_ENDIAN ,
  IMPLICIT_BIG_ENDIAN , DEFLATED_EXPLICIT_LITTLE_ENDIAN , RLE , JPEG_BASELINE ,
  JPEG_EXTENDED_2_4 , JPEG_EXTENDED_3_5 , JPEG_SPEC_NON_HIER_6_8 , JPEG_SPEC_NON_HIER_7_9 ,
  JPEG_FULL_PROG_NON_HIER_10_12 , JPEG_FULL_PROG_NON_HIER_11_13 , JPEG_LOSSLESS_NON_HIER_14 , JPEG_LOSSLESS_NON_HIER_15 ,
  JPEG_EXTENDED_HIER_16_18 , JPEG_EXTENDED_HIER_17_19 , JPEG_SPEC_HIER_20_22 , JPEG_SPEC_HIER_21_23 ,
  JPEG_FULL_PROG_HIER_24_26 , JPEG_FULL_PROG_HIER_25_27 , JPEG_LOSSLESS_HIER_28 , JPEG_LOSSLESS_HIER_29 ,
  JPEG_LOSSLESS_HIER_14 , JPEG_2000_LOSSLESS_ONLY , JPEG_2000 , JPEG_LS_LOSSLESS ,
  JPEG_LS_LOSSY , MPEG2_MPML , JPEG_2000_MC_LOSSLESS_ONLY , JPEG_2000_MC
}
 DICOM transfer syntaxes. More...
 
enum  TagSelector { AllTags , NonRoot , Owned }
 constants selecting a tag subset in a chain of incrementally modified DICOM trees. More...
 
enum  StringTrimMode { TRIM_STRING , DO_NOT_TRIM }
 

Functions

DCMTREE_EXPORT bool isType (Vr vr, VRCType vrctype)
 defines the mapping of vr to VRCType More...
 
TransferSyntax defaultTransferSyntax ()
 
DCMTREE_EXPORT std::string toString (const Vr vr)
 convert a vr to a readable string More...
 
DCMTREE_EXPORT Vr toVr (const std::string &vrstr)
 convert a string to a vr More...
 
DCMTREE_EXPORT bool isValidVrStr (const std::string &vrstr)
 check if the given string could be a valid/known vr More...
 
DCMTREE_EXPORT std::string toString (const TransferSyntax syntax)
 convert a transfer-syntax to a readable string JPEG_LOSSLESS_NON_HIER_14 -> "JPEG_LOSSLESS_NON_HIER_14" More...
 
DCMTREE_EXPORT std::string toString (const TagValueMultiplicity &mult)
 convert a multiplicity into a readable string More...
 
std::ostream & operator<< (std::ostream &out, const Message &m)
 
std::istream & operator>> (std::istream &in, Message &m)
 
std::ostream & operator<< (std::ostream &out, const Tag &t)
 
std::istream & operator>> (std::istream &in, Tag &t)
 
std::ostream & operator<< (std::ostream &out, const TagId &t)
 
std::istream & operator>> (std::istream &in, TagId &t)
 
std::ostream & operator<< (std::ostream &out, const TagInfo &t)
 
std::istream & operator>> (std::istream &in, TagInfo &t)
 
std::ostream & operator<< (std::ostream &out, const Tree &t)
 output operator More...
 
std::istream & operator>> (std::istream &in, Tree &t)
 input operator More...
 
template<typename T , T(Tag::*)(unsigned) const Access>
T value_or (const Tree &tree, TagId id, unsigned index, T alternative)
 
DCMTREE_EXPORT int value_or (const Tree &tree, TagId id, unsigned index, int alternative)
 
DCMTREE_EXPORT unsigned int value_or (const Tree &tree, TagId id, unsigned index, unsigned int alternative)
 
DCMTREE_EXPORT signed short value_or (const Tree &tree, TagId id, unsigned index, signed short alternative)
 
DCMTREE_EXPORT unsigned short value_or (const Tree &tree, TagId id, unsigned index, unsigned short alternative)
 
DCMTREE_EXPORT double value_or (const Tree &tree, TagId id, unsigned index, double alternative)
 
DCMTREE_EXPORT std::string value_or (const Tree &tree, TagId id, unsigned index, std::string alternative)
 
template<typename T >
T value_or (const Tree &tree, TagId id, T alternative)
 
std::ostream & operator<< (std::ostream &out, const Value &v)
 
std::istream & operator>> (std::istream &in, Value &v)
 

Detailed Description

class to dump a DCMTree dicom message into a human readable file this class could be used as a starter to write a DCMTree::Writer subclass

this class represents a complete DICOM-message, including sequences etc.

base class of reader-implementations for DCMTree

Author: Sascha Bohnenkamp devel.nosp@m.opme.nosp@m.nt@me.nosp@m.visb.nosp@m.reast.nosp@m.care.nosp@m..de
Copyright 2006 All Rights Reserved MeVis BreastCare GmbH & Co.KG Universitaetsallee 29 D-28359 Bremen phone +49 (0)421 330 74 0 fax +49 (0)421 330 74 50.

Author: Sascha Bohnenkamp devel.nosp@m.opme.nosp@m.nt@me.nosp@m.visb.nosp@m.reast.nosp@m.care.nosp@m..de
Copyright 2006 All Rights Reserved MeVis BreastCare GmbH & Co.KG Universitaetsallee 29 D-28359 Bremen phone +49 (0)421 330 74 0 fax +49 (0)421 330 74 50

Change history: 20060523 : SB initial version

Change history: 20060718 : SB initial version

Author: Sascha Bohnenkamp devel.nosp@m.opme.nosp@m.nt@me.nosp@m.visb.nosp@m.reast.nosp@m.care.nosp@m..de
Copyright 2006 All Rights Reserved MeVis BreastCare GmbH & Co.KG Universitaetsallee 29 D-28359 Bremen phone +49 (0)421 330 74 0 fax +49 (0)421 330 74 50

Change history: 20060519 : SB initial version

implementations of this class have to convert from the specific character set to UTF8

Change history: 20060519 : SB initial version

Typedef Documentation

◆ CharacterSetConverterPtr

shared-pointer to a DCMTree::CharacterSetConverter

Definition at line 34 of file DCMTree_CharacterSetConverter.h.

◆ Const_CharacterSetConverterPtr

Definition at line 35 of file DCMTree_CharacterSetConverter.h.

◆ Const_DictPtr

typedef boost::shared_ptr< const Dict > DCMTree::Const_DictPtr

Definition at line 53 of file DCMTree_Dict.h.

◆ Const_ExceptionPtr

typedef boost::shared_ptr<const Exception> DCMTree::Const_ExceptionPtr

Definition at line 141 of file DCMTree_Lib.h.

◆ Const_IOParameterPtr

typedef boost::shared_ptr<const IOParameter> DCMTree::Const_IOParameterPtr

Definition at line 41 of file DCMTree_IOParameter.h.

◆ Const_MessagePtr

typedef boost::shared_ptr<const Message> DCMTree::Const_MessagePtr

Definition at line 77 of file DCMTree_Lib.h.

◆ Const_MFPixelTagPtr

typedef boost::shared_ptr<const MFPixelTag> DCMTree::Const_MFPixelTagPtr

Definition at line 68 of file DCMTree_Lib.h.

◆ Const_ReaderPtr

typedef boost::shared_ptr< const Reader > DCMTree::Const_ReaderPtr

Definition at line 165 of file DCMTree_Lib.h.

◆ Const_StructuredMFPtr

typedef boost::shared_ptr<const StructuredMF> DCMTree::Const_StructuredMFPtr

Definition at line 170 of file DCMTree_Lib.h.

◆ Const_TagIdVectorPtr

typedef boost::shared_ptr<const TagIdVector> DCMTree::Const_TagIdVectorPtr

Definition at line 154 of file DCMTree_Lib.h.

◆ Const_TagInfoPtr

typedef boost::shared_ptr<const TagInfo> DCMTree::Const_TagInfoPtr

Definition at line 82 of file DCMTree_Lib.h.

◆ Const_TagPtr

typedef boost::shared_ptr<const Tag> DCMTree::Const_TagPtr

Definition at line 63 of file DCMTree_Lib.h.

◆ Const_TagPtrMap

Definition at line 158 of file DCMTree_Lib.h.

◆ Const_TagPtrMapPtr

typedef boost::shared_ptr<Const_TagPtrMap> DCMTree::Const_TagPtrMapPtr

Definition at line 159 of file DCMTree_Lib.h.

◆ Const_TreePtr

typedef boost::shared_ptr<const Tree> DCMTree::Const_TreePtr

Definition at line 73 of file DCMTree_Lib.h.

◆ Const_ValuePtr

typedef boost::shared_ptr<const Value> DCMTree::Const_ValuePtr

Definition at line 91 of file DCMTree_Lib.h.

◆ Const_WriterPtr

typedef boost::shared_ptr<const Writer> DCMTree::Const_WriterPtr

Definition at line 43 of file DCMTree_Writer.h.

◆ DateTime

typedef std::pair<Date,Time> DCMTree::DateTime

DateTime.

Definition at line 201 of file DCMTree_Lib.h.

◆ DictPtr

typedef boost::shared_ptr< Dict > DCMTree::DictPtr

shared-pointer to a DCMTree::Dict

Definition at line 52 of file DCMTree_Dict.h.

◆ ExceptionPtr

typedef boost::shared_ptr<Exception> DCMTree::ExceptionPtr

shared-pointer to a DCMTree::Exception

Definition at line 140 of file DCMTree_Lib.h.

◆ IOParameterPtr

typedef boost::shared_ptr< IOParameter > DCMTree::IOParameterPtr

Definition at line 40 of file DCMTree_IOParameter.h.

◆ MessagePtr

typedef boost::shared_ptr<Message> DCMTree::MessagePtr

Definition at line 76 of file DCMTree_Lib.h.

◆ MFPixelTagPtr

typedef boost::shared_ptr<MFPixelTag> DCMTree::MFPixelTagPtr

shared-pointer to multi-frame tag

Definition at line 67 of file DCMTree_Lib.h.

◆ pixel_cont_t

typedef boost::shared_array<unsigned char> DCMTree::pixel_cont_t

Definition at line 99 of file DCMTree_Lib.h.

◆ RawTagId

typedef unsigned int DCMTree::RawTagId

Definition at line 147 of file DCMTree_Lib.h.

◆ ReaderPtr

typedef boost::shared_ptr< Reader > DCMTree::ReaderPtr

a shared-pointer to DCMTree::Reader

Definition at line 164 of file DCMTree_Lib.h.

◆ StructuredMFPtr

typedef boost::shared_ptr<StructuredMF> DCMTree::StructuredMFPtr

Definition at line 169 of file DCMTree_Lib.h.

◆ TagIdPtr

typedef boost::shared_ptr<TagId> DCMTree::TagIdPtr

Definition at line 145 of file DCMTree_Lib.h.

◆ TagIdPtrPair

Definition at line 146 of file DCMTree_Lib.h.

◆ TagIdVector

typedef std::vector<TagId> DCMTree::TagIdVector

a vector of TagIds

Definition at line 150 of file DCMTree_Lib.h.

◆ TagIdVectorPtr

typedef boost::shared_ptr<TagIdVector> DCMTree::TagIdVectorPtr

a shared-pointer to a vector of TagIds

Definition at line 153 of file DCMTree_Lib.h.

◆ TagInfoPtr

typedef boost::shared_ptr<TagInfo> DCMTree::TagInfoPtr

shared pointer to a DCMTree::TagInfo

Definition at line 81 of file DCMTree_Lib.h.

◆ TagPtr

typedef boost::shared_ptr<Tag> DCMTree::TagPtr

shared-pointer to tag

Definition at line 62 of file DCMTree_Lib.h.

◆ TagPtrMap

typedef std::map<TagId,TagPtr> DCMTree::TagPtrMap

a map from tag-id to TagPtr

Definition at line 157 of file DCMTree_Lib.h.

◆ TagValueMultiplicity

typedef std::pair<unsigned,unsigned> DCMTree::TagValueMultiplicity

the multiplicity of a tag, first=min second=max

Definition at line 173 of file DCMTree_Lib.h.

◆ TreePtr

typedef boost::shared_ptr<Tree> DCMTree::TreePtr

shared pointer to a DCMTree::Tree

Definition at line 72 of file DCMTree_Lib.h.

◆ TreePtrVector

typedef std::vector<TreePtr> DCMTree::TreePtrVector

a vector of TreePtr - used for sequences

Definition at line 85 of file DCMTree_Lib.h.

◆ ValuePtr

typedef boost::shared_ptr<Value> DCMTree::ValuePtr

shared-pointer to a tag-value

Definition at line 90 of file DCMTree_Lib.h.

◆ ValueVector

typedef std::vector<Value> DCMTree::ValueVector

Definition at line 176 of file DCMTree_Value.h.

◆ VrVector

typedef std::vector<Vr> DCMTree::VrVector

Definition at line 213 of file DCMTree_Lib.h.

◆ WriterPtr

typedef boost::shared_ptr<Writer> DCMTree::WriterPtr

Definition at line 42 of file DCMTree_Writer.h.

Enumeration Type Documentation

◆ ErrorCode

Error codes used for logging warnings and errors.

Enumerator
NoError 
MissingTag 
InvalidData 
WritingDataFailed 

Definition at line 225 of file DCMTree_Lib.h.

◆ StringTrimMode

Enumerator
TRIM_STRING 
DO_NOT_TRIM 

Definition at line 39 of file DCMTree_Tag.h.

◆ TagSelector

constants selecting a tag subset in a chain of incrementally modified DICOM trees.

in such a chain, an incremental tree is linked to its parent tree, from which it inherits all tags that are not overwritten or deleted in the incremental tree. the root tree is the first parent in this chain, i.e. a tree that has no parent.

Enumerator
AllTags 

Select all tags from all trees in the chain that are not deleted in a successor.

NonRoot 

Same as AllTags, except tags that are only contained in the root tree.

Owned 

Only tags contained in the front most tree, omitting all inherited tags.

Definition at line 279 of file DCMTree_Lib.h.

◆ TransferSyntax

DICOM transfer syntaxes.

Enumerator
INVALID_TRANSFER_SYNTAX 
IMPLICIT_LITTLE_ENDIAN 
EXPLICIT_LITTLE_ENDIAN 
EXPLICIT_BIG_ENDIAN 
IMPLICIT_BIG_ENDIAN 
DEFLATED_EXPLICIT_LITTLE_ENDIAN 
RLE 
JPEG_BASELINE 
JPEG_EXTENDED_2_4 
JPEG_EXTENDED_3_5 
JPEG_SPEC_NON_HIER_6_8 
JPEG_SPEC_NON_HIER_7_9 
JPEG_FULL_PROG_NON_HIER_10_12 
JPEG_FULL_PROG_NON_HIER_11_13 
JPEG_LOSSLESS_NON_HIER_14 
JPEG_LOSSLESS_NON_HIER_15 
JPEG_EXTENDED_HIER_16_18 
JPEG_EXTENDED_HIER_17_19 
JPEG_SPEC_HIER_20_22 
JPEG_SPEC_HIER_21_23 
JPEG_FULL_PROG_HIER_24_26 
JPEG_FULL_PROG_HIER_25_27 
JPEG_LOSSLESS_HIER_28 
JPEG_LOSSLESS_HIER_29 
JPEG_LOSSLESS_HIER_14 
JPEG_2000_LOSSLESS_ONLY 
JPEG_2000 
JPEG_LS_LOSSLESS 
JPEG_LS_LOSSY 
MPEG2_MPML 
JPEG_2000_MC_LOSSLESS_ONLY 
JPEG_2000_MC 

Definition at line 237 of file DCMTree_Lib.h.

◆ Vr

DICOM VR.

NOTE: Make sure that you never reorder/change these enums except for adding new VRs at the end. The enum values are used for persistent storage of the DICOM tags.

Enumerator
AE 
AS 
CS 
DA 
DS 
DT 
IS 
LO 
LT 
PN 
SH 
ST 
TM 
UT 
UI 
SS 
US 
AT 
SL 
UL 
FL 
FD 
OB 
OW 
OL 
OF 
SQ 
UN 
UR 
OD 
UC 
VRCOUNT 

Definition at line 207 of file DCMTree_Lib.h.

◆ VRCType

vr interpretation in C++

Enumerator
TY_String 
TY_Date 
TY_DateTime 
TY_Time 
TY_Float 
TY_Double 
TY_Seq 
TY_Int 
TY_UInt 
TY_Short 
TY_UShort 
TY_Bin 
TY_Att 

Definition at line 216 of file DCMTree_Lib.h.

Function Documentation

◆ defaultTransferSyntax()

TransferSyntax DCMTree::defaultTransferSyntax ( )

◆ isType()

DCMTREE_EXPORT bool DCMTree::isType ( Vr  vr,
VRCType  vrctype 
)

defines the mapping of vr to VRCType

◆ isValidVrStr()

DCMTREE_EXPORT bool DCMTree::isValidVrStr ( const std::string &  vrstr)

check if the given string could be a valid/known vr

◆ operator<<() [1/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const Message m 
)
inline

Definition at line 128 of file DCMTree_Message.h.

References DCMTree::Message::toStream().

◆ operator<<() [2/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const Tag t 
)
inline

Definition at line 514 of file DCMTree_Tag.h.

References DCMTree::Tag::toStream().

◆ operator<<() [3/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const TagId t 
)
inline

Definition at line 152 of file DCMTree_TagId.h.

References DCMTree::TagId::toStream().

◆ operator<<() [4/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const TagInfo t 
)
inline

Definition at line 122 of file DCMTree_TagInfo.h.

References DCMTree::TagInfo::toStream().

◆ operator<<() [5/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const Tree t 
)
inline

output operator

Definition at line 344 of file DCMTree_Tree.h.

References DCMTree::Tree::toStream().

◆ operator<<() [6/6]

std::ostream& DCMTree::operator<< ( std::ostream &  out,
const Value v 
)
inline

Definition at line 178 of file DCMTree_Value.h.

References DCMTree::Value::toStream().

◆ operator>>() [1/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
Message m 
)
inline

Definition at line 134 of file DCMTree_Message.h.

References DCMTree::Message::fromStream().

◆ operator>>() [2/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
Tag t 
)
inline

Definition at line 520 of file DCMTree_Tag.h.

References DCMTree::Tag::fromStream().

◆ operator>>() [3/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
TagId t 
)
inline

Definition at line 158 of file DCMTree_TagId.h.

References DCMTree::TagId::fromStream().

◆ operator>>() [4/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
TagInfo t 
)
inline

Definition at line 128 of file DCMTree_TagInfo.h.

References DCMTree::TagInfo::fromStream().

◆ operator>>() [5/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
Tree t 
)
inline

input operator

Definition at line 352 of file DCMTree_Tree.h.

References DCMTree::Tree::fromStream().

◆ operator>>() [6/6]

std::istream& DCMTree::operator>> ( std::istream &  in,
Value v 
)
inline

Definition at line 184 of file DCMTree_Value.h.

References DCMTree::Value::fromStream().

◆ toString() [1/3]

DCMTREE_EXPORT std::string DCMTree::toString ( const TagValueMultiplicity mult)

convert a multiplicity into a readable string

◆ toString() [2/3]

DCMTREE_EXPORT std::string DCMTree::toString ( const TransferSyntax  syntax)

convert a transfer-syntax to a readable string JPEG_LOSSLESS_NON_HIER_14 -> "JPEG_LOSSLESS_NON_HIER_14"

◆ toString() [3/3]

DCMTREE_EXPORT std::string DCMTree::toString ( const Vr  vr)

convert a vr to a readable string

Referenced by ml::ConstantString::operator<().

◆ toVr()

DCMTREE_EXPORT Vr DCMTree::toVr ( const std::string &  vrstr)

convert a string to a vr

◆ value_or() [1/8]

template<typename T >
T DCMTree::value_or ( const Tree tree,
TagId  id,
T  alternative 
)

Definition at line 386 of file DCMTree_Tree.h.

References value_or().

◆ value_or() [2/8]

DCMTREE_EXPORT double DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
double  alternative 
)

◆ value_or() [3/8]

DCMTREE_EXPORT int DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
int  alternative 
)

◆ value_or() [4/8]

DCMTREE_EXPORT signed short DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
signed short  alternative 
)

◆ value_or() [5/8]

DCMTREE_EXPORT std::string DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
std::string  alternative 
)

◆ value_or() [6/8]

template<typename T , T(Tag::*)(unsigned) const Access>
T DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
T  alternative 
)

Definition at line 359 of file DCMTree_Tree.h.

References DCMTree::Tree::getTag(), and T.

Referenced by value_or().

◆ value_or() [7/8]

DCMTREE_EXPORT unsigned int DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
unsigned int  alternative 
)

◆ value_or() [8/8]

DCMTREE_EXPORT unsigned short DCMTree::value_or ( const Tree tree,
TagId  id,
unsigned  index,
unsigned short  alternative 
)