28#pragma warning(disable : 4242 4265 4350 4365 4512 4548 4619 4623)
36#include <boost/smart_ptr.hpp>
38#if defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 3)
57 typedef boost::shared_ptr<Tag>
TagPtr;
106 , _sharedData(data) {};
113 return _data !=
nullptr;
128 const unsigned char*
get()
const
134 const unsigned char* _data;
141 typedef boost::shared_ptr<Dict>
DictPtr;
189 Date(
int year = 0,
int month = 0,
int day = 0);
199 Time(
int hour = 0,
int minute = 0,
int second = 0,
int msec = 0);
The class CharacterSetConverter is used for converting string values from one DICOM character set to ...
Base class to wrap parameters to be used for reading/writing messages.
Class to hold data of an DICOM message that is not part of the message itself.
Support for structured multi-frame (SMF) DICOM objects.
Class to carry meta information about a specific tag.
Class to store tag values.
Interface of a data sink for the serialization of objects.
Interface of a data source for the deserialization of objects.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
void serializeX(Sink &sink, const DCMTree::TransferSyntax &syntax)
void deserializeX(Source &source, DCMTree::TransferSyntax &syntax)
Class to dump a DCMTree DICOM message into a human-readable file.
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< const StructuredMF > Const_StructuredMFPtr
boost::shared_ptr< Value > ValuePtr
Shared pointer to a tag value.
boost::shared_ptr< TagInfo > TagInfoPtr
Shared pointer to a DCMTree::TagInfo.
boost::shared_ptr< MFPixelTag > MFPixelTagPtr
Shared pointer to multi-frame tag.
TagSelector
Constants selecting a tag subset in a chain of incrementally modified DICOM trees.
@ Owned
Only tags contained in the front most tree, omitting all inherited tags.
@ NonRoot
Same as AllTags, except tags that are only contained in the root tree.
@ AllTags
Select all tags from all trees in the chain that are not deleted in a successor.
std::pair< unsigned, unsigned > TagValueMultiplicity
The multiplicity of a tag, first=min second=max.
boost::shared_ptr< const CharacterSetConverter > Const_CharacterSetConverterPtr
boost::shared_ptr< const Value > Const_ValuePtr
boost::shared_ptr< Message > MessagePtr
boost::shared_ptr< StructuredMF > StructuredMFPtr
boost::shared_ptr< IOParameter > IOParameterPtr
boost::shared_ptr< const Tree > Const_TreePtr
boost::shared_ptr< const Message > Const_MessagePtr
DCMTREE_EXPORT bool isType(Vr vr, VRCType vrctype)
Defines the mapping of VR to VRCType.
std::pair< TagIdPtr, TagIdPtr > TagIdPtrPair
TransferSyntax
DICOM transfer syntaxes.
@ INVALID_TRANSFER_SYNTAX
@ JPEG_FULL_PROG_NON_HIER_11_13
@ JPEG_2000_LOSSLESS_ONLY
@ JPEG_LOSSLESS_NON_HIER_14
@ JPEG_FULL_PROG_NON_HIER_10_12
@ JPEG_2000_MC_LOSSLESS_ONLY
@ JPEG_EXTENDED_HIER_17_19
@ DEFLATED_EXPLICIT_LITTLE_ENDIAN
@ JPEG_LOSSLESS_NON_HIER_15
@ JPEG_FULL_PROG_HIER_24_26
@ JPEG_EXTENDED_HIER_16_18
@ JPEG_FULL_PROG_HIER_25_27
TransferSyntax defaultTransferSyntax()
VRCType
VR interpretation in C++.
boost::shared_ptr< const Exception > Const_ExceptionPtr
boost::shared_array< unsigned char > pixel_cont_t
boost::shared_ptr< const TagInfo > Const_TagInfoPtr
boost::shared_ptr< const MFPixelTag > Const_MFPixelTagPtr
boost::shared_ptr< TagId > TagIdPtr
boost::shared_ptr< const TagIdVector > Const_TagIdVectorPtr
boost::shared_ptr< Const_TagPtrMap > Const_TagPtrMapPtr
boost::shared_ptr< Tag > TagPtr
Shared pointer to tag.
std::pair< Date, Time > DateTime
DateTime.
boost::shared_ptr< const Reader > Const_ReaderPtr
std::vector< TreePtr > TreePtrVector
A vector of TreePtr - used for sequences.
boost::shared_ptr< CharacterSetConverter > CharacterSetConverterPtr
Shared pointer to a DCMTree::CharacterSetConverter.
boost::shared_ptr< Exception > ExceptionPtr
Shared pointer to a DCMTree::Exception.
boost::shared_ptr< const Dict > Const_DictPtr
std::vector< TagId > TagIdVector
A vector of TagIds.
ErrorCode
Error codes used for logging warnings and errors.
boost::shared_ptr< Tree > TreePtr
Shared pointer to a DCMTree::Tree.
boost::shared_ptr< TagIdVector > TagIdVectorPtr
A shared pointer to a vector of TagIds.
DCMTREE_EXPORT bool isValidVrStr(const std::string &vrstr)
Check whether the given string could be a valid/known VR.
std::map< TagId, Const_TagPtr > Const_TagPtrMap
DCMTREE_EXPORT std::string toString(const Vr vr)
Converts a VR to a readable string.
std::vector< Vr > VrVector
boost::shared_ptr< Reader > ReaderPtr
A shared pointer to DCMTree::Reader.
std::map< TagId, TagPtr > TagPtrMap
A map from tag ID to TagPtr.
boost::shared_ptr< Dict > DictPtr
Shared pointer to a DCMTree::Dict.
DCMTREE_EXPORT Vr toVr(const std::string &vrstr)
Converts a string to a VR.
Date class for DCMTree library.
Date(int year=0, int month=0, int day=0)
Contains pixel data that is either shared/ref-counted or a direct pointer.
const unsigned char * get() const
PixelData(const unsigned char *data)
PixelData(const pixel_cont_t &data)
void operator=(const pixel_cont_t &data)
void operator=(unsigned char *data)
Time class for DCMTree library.
Time(int hour=0, int minute=0, int second=0, int msec=0)