50 #ifndef _COMPOUNDSTATEMENT_H_
51 #define _COMPOUNDSTATEMENT_H_
53 #include "util/functions.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "Statement.h"
57 #include "AssessmentStatement.h"
68 namespace connectors {
71 static const short OP_AND = 0;
72 static const short OP_OR = 1;
75 vector<Statement*>* statements;
87 void setOperator(
short op);
89 vector<Statement*>* getStatements();
91 void removeStatement(
Statement* statement);
92 void setNegated(
bool newNegated);
94 vector<Role*> *getRoles();
95 bool instanceOf(
string type) {
96 return Statement::instanceOf(type);
105 #endif //_COMPOUNDSTATEMENT_H_
Definition: CompoundStatement.h:69
Definition: Statement.h:62