15 #ifndef Om_Language_Operation_CopyOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(CopyOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
44 BOOST_AUTO_TEST_CASE(SimpleTest) {
51 BOOST_AUTO_TEST_SUITE_END()
68 Om::Language::Operation::CopyOperation
72 inline char const * Type_::GetName() {
76 template <
typename TheCopyOperation>
77 inline void Type_::GiveElements(
79 Consumer & theConsumer
81 theConsumer.TakeElement(
88 template <
typename TheOperand>
89 inline bool Type_::TakeOperand(
90 Evaluation & theEvaluation,
91 TheOperand & theOperand
97 Operand
const & theConstOperand(theOperand);
98 theEvaluation.TakeOperand(theConstOperand);
100 theEvaluation.TakeOperand(theOperand);
104 template <
typename TheProducer>
105 inline bool Type_::TakeQuotedProducer(
106 Evaluation & theEvaluation,
107 TheProducer & theProducer
110 TheProducer
const & theConstProducer(theProducer);
111 theEvaluation.TakeQuotedProducer(theConstProducer);
113 theEvaluation.TakeQuotedProducer(theProducer);
#define Om_Language_Operation_CopyOperation_GetName_()