Public Member Functions | Private Attributes | List of all members
Om::Language::Form::ElementRange Class Reference

A Form Element range. More...

#include "form.hpp"

+ Inheritance diagram for Om::Language::Form::ElementRange:
+ Collaboration diagram for Om::Language::Form::ElementRange:

Public Member Functions

 ElementRange (Form const &)
virtual bool operator! () const
virtual Element const & operator* () const
bool Equals (ElementRange const &) const
void End ()
virtual void Pop ()
 Pops the current item. More...
- Public Member Functions inherited from Om::Source::DefaultSource< Element const, ElementRange >
virtual ~DefaultSource ()=0
ElementRange & operator++ ()
 Pulls the next item from the Source. More...
ElementRange operator++ (int)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
virtual bool Equals (Source< Element const > const &) const
bool Equals (ElementRange const &) const
- Public Member Functions inherited from Om::Source::Source< ThisItem >
virtual ~Source ()=0
ThisItem * operator-> () const
 operator Boolean () const
 Implements the Safe Boolean idiom. More...
virtual bool Equals (Source const &) const =0

Private Attributes

OperandDeque::const_iterator thisOperandIterator
OperandDeque::const_iterator thisOperandEnd
Element const * thisElement

Additional Inherited Members

- Public Types inherited from Om::Source::Source< ThisItem >
typedef void(Source::* Boolean) () const
 The implementation of the Safe Boolean idiom. More...

Detailed Description

Definition at line 130 of file form.hpp.

Constructor & Destructor Documentation

◆ ElementRange()

Om::Language::Form::ElementRange::ElementRange ( Form const &  )

Member Function Documentation

◆ operator!()

virtual bool Om::Language::Form::ElementRange::operator! ( ) const
True if empty.

Implements Om::Source::Source< ThisItem >.

◆ operator*()

virtual Element const& Om::Language::Form::ElementRange::operator* ( ) const

◆ Equals()

bool Om::Language::Form::ElementRange::Equals ( ElementRange const &  ) const

◆ End()

void Om::Language::Form::ElementRange::End ( )

◆ Pop()

virtual void Om::Language::Form::ElementRange::Pop ( )
Not empty.

Implements Om::Source::Source< ThisItem >.

Member Data Documentation

◆ thisOperandIterator

OperandDeque::const_iterator Om::Language::Form::ElementRange::thisOperandIterator

Definition at line 157 of file form.hpp.

◆ thisOperandEnd

OperandDeque::const_iterator Om::Language::Form::ElementRange::thisOperandEnd

Definition at line 159 of file form.hpp.

◆ thisElement

Element const* Om::Language::Form::ElementRange::thisElement

Definition at line 161 of file form.hpp.

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