make_doxygen_config.py.in
来自「DTMK软件开发包,此为开源软件,是一款很好的医学图像开发资源.」· IN 代码 · 共 483 行 · 第 1/2 页
IN
483 行
# automatically be disabled.
WARN_IF_UNDOCUMENTED = NO
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
# tags, which will be replaced by the file and line number from which the
# warning originated and the warning text.
WARN_FORMAT = "$file:$line: $text"
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that
# contain documented source files. You may enter file names like "myfile.cpp"
# or directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = "%s"
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command <filter> <input-file>, where <filter>
# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
# input file. Doxygen will then use the output that the filter program writes
# to standard output.
INPUT_FILTER = "grep -v \\example"
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = NO
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
# generate HTML output.
GENERATE_HTML = NO
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
# For now this is experimental and is disabled by default. The RTF output
# is optimised for Word 97 and may not look too pretty with other readers
# or editors.
GENERATE_RTF = NO
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
# generate man pages
GENERATE_MAN = YES
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `man' will be used as the default path.
MAN_OUTPUT = .
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION = .3
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
# evaluate all C-preprocessor directives found in the sources and include
# files.
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed.
MACRO_EXPANSION = YES
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
SEARCH_INCLUDES = NO
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
# gcc). The argument of the tag is a list of macros of the form: name
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
PREDEFINED = "itkNotUsed(x)="\
"itkSetMacro(name,type)= \
virtual void Set##name (type _arg);" \
"itkGetMacro(name,type)= \
virtual type Get##name ();" \
"itkGetConstMacro(name,type)= \
virtual type Get##name () const;" \
"itkSetStringMacro(name)= \
virtual void Set##name (const char* _arg);" \
"itkGetStringMacro(name)= \
virtual const char* Get##name () const;" \
"itkSetClampMacro(name,type,min,max)= \
virtual void Set##name (type _arg);" \
"itkSetObjectMacro(name,type)= \
virtual void Set##name (type* _arg);" \
"itkGetObjectMacro(name,type)= \
virtual type* Get##name ();" \
"itkSetConstObjectMacro(name,type)= \
virtual void Set##name ( const type* _arg);" \
"itkGetConstObjectMacro(name,type)= \
virtual const type* Get##name ();" \
"itkGetConstReferenceMacro(name,type)= \
virtual const type& Get##name ();" \
"itkGetConstReferenceObjectMacro(name,type)= \
virtual const type::Pointer& Get##name () const;" \
"itkBooleanMacro(name)= \
virtual void name##On (); \
virtual void name##Off ();" \
"itkSetVector2Macro(name,type)= \
virtual void Set##name (type _arg1, type _arg2) \
virtual void Set##name (type _arg[2]);" \
"itkGetVector2Macro(name,type)= \
virtual type* Get##name () const; \
virtual void Get##name (type& _arg1, type& _arg2) const; \
virtual void Get##name (type _arg[2]) const;" \
"itkSetVector3Macro(name,type)= \
virtual void Set##name (type _arg1, type _arg2, type _arg3) \
virtual void Set##name (type _arg[3]);" \
"itkGetVector3Macro(name,type)= \
virtual type* Get##name () const; \
virtual void Get##name (type& _arg1, type& _arg2, type& _arg3) const; \
virtual void Get##name (type _arg[3]) const;" \
"itkSetVector4Macro(name,type)= \
virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4) \
virtual void Set##name (type _arg[4]);" \
"itkGetVector4Macro(name,type)= \
virtual type* Get##name () const; \
virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4) const; \
virtual void Get##name (type _arg[4]) const;" \
"itkSetVector6Macro(name,type)= \
virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4, type _arg5, type _arg6) \
virtual void Set##name (type _arg[6]);" \
"itkGetVector6Macro(name,type)= \
virtual type* Get##name () const; \
virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4, type& _arg5, type& _arg6) const; \
virtual void Get##name (type _arg[6]) const;" \
"itkSetVectorMacro(name,type,count)= \
virtual void Set##name(type data[]);" \
"itkGetVectorMacro(name,type,count)= \
virtual type* Get##name () const;" \
"itkNewMacro(type)= \
static Pointer New();" \
"itkTypeMacro(thisClass,superclass)= \
virtual const char *GetClassName() const;" \
"itkEventMacro(thisClass,superclass)= \
class thisClass : public superclass {};" \
"itkConceptMacro(name,concept)= \
enum { name = 0 };" \
"vcl_numeric_limits= \
std::numeric_limits" \
"ITK_TYPENAME= \
typename" \
"FEM_ABSTRACT_CLASS(thisClass,parentClass)= \
public: \
/** Standard "Self" typedef.*/ \
typedef thisClass Self; \
/** Standard "Superclass" typedef. */ \
typedef parentClass Superclass; \
/** Pointer or SmartPointer to an object. */ \
typedef Self* Pointer; \
/** Const pointer or SmartPointer to an object. */ \
typedef const Self* ConstPointer; \
private:" \
"FEM_CLASS(thisClass,parentClass)= \
FEM_ABSTRACT_CLASS(thisClass,parentClass) \
public: \
/** Create a new object from the existing one */ \
virtual Baseclass::Pointer Clone() const; \
/** Class ID for FEM object factory */ \
static const int CLID; \
/** Virtual function to access the class ID */ \
virtual int ClassID() const \
{ return CLID; } \
/** Object creation in an itk compatible way */ \
static Self::Pointer New() \
{ return new Self(); } \
private:" \
"FREEVERSION" "ERROR_CHECKING" \
"HAS_TIFF" "HAS_JPEG" "HAS_NETLIB" "HAS_PNG" "HAS_ZLIB" \
"HAS_GLUT" "HAS_QT" \
"VCL_USE_NATIVE_STL=1" "VCL_USE_NATIVE_COMPLEX=1" \
"VCL_HAS_BOOL=1" "VXL_BIG_ENDIAN=1" "VXL_LITTLE_ENDIAN=0"\
"VNL_DLL_DATA=" "size_t=vcl_size_t"
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED tag.
EXPAND_ONLY_PREDEF = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# will be listed.
ALLEXTERNALS = NO
""" % (outputPath, header_string)
f = open('doxygen.config', 'w')
f.write(doxygen_conf_contents)
f.close()
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?