Skip to content
Snippets Groups Projects
Commit 07160e17 authored by Octave Perrin's avatar Octave Perrin
Browse files

ordered

parent 2c7b1a89
No related branches found
No related tags found
No related merge requests found
...@@ -188,9 +188,20 @@ public: ...@@ -188,9 +188,20 @@ public:
/** @brief Assess if the given Node is an output Node of the GraphView object. */ /** @brief Assess if the given Node is an output Node of the GraphView object. */
bool isOutputNode(const NodePtr& nodePtr) const; bool isOutputNode(const NodePtr& nodePtr) const;
/** @todo /**
* @brief Orders the inputs of the GraphView
* @details The Inputs will be ordered in the same order as they come in the std::vector.
* Inputs missing from this vector will then be added as per their previous order.
* @param std::vector<std::pair<NodePtr, IOIndex_t>>& inputs set of inputs in the wanted order
*/ */
void setOrderedInputs(const std::vector<std::pair<NodePtr, IOIndex_t>>& inputs); void setOrderedInputs(const std::vector<std::pair<NodePtr, IOIndex_t>>& inputs);
/**
* @brief Orders the outputs of the GraphView
* @details The outputs will be ordered in the same order as they come in the std::vector.
* Outputs missing from this vector will then be added as per their previous order.
* @param std::vector<std::pair<NodePtr, IOIndex_t>>& outputs set of outputs in the wanted order
*/
void setOrderedOutputs(const std::vector<std::pair<NodePtr, IOIndex_t>>& outputs); void setOrderedOutputs(const std::vector<std::pair<NodePtr, IOIndex_t>>& outputs);
/** @todo i don't understand the description /** @todo i don't understand the description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment