Om
Public Member Functions | Private Member Functions | List of all members
Om::Language::DefaultProgram< ThisImplementation, ThisInterface > Class Template Referenceabstract

A partial implementation of Program. More...

#include "default_program.hpp"

+ Inheritance diagram for Om::Language::DefaultProgram< ThisImplementation, ThisInterface >:
+ Collaboration diagram for Om::Language::DefaultProgram< ThisImplementation, ThisInterface >:

Public Member Functions

virtual ~DefaultProgram ()=0
 
virtual bool Equals (Program const &) const
 
virtual void TakeElements (Producer &)
 Takes each Element of the argument. More...
 
virtual void TakeElements (Producer const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
- Public Member Functions inherited from Om::Language::DefaultConsumer< ThisImplementation, DefaultGiveable< ThisImplementation, Om::Language::Program > >
virtual ~DefaultConsumer ()=0
 
virtual void TakeElement (Operand &)
 Takes a non-empty Element, which gets copied or swapped. More...
 
virtual void TakeElement (Operand const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual void TakeElement (Operator &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual void TakeElement (Operator const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual void TakeElement (Separator &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual void TakeElement (Separator const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
virtual void TakeQuotedElements (Producer &)
 Constructs and takes an Operand, which takes each Element from the argument Producer. More...
 
virtual void TakeQuotedElements (Producer const &)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
- Public Member Functions inherited from Om::DefaultGiveable< ThisImplementation, ThisInterface >
virtual ~DefaultGiveable ()=0
 
- Public Member Functions inherited from Om::DefaultMoveable< ThisImplementation, DefaultCopyable< ThisImplementation, Giveable > >
virtual std::auto_ptr< MoveableMove ()
 
virtual ~DefaultMoveable ()=0
 
- Public Member Functions inherited from Om::DefaultCopyable< ThisImplementation, ThisInterface >
virtual ~DefaultCopyable ()=0
 
virtual std::auto_ptr< CopyableCopy () const
 
- Public Member Functions inherited from Om::Copyable
virtual ~Copyable ()=0
 
- Public Member Functions inherited from Om::Taker< ThisImplementation >
virtual ~Taker ()=0
 
void Take (ThisImplementation &)
 Swaps. More...
 
void Take (ThisImplementation const &)
 Assigns. More...
 

Private Member Functions

DefaultProgramoperator= (DefaultProgram const &)
 
template<typename TheCast , typename TheProducer >
void TakeProducer (TheProducer &)
 

Detailed Description

template<typename ThisImplementation, typename ThisInterface = Om::Language::Program>
class Om::Language::DefaultProgram< ThisImplementation, ThisInterface >

Definition at line 41 of file default_program.hpp.

Constructor & Destructor Documentation

◆ ~DefaultProgram()

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
virtual Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::~DefaultProgram ( )
pure virtual

Member Function Documentation

◆ Equals()

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
virtual bool Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::Equals ( Program const &  ) const
virtual

Reimplemented in Om::Language::Null.

◆ TakeElements() [1/2]

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
virtual void Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::TakeElements ( Producer )
virtual

◆ TakeElements() [2/2]

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
virtual void Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::TakeElements ( Producer const &  )
virtual

◆ operator=()

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
DefaultProgram& Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::operator= ( DefaultProgram< ThisImplementation, ThisInterface > const &  )
private

◆ TakeProducer()

template<typename ThisImplementation , typename ThisInterface = Om::Language::Program>
template<typename TheCast , typename TheProducer >
void Om::Language::DefaultProgram< ThisImplementation, ThisInterface >::TakeProducer ( TheProducer &  )
private

The documentation for this class was generated from the following file: