#include <futilities.h>
Inheritance diagram for rpa::visitor:
Public Member Functions | |
virtual void | visit (const char *aPtr, size_t aLen) const =0 |
virtual | ~visitor () |
A calling program must provide an object which is used as a functor, each time a segment is mapped into memory. Thus, the loop over the segments is handled by 'mmap_ctrl'.
virtual rpa::visitor::~visitor | ( | ) | [inline, virtual] |
virtual void rpa::visitor::visit | ( | const char * | aPtr, | |
size_t | aLen | |||
) | const [pure virtual] |
Because the size if a size_t, which may have 32 bits, it is possible to map 64 bits file without the need to tell to the output stream.
Implemented in rpa::streambuf_visitor, rpa::FILE_visitor, and rpa::fd_visitor.