Represents the base of the Node class hierarchy.
More...
#include <Node.hpp>
Represents the base of the Node class hierarchy.
Objects of Node types can be converted into more specific types by using the casting machinery from Casting.hpp. You can use static_cast<>() and reinterpret_cast<>(), but cast<>() and dyn_cast<>() are safer alternatives. You cannot use dynamic_cast<> to cast Node objects.
◆ Node() [1/2]
gtirb::Node::Node |
( |
const Node & |
| ) |
|
|
delete |
Copying Nodes is explicitly disabled.
◆ Node() [2/2]
gtirb::Node::Node |
( |
Node && |
| ) |
|
|
delete |
Move-constructing Nodes is explicitly disabled.
◆ ~Node()
Cleans up resources no longer needed by the Node object.
◆ Create()
Create a Node object in its default state.
- Parameters
-
C | The Context in which this object will be held. |
- Returns
- The newly created object.
◆ getByUUID() [1/2]
static const Node* gtirb::Node::getByUUID |
( |
const Context & |
C, |
|
|
const UUID & |
Uuid |
|
) |
| |
|
inlinestatic |
Retrieve a node by its UUID.
- Returns
- The Node with the given UUID, or nullptr if none exists.
◆ getByUUID() [2/2]
Retrieve a node by its UUID.
- Returns
- The Node with the given UUID, or nullptr if none exists.
◆ getUUID()
const UUID& gtirb::Node::getUUID |
( |
| ) |
const |
|
inline |
Get the Universally Unique ID (UUID) for this
.
- Returns
- The UUID.
◆ operator=() [1/2]
Node& gtirb::Node::operator= |
( |
const Node & |
| ) |
|
|
delete |
Copying Nodes is explicilty disabled.
◆ operator=() [2/2]
Node& gtirb::Node::operator= |
( |
Node && |
| ) |
|
|
delete |
Move-assigning Nodes is explicilty disabled.
◆ Context
The documentation for this class was generated from the following file: