#include <MemoryStorage.hpp>
Inheritance diagram for corelinux::MemoryStorage


Public Methods | |
| MemoryStorage ( MemoryIdentifierCref , IntCref , VoidPtr ) | |
| Constructor for storage object. More... | |
| bool | operator== ( MemoryStorageCref ) const |
| Compares identifier. | |
| operator MemoryIdentifierCref ( void ) const | |
| Returns identifier. | |
| void | operator+ ( Int ) throw ( BoundsException ) |
| Increment current pointer. | |
| void | operator- ( Int ) throw ( BoundsException ) |
| Decrement current pointer. | |
| template<classT> | operator T ( void ) throw ( BoundsException ) |
| Reads current location as type. | |
| template<classT> | operator T * ( void ) throw ( BoundsException ) |
| Reads current location as type pointer. | |
| template<classT> T& | operator= ( T & aT ) throw ( BoundsException ) |
| Data assignment. | |
| MemoryStorageRef | operator[] ( Int offset ) throw ( BoundsException ) |
| Subscript offset operator. | |
| template<classType, classXexec> void | forEach ( Xexec aExec ) throw ( Assertion ) |
| forEach invokes the callers method to perform whatever operation they want on the type reference in the segment space. More... | |
| template<classType, classXexec, classTest> void | forEach ( Xexec aExec, Test aTest ) throw ( Assertion ) |
| forEach that invokes the callers method if the callers test method returns true. More... | |
Protected Methods | |
| MemoryStorage ( void ) throw ( Assertion ) | |
| Default is never called. | |
| MemoryStorage ( MemoryStorageCref ) | |
| Copy called by Memory. | |
| virtual | ~MemoryStorage ( void ) |
| Virtual destructor. | |
| MemoryStorageRef | operator= ( MemoryStorageCref ) |
| Assignment called by Memory. | |
| VoidPtr | getBasePointer ( void ) |
| Internal reference to base. | |
Friends | |
| class | Memory |
The interface provides pointer semantics with the addition of bounds error checking.
|
|
Constructor for storage object.
|
|
||||||
|
forEach that invokes the callers method if the callers test method returns true.
|
|
||||
|
forEach invokes the callers method to perform whatever operation they want on the type reference in the segment space.
|