My Project
|
Helper class for resolving cross-references while deserializing BlockGraph objects. More...
#include <block.hh>
Public Member Functions | |
BlockMap (const AddrSpaceManager *m) | |
Construct given an address space manager. | |
BlockMap (const BlockMap &op2) | |
Copy constructor. | |
const AddrSpaceManager * | getAddressManager (void) const |
Get the address space manager. | |
void | sortList (void) |
Sort the list of FlowBlock objects. | |
FlowBlock * | findLevelBlock (int4 index) const |
Find the FlowBlock matching the given index. More... | |
FlowBlock * | createBlock (const string &name) |
Create a FlowBlock of the named type. More... | |
Helper class for resolving cross-references while deserializing BlockGraph objects.
FlowBlock objects are serialized with their associated index value and edges are serialized with the indices of the FlowBlock end-points. During deserialization, this class maintains a list of FlowBlock objects sorted by index and then looks up the FlowBlock matching a given index as edges specify them.
FlowBlock * BlockMap::createBlock | ( | const string & | name | ) |
|
inline |