Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
NodeIdType | id (const Node *node) |
NodeIdType | idIfExists (Node *node) |
const Node * | node (NodeIdType id) |
void | remove (const Node *node) |
void | setId (const Node *node, NodeIdType id) |
int | size () const |
Static Public Member Functions | |
static NodeIdType | generateNewId () |
Private Attributes | |
QHash< NodeIdType, const Node * > | idToNode |
QHash< const Node *, NodeIdType > | nodeToId |
|
inlinestatic |
NodeIdType Model::NodeIdMap::id | ( | const Node * | node | ) |
|
inline |
|
inline |
void Model::NodeIdMap::remove | ( | const Node * | node | ) |
void Model::NodeIdMap::setId | ( | const Node * | node, |
NodeIdType | id | ||
) |
|
inline |
|
private |
|
private |