From 93560047d257ae49d8f976a6278a596381a31ce4 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 13 May 2017 23:57:32 +0430 Subject: some deletions of ncurses remnants, added some skeletons for the selective non-blind mutation --- bruiser/bruiser.h | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) (limited to 'bruiser') diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h index 73495db..7e4e6ae 100644 --- a/bruiser/bruiser.h +++ b/bruiser/bruiser.h @@ -91,12 +91,6 @@ namespace bruiser do{\ std::cout << X << Y << "\n" << NORMAL;\ }while(0) - -#define SHOW_TEXT(X,Y) \ - do{\ - wprintw(X, Y);\ - wrefresh(X);\ - }while(0) /**********************************************************************************************************************/ /*Error Codes*/ #define M0_ERROR_CODES \ @@ -107,13 +101,25 @@ namespace bruiser enum class M0_ERR {M0_ERROR_CODES}; #undef X /**********************************************************************************************************************/ +/*Enums*/ + /** + * @brief Gene Kinds. + */ + enum class DoomKind {UnidentifiedGene, + CStyleCastExpr, ExplicitCastExpr, ImplicitCastExpr, + Stmt, CompoundStmt, LoopStmt, ForStmt, WhileStmt, IfStmt, ElseStmt, DoStmt, SwitchStmt, CaseStmt, + Decl, FunctionDecl, ClassDecl, VarDecl, RecordDecl, ArrayDecl, StructDecl, UnionDecl, VectorDecl, + MapDecl, UnorderedMapDecl, MemberFunctionDecl, TemplateDecl, ClassTemplateDecl, ParmVarDecl + }; +/**********************************************************************************************************************/ struct help { - std::string name; - std::string proto; - std::string descr; - std::string protoprefix; - std::string retval; + public: + std::string name; + std::string proto; + std::string descr; + std::string protoprefix; + std::string retval; }; help CMDHelp[] = { @@ -256,6 +262,27 @@ class Daemonize std::string Opts; }; /**********************************************************************************************************************/ +class Amino +{ + public: + + private: +}; +/**********************************************************************************************************************/ +/** + * @brief A container class for the bad genes + */ +class DoomedStrain +{ + public: + DoomedStrain() {} + ~DoomedStrain() {} + + + private: + std::vector Aminos; +}; +/**********************************************************************************************************************/ } // end of namespace bruiser #endif /*last line intentionally left balnk.*/ -- cgit v1.2.3