The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::TreeNode::NotificationInfo Struct Reference

Notification type/name information. More...

#include <TreeNode.hpp>

Collaboration diagram for sparta::TreeNode::NotificationInfo:

Public Member Functions

 NotificationInfo (const TreeNode *_origin, const std::type_info *_tinfo, const std::string *_name)
 Basic constructor.
 
 NotificationInfo (const NotificationInfo &&rhp)
 Move constructor.
 
 NotificationInfo (const NotificationInfo &rhp)
 Copy constructor.
 
NotificationInfooperator= (const NotificationInfo &rhp)
 Assignment operator.
 
void checkValid () const
 Ensures the node contains valid data.
 

Public Attributes

const TreeNodeorigin
 TreeNode from which this notification can be generated.
 
const std::type_info * tinfo
 Type from typeid() on notification DataT.
 
const std::string * name
 String interned by StringManager. Must not be nullptr.
 

Detailed Description

Notification type/name information.

Used to satisfy queries on whether a node or its subtree can generate a paticular notification.

Definition at line 3332 of file TreeNode.hpp.

Constructor & Destructor Documentation

◆ NotificationInfo() [1/3]

sparta::TreeNode::NotificationInfo::NotificationInfo ( const TreeNode _origin,
const std::type_info *  _tinfo,
const std::string *  _name 
)
inline

Basic constructor.

Definition at line 3335 of file TreeNode.hpp.

◆ NotificationInfo() [2/3]

sparta::TreeNode::NotificationInfo::NotificationInfo ( const NotificationInfo &&  rhp)
inline

Move constructor.

Definition at line 3346 of file TreeNode.hpp.

◆ NotificationInfo() [3/3]

sparta::TreeNode::NotificationInfo::NotificationInfo ( const NotificationInfo rhp)
inline

Copy constructor.

Definition at line 3355 of file TreeNode.hpp.

Member Function Documentation

◆ checkValid()

void sparta::TreeNode::NotificationInfo::checkValid ( ) const
inline

Ensures the node contains valid data.

Definition at line 3375 of file TreeNode.hpp.

◆ operator=()

NotificationInfo & sparta::TreeNode::NotificationInfo::operator= ( const NotificationInfo rhp)
inline

Assignment operator.

Definition at line 3364 of file TreeNode.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ name

const std::string* sparta::TreeNode::NotificationInfo::name

String interned by StringManager. Must not be nullptr.

Definition at line 3394 of file TreeNode.hpp.

◆ origin

const TreeNode* sparta::TreeNode::NotificationInfo::origin

TreeNode from which this notification can be generated.

Definition at line 3384 of file TreeNode.hpp.

◆ tinfo

const std::type_info* sparta::TreeNode::NotificationInfo::tinfo

Type from typeid() on notification DataT.

Definition at line 3389 of file TreeNode.hpp.


The documentation for this struct was generated from the following file: