Inviwo  0.9.10.1
Inviwo documentation
inviwo::PortConnection Class Reference
+ Inheritance diagram for inviwo::PortConnection:

Public Member Functions

 PortConnection (Outport *outport, Inport *inport)
 
 PortConnection (const PortConnection &)=default
 
PortConnectionoperator= (const PortConnection &)=default
 
 operator bool () const
 
InportgetInport () const
 
OutportgetOutport () const
 
bool involvesProcessor (Processor *processor) const
 
virtual void serialize (Serializer &s) const
 
virtual void deserialize (Deserializer &d)
 

Friends

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 files: