Python.pm
Go to the documentation of this file.
00001 ############################################################################## 00002 # @file DoxyFilter/Python.pm 00003 # @brief Doxygen filter for Python. 00004 # 00005 # This filter simply converts doc string comments to Doxygen-style 00006 # comments in order to allow the use of Doxygen tags within the 00007 # doc strings which are otherwise ignored by Doxygen. 00008 # 00009 # Copyright (c) 2012 University of Pennsylvania. All rights reserved. 00010 # See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file. 00011 # 00012 # Contact: SBIA Group <sbia-software at uphs.upenn.edu> 00013 # 00014 # @ingroup BasisTools 00015 ############################################################################## 00016 00017 package BASIS::DoxyFilter::Python; 00018 use base BASIS::DoxyFilter; 00019 00020 # ============================================================================ 00021 # states 00022 # ============================================================================ 00023 00024 use constant { 00025 MAIN => 0, 00026 FUNCTION => 1, 00027 CLASS => 2, 00028 METHOD => 3 00029 }; 00030 00031 # ============================================================================ 00032 # transitions 00033 # ============================================================================ 00034 00035 use constant TRANSITIONS => [ 00036 ]; 00037 00038 # ============================================================================ 00039 # public 00040 # ============================================================================ 00041 00042 # ---------------------------------------------------------------------------- 00043 ## @brief Constructs a Python Doxygen filter. 00044 sub new 00045 { 00046 shift->SUPER::new(MAIN, TRANSITIONS); 00047 } 00048 00049 00050 1;