Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::NetworkEdge Struct Reference

#include <networkedge.h>

Public Member Functions

 NetworkEdge (std::string src, std::string dst)
 
 NetworkEdge (const PropertyLink &link)
 
 NetworkEdge (const PortConnection &connection)
 
PortConnection toConnection (const ProcessorNetwork &net) const
 
PropertyLink toLink (const ProcessorNetwork &net) const
 
void updateSrcProcessorID (const std::map< std::string, std::string, std::less<> > &map)
 Update the processor identifier in the srcPath with new ids from the map.
 
void updateDstProcessorID (const std::map< std::string, std::string, std::less<> > &map)
 Update the processor identifier in the dstPath with new ids from the map.
 
void updateProcessorID (const std::map< std::string, std::string, std::less<> > &map)
 Update the processor identifiers in the srcPath and dstPath with new ids from the map.
 
void serialize (Serializer &s) const
 
void deserialize (Deserializer &d)
 

Public Attributes

std::string srcPath
 
std::string dstPath
 

Detailed Description

Represents a edge in the ProcesorNetwork, either a PortConnection or a PropertyLink, as a pair of paths, i.e. dot separated identifiers.

Member Function Documentation

◆ updateDstProcessorID()

void inviwo::NetworkEdge::updateDstProcessorID ( const std::map< std::string, std::string, std::less<> > & map)

Update the processor identifier in the dstPath with new ids from the map.

Parameters
mapwith replacement identifiers

◆ updateProcessorID()

void inviwo::NetworkEdge::updateProcessorID ( const std::map< std::string, std::string, std::less<> > & map)

Update the processor identifiers in the srcPath and dstPath with new ids from the map.

Parameters
mapwith replacement identifiers

◆ updateSrcProcessorID()

void inviwo::NetworkEdge::updateSrcProcessorID ( const std::map< std::string, std::string, std::less<> > & map)

Update the processor identifier in the srcPath with new ids from the map.

Parameters
mapwith replacement identifiers

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