20#ifndef SRECORD_MEMORY_WALKER_COMPARE_H
21#define SRECORD_MEMORY_WALKER_COMPARE_H
42class memory_walker_compare:
46 typedef std::shared_ptr<memory_walker_compare>
pointer;
64 memory_walker_compare(
const memory &other,
bool check_wrong);
80 virtual void observe(
unsigned long,
const void *,
int);
89 void print(
const char *caption)
const;
127 memory_walker_compare();
132 memory_walker_compare(
const memory_walker_compare &);
137 memory_walker_compare &operator=(
const memory_walker_compare &);
The interval class is used to represent a set of integer values, usually composed of runs of adjacent...
virtual ~memory_walker_compare()
The destructor.
static pointer create(const memory &other, bool check_wrong)
The create class method is used to create new dynamically allocated instances of this class.
void print(const char *caption) const
The print method is used to print the results of the comparison on the standard output.
virtual void observe(unsigned long, const void *, int)
The observe method is used by the memory walker to provide data.
bool same() const
The same method is used to discover whether the result of the comparison indicate that the two memory...
std::shared_ptr< memory_walker_compare > pointer
memory_walker()
The default constructor.
The srecord::memory class is used to simulate memory contents.