15 #ifndef Om_Language_Operation_BackPullPairOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullPairOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[pairs]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
81 BOOST_AUTO_TEST_CASE(FlushTest) {
88 BOOST_AUTO_TEST_SUITE_END()
106 Om::Language::Operation::BackPullPairOperation
110 inline char const * Type_::GetName() {
114 inline void Type_::Give(Evaluation & theEvaluation) {
115 theEvaluation.TakeOperation(
116 std::auto_ptr<IncompleteOperation>(
119 BackPullPairOperation
125 template <
typename TheConsumer>
126 inline void Type_::Pull(
127 Lexicon & theLexicon,
128 TheConsumer & theConsumer
130 theLexicon.BackGivePair(theConsumer);
#define Om_Language_Operation_BackPullPairOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.