|
DICOMSDL
0.79.20110728
DICOMSoftwareDevelopmentLibrary
|
#include "dicomcfg.h"#include <map>#include <set>#include <vector>#include <string>#include <list>Go to the source code of this file.
Classes | |
| struct | dicom::dataset |
| struct | dicom::dicomfile |
| struct | dicom::dataelement |
| class | dicom::dataelement_iterator |
| struct | dicom::sequence |
| struct | dicom::dirrec_t |
| struct | dicom::dicomdir |
| class | dicom::dicomfile_sorter |
Namespaces | |
| dicom | |
Macros | |
| #define | DICOMSDL_UIDPREFIX "1.2.826.0.1.3680043.8.417.1" |
| #define | DICOMSDL_IMPLCLASSUID DICOMSDL_UIDPREFIX".1" |
| #define | DICOMSDL_IMPLVERNAME "DICOMSDL 2010SEP" |
| #define | DICOMSDL_FILESETID "DICOMDIR" |
| #define | make_tag(gggg, eeee) (((gggg)<< 16) + (eeee)) |
| #define | group_in_tag(tag) ((uint16)((tag) >> 16)) |
| #define | element_in_tag(tag) ((uint16)((tag) & 0xffff)) |
| #define | make_even(x) ((x)+((x)&1)) |
| #define | MAX_UID_LEN 64 |
Typedefs | |
| typedef uint32 | dicom::tagtype |
| typedef uint16 | dicom::vrtype |
| typedef uint32 | dicom::opttype |
| typedef uint32 | dicom::optarg |
| typedef std::map< tagtype, dataelement * > | dicom::element_dict_type |
| typedef void(* | dicom::logfunc )(char *msg) |
Functions | |
| DLLEXPORT dicomfile * | dicom::open_dicomfile (const char *filename, opttype opt=default_load_opt, optarg arg=0) |
| DLLEXPORT dicomfile * | dicom::open_dicomfile_from_memory (char *data, int datasize, opttype opt=default_load_opt, optarg arg=0) |
| DLLEXPORT void | dicom::close_dicomfile (dicomfile *df) |
| DLLEXPORT dataelement * | dicom::nullelement () |
| DLLEXPORT dicomdir * | dicom::open_dicomdir (const char *filename, opttype opt=default_load_opt) |
| DLLEXPORT dicomdir * | dicom::open_dicomdir_from_memory (char *data, int datasize, opttype opt=default_load_opt) |
| DLLEXPORT void | dicom::close_dicomdir (dicomdir *df) |
| DLLEXPORT void | dicom::add_tags_for_dicomdir (char **drtype_taglist) |
| DLLEXPORT void | dicom::reset_tags_for_dicomdir () |
| DLLEXPORT vrtype | dicom::get_tag_vr (tagtype tag) |
| DLLEXPORT const char * | dicom::get_tag_name (tagtype tag) |
| DLLEXPORT const char * | dicom::get_tag_keyword (tagtype tag) |
| DLLEXPORT tagtype | dicom::find_tag (const char *keyword) |
| DLLEXPORT uidtype | dicom::uidvalue_to_uid (const char *uidvalue) |
| DLLEXPORT const char * | dicom::uid_to_uidvalue (uidtype uid) |
| DLLEXPORT const char * | dicom::uidvalue_to_uidname (const char *uidvalue) |
| DLLEXPORT const char * | dicom::uid_to_uidname (uidtype uid) |
| DLLEXPORT const char * | dicom::get_vr_repr (vrtype vr) |
| DLLEXPORT void | dicom::set_debug_logger (logfunc) |
| DLLEXPORT void | dicom::set_warning_logger (logfunc) |
| DLLEXPORT void | dicom::set_error_logger (logfunc) |
| DLLEXPORT void | dicom::set_display_debug_message (int b) |
| DLLEXPORT void | dicom::set_display_warning_message (int b) |
| DLLEXPORT char * | dicom::get_error_message () |
| DLLEXPORT int | dicom::use_decoder (uidtype tsuid, const char *codec_name) |
| DLLEXPORT int | dicom::use_encoder (uidtype tsuid, const char *codec_name) |
| DLLEXPORT std::string | dicom::zipfile_get_list (const char *filename) |
| DLLEXPORT void | dicom::zipfile_extract_file_a (const char *zipfn, const char *fn, char **val_a, int *len_a) |
| DLLEXPORT std::string | dicom::gen_uid (char *base_uid=NULL) |
| DLLEXPORT void | dicom::set_uid_prefix (char *u=NULL) |
| DLLEXPORT int | dicom::is_valid_uid (char *u) |
| DLLEXPORT dataset * | dicom::pick_dataelements (dicomfile *df, const char **keys) |
| DLLEXPORT void | dicom::test_func (char *s) |
Variables | |
| const vrtype | dicom::VR_NULL = 0x0000 |
| const vrtype | dicom::VR_AE = 0x4541 |
| const vrtype | dicom::VR_AS = 0x5341 |
| const vrtype | dicom::VR_AT = 0x5441 |
| const vrtype | dicom::VR_CS = 0x5343 |
| const vrtype | dicom::VR_DA = 0x4144 |
| const vrtype | dicom::VR_DS = 0x5344 |
| const vrtype | dicom::VR_DT = 0x5444 |
| const vrtype | dicom::VR_FD = 0x4446 |
| const vrtype | dicom::VR_FL = 0x4c46 |
| const vrtype | dicom::VR_IS = 0x5349 |
| const vrtype | dicom::VR_LO = 0x4f4c |
| const vrtype | dicom::VR_LT = 0x544c |
| const vrtype | dicom::VR_OB = 0x424f |
| const vrtype | dicom::VR_OF = 0x464f |
| const vrtype | dicom::VR_OW = 0x574f |
| const vrtype | dicom::VR_PN = 0x4e50 |
| const vrtype | dicom::VR_SH = 0x4853 |
| const vrtype | dicom::VR_SL = 0x4c53 |
| const vrtype | dicom::VR_SQ = 0x5153 |
| const vrtype | dicom::VR_SS = 0x5353 |
| const vrtype | dicom::VR_ST = 0x5453 |
| const vrtype | dicom::VR_TM = 0x4d54 |
| const vrtype | dicom::VR_UI = 0x4955 |
| const vrtype | dicom::VR_UL = 0x4c55 |
| const vrtype | dicom::VR_UN = 0x4e55 |
| const vrtype | dicom::VR_US = 0x5355 |
| const vrtype | dicom::VR_UT = 0x5455 |
| const vrtype | dicom::VR_UK = 0x4b55 |
| const vrtype | dicom::VR_PIXSEQ = 0x5850 |
| const vrtype | dicom::VR_OFFSET = 0x534f |
| const opttype | dicom::OPT_DEFAULT = 0x0000 |
| const opttype | dicom::OPT_LOAD_PARTIAL_FILE = 0x0001 |
| const opttype | dicom::OPT_LOAD_CONTINUE_ON_ERROR = 0x0002 |
| const opttype | dicom::OPT_LOAD_DONOT_COPY_DATA = 0x0004 |
| const opttype | dicom::OPT_SAVE_WITHOUT_PREAMBLE = 0x0100 |
| const opttype | dicom::OPT_SAVE_WITHOUT_METAINFO = 0x0200 |
| const opttype | dicom::OPT_SAVE_IMPLICIT_SQ_LENGTH = 0x0400 |
| const opttype | dicom::OPT_SAVE_IMPLICIT_DATASET_LENGTH = 0x0800 |
| const opttype | dicom::OPT_SAVE_CALC_GROUPLENGTH = 0x1000 |
| const opttype | dicom::OPT_SAVE_BASIC_OFFSET_TABLE = 0x2000 |
| #define DICOMSDL_FILESETID "DICOMDIR" |
| #define DICOMSDL_IMPLCLASSUID DICOMSDL_UIDPREFIX".1" |
| #define DICOMSDL_IMPLVERNAME "DICOMSDL 2010SEP" |
| #define DICOMSDL_UIDPREFIX "1.2.826.0.1.3680043.8.417.1" |
| #define element_in_tag | ( | tag | ) | ((uint16)((tag) & 0xffff)) |
| #define group_in_tag | ( | tag | ) | ((uint16)((tag) >> 16)) |
| #define make_even | ( | x | ) | ((x)+((x)&1)) |
| #define make_tag | ( | gggg, | |
| eeee | |||
| ) | (((gggg)<< 16) + (eeee)) |
| #define MAX_UID_LEN 64 |
1.8.6