scram::core::NodeParentManager
A manager of information about parents. More...
#include <pdag.h>
Inherits from boost::noncopyable
Inherited by scram::core::Node
Public Types
| Name | |
|---|---|
| using std::pair< int, GateWeakPtr > | Parent <br>Parent index and ptr. |
| using ext::linear_map< int, GateWeakPtr, ext::MoveEraser > | ParentMap <br>A map type of parent gate positive indices and weak pointers to them. |
Public Functions
| Name | |
|---|---|
| const ParentMap & | parents() const |
Protected Functions
| Name | |
|---|---|
| ~NodeParentManager() =default |
Friends
| Name | |
|---|---|
| class | Gate <br>The main manipulator of parent information. |
Detailed Description
cpp
class scram::core::NodeParentManager;A manager of information about parents.
Only gates can manipulate the data.
Public Types Documentation
using Parent
cpp
using scram::core::NodeParentManager::Parent = std::pair<int, GateWeakPtr>;Parent index and ptr.
using ParentMap
cpp
using scram::core::NodeParentManager::ParentMap = ext::linear_map<int, GateWeakPtr, ext::MoveEraser>;A map type of parent gate positive indices and weak pointers to them.
Public Functions Documentation
function parents
cpp
inline const ParentMap & parents() constReturn: The parents of a node.
Protected Functions Documentation
function ~NodeParentManager
cpp
~NodeParentManager() =defaultFriends
friend Gate
cpp
friend class Gate(
Gate
);The main manipulator of parent information.
Updated on 2025-11-11 at 16:51:08 +0000
