1 #ifndef LOADER_PAGEDALLOCATOR_H_
2 #define LOADER_PAGEDALLOCATOR_H_
11 explicit PagedAllocator(unsigned int pageSize);
14 PagedAllocator(const PagedAllocator &);
15 PagedAllocator &operator =(const PagedAllocator &);
18 char *Alloc(unsigned int size);
21 unsigned int Free() const;
24 const char *CurrentPage() const;
28 std::deque<char *> pages;
29 const unsigned int pageSize;
35 #endif /* LOADER_PAGEDALLOCATOR_H_ */