15 #ifndef Om_Language_Program_
28 inline Type_::~Program() {}
30 inline void Type_::Clear() {
32 throw std::logic_error(
"Pure virtual function called.");
35 inline bool Type_::Equals(Program
const &)
const {
37 throw std::logic_error(
"Pure virtual function called.");
42 > Type_::GetElementRange()
const {
44 throw std::logic_error(
"Pure virtual function called.");
47 inline std::auto_ptr<Om::Language::Program> Type_::GiveProgram() {
51 inline std::auto_ptr<Om::Language::Program> Type_::GiveProgram()
const {
55 inline bool Type_::IsEmpty()
const {
57 throw std::logic_error(
"Pure virtual function called.");
63 Type_
const & theFirst,
64 Type_
const & theSecond
66 return theFirst.Equals(theSecond);
70 Type_
const & theFirst,
71 Type_
const & theSecond
73 return !theFirst.Equals(theSecond);
Any object that items can be pulled from.
bool operator!=(DefaultAtom< TheImplementation > const &, DefaultAtom< TheImplementation > const &)
bool operator==(DefaultAtom< TheImplementation > const &, DefaultAtom< TheImplementation > const &)
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.