void TestIntfI::opVariableRangeType_async(const Test::AMD_TestIntf_opVariableRangeTypePtr& opVariableRangeTypeCB, const std::pair<std::deque<Test::Variable>::const_iterator, std::deque<Test::Variable>::const_iterator>& inSeq, const Ice::Current&) { Test::VariableList outSeq; for(std::deque<Test::Variable>::const_iterator p = inSeq.first; p != inSeq.second; ++p) { outSeq.push_back(*p); } opVariableRangeTypeCB->ice_response(outSeq, outSeq); }
Test::VariableList TestIntfI::opVariableRangeType( const std::pair<std::deque<Test::Variable>::const_iterator, std::deque<Test::Variable>::const_iterator>& inSeq, Test::VariableList& outSeq, const Ice::Current&) { for(std::deque<Test::Variable>::const_iterator p = inSeq.first; p != inSeq.second; ++p) { outSeq.push_back(*p); } return outSeq; }