27 lines
356 B
C++
27 lines
356 B
C++
|
#ifndef IFSTATEMENT_HPP
|
||
|
#define IFSTATEMENT_HPP
|
||
|
|
||
|
#include "Statement.hpp"
|
||
|
|
||
|
class IfStatement: public Statement{
|
||
|
|
||
|
public:
|
||
|
|
||
|
void getCond();
|
||
|
void getCond() const;
|
||
|
void setCond();
|
||
|
|
||
|
void getThen();
|
||
|
void getThen() const;
|
||
|
void setThen();
|
||
|
|
||
|
void getElse();
|
||
|
void getElse() const;
|
||
|
void setElse();
|
||
|
|
||
|
void getIfLocation();
|
||
|
void getThenLocation();
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|