📄 codegenerator.hpp
字号:
// ---------------------------------------------------------------------------// Includes// ---------------------------------------------------------------------------#include <iostream>#include <vector>#include <string>//---------------------------------------------------------------------------// This is used by cpp-reflection to discribe the field of a class//---------------------------------------------------------------------------class Xct_Field{public: std::string type; std::string name; std::string access;};class Xct_Method{public: // pair of argname and argtype std::vector<std::string> arg_types; std::string ret_type; std::string name; std::string access;};class Xct_Class{public: std::string name; std::string baseClass; std::vector<Xct_Field*> fields; std::vector<Xct_Method*> methods;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -