aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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.*/