MeVisLabToolboxReference
MeVis/Foundation/Sources/DicomTree/MLDicomTree/DCMTree_Lib.h File Reference

Typedefs, constants etc. for DCMTree. More...

#include <utility>
#include <map>
#include <vector>
#include <string>
#include "boost/smart_ptr.hpp"
#include "DCMTree_Defines.h"
#include "DCMTree_Serialization.h"

Go to the source code of this file.

Classes

struct  DCMTree::Date
 Date class for DCMTree library. More...
struct  DCMTree::Time
 Time class for DCMTree library. More...

Namespaces

namespace  DCMTree
 

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


namespace  DCMTree_Serialization

Typedefs

typedef boost::shared_ptr< Tag > DCMTree::TagPtr
 shared-pointer to tag
typedef boost::shared_ptr
< const Tag > 
DCMTree::Const_TagPtr
typedef boost::shared_ptr
< MFPixelTag > 
DCMTree::MFPixelTagPtr
 shared-pointer to multi-frame tag
typedef boost::shared_ptr
< const MFPixelTag > 
DCMTree::Const_MFPixelTagPtr
typedef boost::shared_ptr< Tree > DCMTree::TreePtr
 shared pointer to a DCMTree::Tree
typedef boost::shared_ptr
< const Tree > 
DCMTree::Const_TreePtr
typedef boost::shared_ptr
< Message > 
DCMTree::MessagePtr
typedef boost::shared_ptr
< const Message > 
DCMTree::Const_MessagePtr
typedef boost::shared_ptr
< TagInfo > 
DCMTree::TagInfoPtr
 shared pointer to a DCMTree::TagInfo
typedef boost::shared_ptr
< const TagInfo > 
DCMTree::Const_TagInfoPtr
typedef std::vector< TreePtr > DCMTree::TreePtrVector
 a vector of TreePtr - used for sequences
typedef boost::shared_ptr< Value > DCMTree::ValuePtr
 shared-pointer to a tag-value
typedef boost::shared_ptr
< const Value > 
DCMTree::Const_ValuePtr
typedef boost::shared_ptr
< Exception > 
DCMTree::ExceptionPtr
 shared-pointer to a DCMTree::Exception
typedef boost::shared_ptr
< const Exception > 
DCMTree::Const_ExceptionPtr
typedef boost::shared_ptr< TagId > DCMTree::TagIdPtr
typedef std::pair< TagIdPtr,
TagIdPtr > 
DCMTree::TagIdPtrPair
typedef unsigned int DCMTree::RawTagId
typedef std::vector< TagId > DCMTree::TagIdVector
 a vector of TagIds
typedef boost::shared_ptr
< TagIdVector > 
DCMTree::TagIdVectorPtr
 a shared-pointer to a vector of TagIds
typedef boost::shared_ptr
< const TagIdVector > 
DCMTree::Const_TagIdVectorPtr
typedef std::map< TagId, TagPtr > DCMTree::TagPtrMap
 a map from tag-id to TagPtr
typedef std::map< TagId,
Const_TagPtr > 
DCMTree::Const_TagPtrMap
typedef boost::shared_ptr
< Const_TagPtrMap > 
DCMTree::Const_TagPtrMapPtr
typedef boost::shared_ptr< Reader > DCMTree::ReaderPtr
 a shared-pointer to DCMTree::Reader
typedef boost::shared_ptr
< const Reader > 
DCMTree::Const_ReaderPtr
typedef boost::shared_ptr
< StructuredMF > 
DCMTree::StructuredMFPtr
typedef boost::shared_ptr
< const StructuredMF > 
DCMTree::Const_StructuredMFPtr
typedef std::pair< unsigned,
unsigned > 
DCMTree::TagValueMultiplicity
 the multiplicity of a tag, first=min second=max
typedef std::pair< Date, Time > DCMTree::DateTime
 DateTime.
typedef std::vector< Vr > DCMTree::VrVector

Enumerations

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

Functions

DCMTREE_EXPORT bool DCMTree::isType (Vr vr, VRCType vrctype)
 defines the mapping of vr to VRCType
TransferSyntax DCMTree::defaultTransferSyntax ()
DCMTREE_EXPORT std::string DCMTree::toString (const Vr vr)
 convert a vr to a readable string
DCMTREE_EXPORT Vr DCMTree::toVr (const std::string &vrstr)
 convert a string to a vr
DCMTREE_EXPORT bool DCMTree::isValidVrStr (const std::string &vrstr)
 check if the given string could be a valid/known vr
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"
DCMTREE_EXPORT std::string DCMTree::toString (const TagValueMultiplicity &mult)
 convert a multiplicity into a readable string
void DCMTree_Serialization::serializeX (Sink &sink, const DCMTree::TransferSyntax &syntax)
void DCMTree_Serialization::deserializeX (Source &source, DCMTree::TransferSyntax &syntax)
void DCMTree_Serialization::serializeX (Sink &sink, const DCMTree::Vr &vr)
void DCMTree_Serialization::deserializeX (Source &source, DCMTree::Vr &vr)

Detailed Description

Typedefs, constants etc. for DCMTree.

Author:
Sascha Bohnenkamp
Date:
10/2006

Definition in file DCMTree_Lib.h.