diff options
Diffstat (limited to 'Source/Doxygen/pydoc.h')
-rw-r--r-- | Source/Doxygen/pydoc.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/Doxygen/pydoc.h b/Source/Doxygen/pydoc.h index df8997d76..880ee3069 100644 --- a/Source/Doxygen/pydoc.h +++ b/Source/Doxygen/pydoc.h @@ -4,15 +4,15 @@ * terms also apply to certain portions of SWIG. The full details of the SWIG * license and copyrights can be found in the LICENSE and COPYRIGHT files * included with the SWIG source code as distributed by the SWIG developers - * and at http://www.swig.org/legal.html. + * and at https://www.swig.org/legal.html. * * pydoc.h * * Module to return documentation for nodes formatted for PyDoc * ----------------------------------------------------------------------------- */ -#ifndef PYDOCCONVERTER_H_ -#define PYDOCCONVERTER_H_ +#ifndef SWIG_PYDOC_H +#define SWIG_PYDOC_H #include <list> #include <string> @@ -178,6 +178,11 @@ protected: */ std::string getParamType(std::string name); + /* + * Simple helper function to retrieve the parameter value + */ + std::string getParamValue(std::string name); + private: // temporary thing, should be refactored somehow Node *currentNode; @@ -190,7 +195,7 @@ private: typedef std::map<std::string, std::pair<tagHandler, std::string> >TagHandlersMap; static TagHandlersMap tagHandlers; - // this contains the sections tittles, like 'Arguments:' or 'Notes:', that are printed only once + // this contains the sections titles, like 'Arguments:' or 'Notes:', that are printed only once static std::map<std::string, std::string> sectionTitles; // Helper functions for fillStaticTables(): make a new tag handler object. |