Aimsun Next Scripting  22
Public Member Functions | List of all members
NodeOutput Class Reference

Public Member Functions

 NodeOutput ()
 
 NodeOutput (const QVector< NodeOutputElement > &output)
 
virtual ~NodeOutput ()
 
const QVector< NodeOutputElement > & getElements () const
 
void setElements (const QVector< NodeOutputElement > &elements)
 
void filterOutput (const NodeOutput &filter)
 
bool passesFilter (const NodeOutputElement &element) const
 

Detailed Description

NodeOutput is a collection of NodeOutputElement instances. This class is used by the NodeConnection filter to specify the discarded output elements.

Constructor & Destructor Documentation

◆ NodeOutput() [1/2]

NodeOutput::NodeOutput ( )

◆ NodeOutput() [2/2]

NodeOutput::NodeOutput ( const QVector< NodeOutputElement > &  output)

◆ ~NodeOutput()

virtual NodeOutput::~NodeOutput ( )
virtual

Member Function Documentation

◆ filterOutput()

void NodeOutput::filterOutput ( const NodeOutput filter)

Removes all output elements not complying with filter.

◆ getElements()

const QVector< NodeOutputElement > & NodeOutput::getElements ( ) const

Gets the list of output elements.

◆ passesFilter()

bool NodeOutput::passesFilter ( const NodeOutputElement element) const

Checks whether the specified element passes the filter described by the current NodeOutput.

◆ setElements()

void NodeOutput::setElements ( const QVector< NodeOutputElement > &  elements)

Sets the contained output elements.

© Aimsun SLU
Aimsun ®