DCMTK简介一 - Config程序库
本帖最后由 medimage 于 2015-12-4 21:35 编辑一、Config程序库-config目录下的文档:--config.txt:指出你编辑的任何.h .c .cc文件首先必须包含该目录下的头文件#include "osconfig.h"--dirstruc.txt:给出了dcmtk项目的项目目录结构,这个用cmake会自动生成--envvars.txt:这个文件比较重要,它指出了一些运行时环境变量,这些变量可能会影响dcmtk的工具和库的使用,这些变量包括:---DCMDICTPATH:影响dcmdata On Win32 platforms, a built-in dictionary is used by default. If the DCMDICTPATH environment variable is set, the applications will attempt to load _additional_ DICOM data dictionaries specified in the DCMDICTPATH environment variable instead. The DCMDICTPATH environment variable has the same format as the shell PATH variable in that a semicolon (";") separates entries. The data dictionary code will attempt to load each file specified in the DCMDICTPATH environment variable. See also: documentation in dcmdata/docs/datadict.txt---TCP_BUFFER_LENGTH:影响dcmnet By default, DCMTK uses a TCP send and receive buffer length of 32K. If the environment variable TCP_BUFFER_LENGTH is set, it specified an override for the TCP buffer length. The value is specified in bytes, not in Kbytes.---TCP_NODELAY:影响dcmnet If this environment variable contains a non-zero number, the Nagle algorithm will not be disabled for TCP transport connections. Also see documentation for macro DONT_DISABLE_NAGLE_ALGORITHM in config/docs/macros.txt---TMPDIR:影响dcmnet Affects the implementation of the tempnam() emulation on platforms where tempnam() is not defined. See tempnam(3S) main page for a description.--macros.txt:这个文件也特别重要,它给出了很多编译时的宏,这些宏可能会影响dcmtk的工具和库的使用。大部分的宏可以用来激活一些实验性的或很少需要的特性,另外有一些是用来取消某些功能。要尽量谨慎使用。详细见文档。--modules.txt:这个文件讲述如何自己配置各个模块,不需要掌握。-config的include目录下的文件--osconfig.h:这个文件是必须包含在所有.h .c文件中的其中指出在win32环境下包含"dcmtk/config/cfwin32.h"文件--cfwin32.h:包含了大量的宏定义。***如果需要查找某个宏的定义,可到这个文件中查找*** 谢谢LZ 先看看先。。。 goooood 顶起 学习学习一下 厉害 先看看在说 留个脚印
页:
[1]