SST  13.0.0
StructuralSimulationToolkit
SST::LinkMap Class Reference

Maps port names to the Links that are connected to it. More...

#include <linkMap.h>

Public Member Functions

void addSelfPort (const std::string &name)
 Set the list of allowed port names from the ElementInfoPort. More...
 
bool isSelfPort (const std::string &name) const
 
void insertLink (const std::string &name, Link *link)
 Inserts a new pair of name and link into the map.
 
void removeLink (const std::string &name)
 
LinkgetLink (const std::string &name)
 Returns a Link pointer for a given name.
 
bool empty ()
 Checks to see if LinkMap is empty. More...
 
std::map< std::string, Link * > & getLinkMap ()
 Return a reference to the internal map.
 

Detailed Description

Maps port names to the Links that are connected to it.

Member Function Documentation

◆ addSelfPort()

void SST::LinkMap::addSelfPort ( const std::string &  name)
inline

Set the list of allowed port names from the ElementInfoPort.

Add a port name to the list of allowed ports. Used by SelfLinks, as these are undocumented.

◆ empty()

bool SST::LinkMap::empty ( )
inline

Checks to see if LinkMap is empty.

Returns
True if Link map is empty, false otherwise

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