1 #ifndef INCLUDE__Instruction_hxx_
2 #define INCLUDE__Instruction_hxx_
12 Instruction(uint64_t address, const std::string& text,
13 const std::vector<uint8_t>& bytes,
14 const std::string& reference)
15 : address(address), text(text), bytes(bytes), reference(reference) {}
16 uint64_t getAddress() const {return address;}
17 const std::string& getText() const {return text;}
18 const std::vector<uint8_t>& getBytes() const {return bytes;}
19 const std::string& getReference() const {return reference;}
20 std::vector<Comment*>& comments() {return _comments;}
24 std::vector<uint8_t> bytes;
25 std::string reference;
26 std::vector<Comment*> _comments;
29 #endif /* INCLUDE__Instruction_hxx_ */