-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcmd_bv_operate.h
41 lines (36 loc) · 1.04 KB
/
cmd_bv_operate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef cmd_bv_operate_H
#define cmd_bv_operate_H
#include <string>
#include <cstdlib>
#include <cstdint>
#include <iostream>
#include "commands.h"
class BVOperateCommand: public Command
{
public:
BVOperateCommand(const std::string& name): Command(name) {}
virtual ~BVOperateCommand() {}
virtual void short_description (std::ostream& s);
virtual void usage (std::ostream& s, const std::string& message="");
virtual void debug_help (std::ostream& s);
virtual void parse (int _argc, char** _argv);
virtual int execute (void);
virtual void op_and (void);
virtual void op_mask (void);
virtual void op_or (void);
virtual void op_or_not (void);
virtual void op_xor (void);
virtual void op_eq (void);
virtual void op_complement (void);
virtual void op_squeeze (bool fullLengthResult);
virtual void op_unsqueeze (void);
virtual void op_rrr (void);
virtual void op_unrrr (void);
std::vector<std::string> bvFilenames;
std::string outputFilename;
std::string operation;
bool saveToFile;
bool reportCounts;
bool beQuiet;
};
#endif // cmd_bv_operate_H