Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/simfil/model/nodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ struct ModelNode
/// Get the node's address
[[nodiscard]] inline ModelNodeAddress addr() const {return addr_;}

/// Get raw runtime payload attached to this node without triggering resolution.
[[nodiscard]] inline ScalarValueType const& runtimeData() const {return data_;}

/// True if the node points at a valid model and address.
[[nodiscard]] inline bool isResolved() const {return model_ && addr_;}

Expand Down
Loading