Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::PortConnection Class Reference

Public Member Functions

 PortConnection (Outport *outport, Inport *inport)
 
 PortConnection (const PortConnection &)=default
 
 PortConnection (PortConnection &&) noexcept=default
 
PortConnectionoperator= (const PortConnection &)=default
 
PortConnectionoperator= (PortConnection &&) noexcept=default
 
 operator bool () const
 
InportgetInport () const
 
OutportgetOutport () const
 
bool involvesProcessor (Processor *processor) const
 

Friends

bool IVW_CORE_API operator== (const PortConnection &lhs, const PortConnection &rhs)
 
bool IVW_CORE_API operator!= (const PortConnection &lhs, const PortConnection &rhs)
 
bool IVW_CORE_API operator< (const PortConnection &lhs, const PortConnection &rhs)
 

Member Function Documentation

◆ operator bool()

inviwo::PortConnection::operator bool ( ) const

Method to test if both outport and inport is valid, eg not nullptr

Returns
false if the outport and/or the inport is nullptr

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