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