50 #ifndef _COMPOUNDCONDITION_H_
51 #define _COMPOUNDCONDITION_H_
53 #include "util/functions.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "AssessmentStatement.h"
57 #include "CompoundStatement.h"
58 #include "ConditionExpression.h"
59 #include "TriggerExpression.h"
60 #include "SimpleCondition.h"
71 namespace connectors {
74 static const short OP_AND = 0;
75 static const short OP_OR = 1;
78 vector<ConditionExpression*>* expressions;
89 void setOperator(
short op);
91 vector<ConditionExpression*>* getConditions();
94 vector<Role*> *getRoles();
95 bool instanceOf(
string type) {
96 return TriggerExpression::instanceOf(type);
105 #endif //_COMPOUNDCONDITION_H_
Definition: ConditionExpression.h:65
Definition: TriggerExpression.h:63
Definition: CompoundCondition.h:72