aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-05-13 19:27:32 +0000
committerbloodstalker <thabogre@gmail.com>2017-05-13 19:27:32 +0000
commit93560047d257ae49d8f976a6278a596381a31ce4 (patch)
tree2da540dc525bd75012027365f83f68dacaa0be04 /bruiser
parentfixed some stuff, added some more stuff. the embedded lua interpreter now works. (diff)
downloadmutator-93560047d257ae49d8f976a6278a596381a31ce4.tar.gz
mutator-93560047d257ae49d8f976a6278a596381a31ce4.zip
some deletions of ncurses remnants, added some skeletons for the selective non-blind mutation
Diffstat (limited to 'bruiser')
-rw-r--r--bruiser/bruiser.h49
1 files changed, 38 insertions, 11 deletions
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<bruiser::Amino> Aminos;
+};
+/**********************************************************************************************************************/
} // end of namespace bruiser
#endif
/*last line intentionally left balnk.*/