diff options
author | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 13:26:22 +0300 |
---|---|---|
committer | vitalyisaev <vitalyisaev@ydb.tech> | 2023-11-30 15:44:45 +0300 |
commit | 0a98fece5a9b54f16afeb3a94b3eb3105e9c3962 (patch) | |
tree | 291d72dbd7e9865399f668c84d11ed86fb190bbf /contrib/tools/swig/Source/Doxygen/doxyentity.h | |
parent | cb2c8d75065e5b3c47094067cb4aa407d4813298 (diff) | |
download | ydb-0a98fece5a9b54f16afeb3a94b3eb3105e9c3962.tar.gz |
YQ Connector:Use docker-compose in integrational tests
Diffstat (limited to 'contrib/tools/swig/Source/Doxygen/doxyentity.h')
-rw-r--r-- | contrib/tools/swig/Source/Doxygen/doxyentity.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/tools/swig/Source/Doxygen/doxyentity.h b/contrib/tools/swig/Source/Doxygen/doxyentity.h new file mode 100644 index 0000000000..e475141a3a --- /dev/null +++ b/contrib/tools/swig/Source/Doxygen/doxyentity.h @@ -0,0 +1,45 @@ +/* ----------------------------------------------------------------------------- + * This file is part of SWIG, which is licensed as a whole under version 3 + * (or any later version) of the GNU General Public License. Some additional + * 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 https://www.swig.org/legal.html. + * + * doxyentity.h + * + * Part of the Doxygen comment translation module of SWIG. + * ----------------------------------------------------------------------------- */ + +#ifndef SWIG_DOXYENTITY_H +#define SWIG_DOXYENTITY_H + +#include <string> +#include <list> + + +class DoxygenEntity; + +typedef std::list<DoxygenEntity> DoxygenEntityList; +typedef DoxygenEntityList::iterator DoxygenEntityListIt; +typedef DoxygenEntityList::const_iterator DoxygenEntityListCIt; + + +/* + * Structure to represent a doxygen comment entry + */ +class DoxygenEntity { +public: + std::string typeOfEntity; + std::string data; + bool isLeaf; + DoxygenEntityList entityList; + + DoxygenEntity(const std::string &typeEnt); + DoxygenEntity(const std::string &typeEnt, const std::string ¶m1); + DoxygenEntity(const std::string &typeEnt, const DoxygenEntityList &entList); + + void printEntity(int level) const; +}; + +#endif |