1 #ifndef CPPAD_CG_LOOP_START_OPERATION_NODE_INCLUDED
2 #define CPPAD_CG_LOOP_START_OPERATION_NODE_INCLUDED
36 const std::vector<Argument<Base> >& args = this->
getArguments();
37 CPPADCG_ASSERT_KNOWN(!args.empty(),
"Invalid number of arguments")
40 CPPADCG_ASSERT_KNOWN(aNode !=
nullptr && aNode->
getOperationType() == CGOpCode::IndexDeclaration,
"Invalid argument operation type")
47 CPPADCG_ASSERT_KNOWN(this->
getArguments().size() > 1,
"Invalid number of arguments.")
50 CPPADCG_ASSERT_KNOWN(aNode !=
nullptr && aNode->
getOperationType() == CGOpCode::Index,
"Invalid argument node type")
58 inline const size_t getIterationCount()
const {
71 size_t iterationCount) :
73 this->
getInfo().push_back(iterationCount);
const std::vector< size_t > & getInfo() const
CGOpCode getOperationType() const
const std::vector< Argument< Base > > & getArguments() const