#include <sdbllist.hpp>
Inheritance diagram for SExpressionDoubleList::Iterator:
Definition at line 144 of file sdbllist.hpp.
Public Member Functions | |
Iterator (const SDoubleListRef &m, bool from_end=false) | |
Construct by a reference. | |
Iterator (SExpressionDoubleList *m, bool from_end=false) | |
Construct by a pointer to the master object. | |
void | SetBegin () |
Move the iterator to the first item of the list. | |
void | SetEnd () |
Move the iterator to the last item of the list. | |
void | InsertBefore (const SReference &r) |
Insert a new item into the list before the current one. | |
void | InsertAfter (const SReference &r) |
Insert a new item into the list after the current one. | |
bool | Remove () |
Remove the current item. | |
bool | IsBegin () const |
Are we at the first element of the list? | |
bool | IsEnd () const |
Are we at the last element of the list? | |
bool | Exhausted () const |
Either the list is empty or we stepped past the last item. | |
const SDoubleListRef & | GetMaster () |
Get the list obhect we are operating on. | |
SExpressionBacklink * | GetPtr () const |
Get the pointer to the referenced object. | |
SExpressionBacklink * | operator-> () const |
Field/method selector. | |
SBacklinkRef | operator, (const SReference &s) |
Append another element to the list. | |
SBacklinkRef | Begin () const |
Get the first element of the list. | |
SBacklinkRef | End () const |
Get the last element of the list. | |
SBacklinkRef & | operator++ () |
Move forward. | |
SBacklinkRef | operator++ (int) |
Move forward. | |
SBacklinkRef & | operator-- () |
Move backward. | |
SBacklinkRef | operator-- (int) |
Move backward. | |
SReference & | AddAnotherItemToList (const SReference &right) |
Add item to list. | |
SReference & | ChangeListEnd (const SReference &new_last) |
Make/change dotted list. | |
SReference | MakeCons (const SReference &right) const |
Make a cons. | |
SReference & | operator|| (const SReference &t) |
dotted list composing operation | |
SReference | operator^ (const SReference &t) const |
CONS operation. | |
bool | operator== (const SReference &other) const |
Equality is just pointer comparision. | |
bool | operator== (const SExpression *other) const |
Equality is just pointer comparision. | |
bool | operator!= (const SReference &other) const |
Non-equality is just pointer comparision. | |
bool | operator!= (const SExpression *other) const |
Non-equality is just pointer comparision. | |
bool | IsEql (const SReference &other) const |
bool | IsEqual (const SReference &other) const |
SReference & | Car () const |
SReference & | Cdr () const |
SReference & | CCar () const |
SReference & | CCdr () const |
intelib_float_t | GetFloat () const |
intelib_integer_t | GetInt () const |
const char * | GetString () const |
char | GetSingleChar () const |
template<class Tp> | |
Tp * | DynamicCastGetPtr () const |
template<class Tp> | |
Tp * | SimpleCastGetPtr () const |
SReference | Clone () const |
SReference | CopyList () const |
SReference | CopyTree () const |
bool | IsEmptyList () const |
SExpression & | operator * () const |
Dereference. |
|
Construct by a reference.
Definition at line 148 of file sdbllist.hpp. |
|
Construct by a pointer to the master object.
Definition at line 153 of file sdbllist.hpp. |
|
Move the iterator to the first item of the list.
Definition at line 157 of file sdbllist.hpp. References SBacklinkRef::operator=(). Referenced by InsertBefore(). |
|
Move the iterator to the last item of the list.
Definition at line 159 of file sdbllist.hpp. References SBacklinkRef::operator=(). Referenced by InsertAfter(). |
|
Insert a new item into the list before the current one.
Definition at line 126 of file sdbllist.cpp. References Exhausted(), IsBegin(), and SetBegin(). |
|
Insert a new item into the list after the current one.
Reimplemented from SBacklinkRef. Definition at line 138 of file sdbllist.cpp. References Exhausted(), IsEnd(), and SetEnd(). |
|
Remove the current item.
Reimplemented from SBacklinkRef. Definition at line 150 of file sdbllist.cpp. References Exhausted(), SBacklinkRef::GetPtr(), IsBegin(), SReference::IsEmptyList(), IsEnd(), SReference::operator=(), SBacklinkRef::Remove(), and SReference::SReference(). |
|
Are we at the first element of the list?
Definition at line 169 of file sdbllist.hpp. References SBacklinkRef::GetPtr(), SReference::IsEmptyList(), and SExpressionBacklink::Prev(). Referenced by InsertBefore(), and Remove(). |
|
Are we at the last element of the list?
Definition at line 171 of file sdbllist.hpp. References SBacklinkRef::GetPtr(), SReference::IsEmptyList(), and SExpressionBacklink::Next(). Referenced by InsertAfter(), and Remove(). |
|
Either the list is empty or we stepped past the last item.
Definition at line 173 of file sdbllist.hpp. References SBacklinkRef::GetPtr(), and SReference::IsEmptyList(). Referenced by InsertAfter(), InsertBefore(), and Remove(). |
|
Get the list obhect we are operating on.
Definition at line 176 of file sdbllist.hpp. |
|
Get the pointer to the referenced object.
Reimplemented from SReference. Definition at line 148 of file sbacklnk.cpp. References SReference::GetPtr(), and SReference::IsEmptyList(). Referenced by SExpressionDoubleList::AddToBegin(), SExpressionDoubleList::AddToEnd(), SDoubleListRange::Copy(), Exhausted(), IsBegin(), SDoubleListRange::IsEmpty(), IsEnd(), SBacklinkRef::operator++(), SBacklinkRef::operator,(), SBacklinkRef::operator--(), SBacklinkRef::operator->(), Remove(), and SExpressionDoubleList::TextRepresentation(). |
|
Field/method selector.
Reimplemented from GenericReference< SExpression >. Definition at line 145 of file sbacklnk.hpp. References SBacklinkRef::GetPtr(). |
|
Append another element to the list.
Reimplemented from SReference. Definition at line 186 of file sbacklnk.cpp. References SExpressionCons::Cdr(), SReference::DynamicCastGetPtr(), SReference::GetPtr(), SBacklinkRef::GetPtr(), SExpressionBacklink::InsertAfter(), SReference::IsEmptyList(), PTheEmptyList, and SBacklinkRef::SBacklinkRef(). |
|
Get the first element of the list.
Definition at line 206 of file sbacklnk.cpp. References SReference::IsEmptyList(). |
|
Get the last element of the list.
Definition at line 218 of file sbacklnk.cpp. References SReference::IsEmptyList(). |
|
Move forward.
Definition at line 230 of file sbacklnk.cpp. References SExpressionCons::Cdr(), SBacklinkRef::GetPtr(), and SReference::IsEmptyList(). |
|
Move forward.
Definition at line 242 of file sbacklnk.cpp. References SExpressionCons::Cdr(), SBacklinkRef::GetPtr(), and SReference::IsEmptyList(). |
|
Move backward.
Definition at line 236 of file sbacklnk.cpp. References SBacklinkRef::GetPtr(), SReference::IsEmptyList(), and SExpressionBacklink::Prev(). |
|
Move backward.
Definition at line 250 of file sbacklnk.cpp. References SBacklinkRef::GetPtr(), SReference::IsEmptyList(), and SExpressionBacklink::Prev(). |
|
Add item to list. For a list, adds another dotted pair to its end. For non-lists, the result is undefined. Referenced by SReference::operator,(). |
|
Make/change dotted list.
Referenced by SReference::operator||(). |
|
Make a cons. Produces a cons (dotted pair) using *this as the CAR and the given argument as the CDR Referenced by SReference::operator^(). |
|
dotted list composing operation Operator "||" is used to construct dotted lists, like this: ((L| 1, 2, 3) || 4) // (1 2 3 . 4)
Reimplemented in LReference, and SchReference. Definition at line 548 of file sexpress.hpp. References SReference::ChangeListEnd(). Referenced by SchReference::operator||(), and LReference::operator||(). |
|
CONS operation. Operator "^" is used to produce conses Definition at line 552 of file sexpress.hpp. References SReference::MakeCons(). |
|
Equality is just pointer comparision.
Definition at line 556 of file sexpress.hpp. References SReference::GetPtr(). |
|
Equality is just pointer comparision.
Definition at line 562 of file sexpress.hpp. References SReference::GetPtr(). |
|
Non-equality is just pointer comparision.
Definition at line 559 of file sexpress.hpp. References SReference::GetPtr(). |
|
Non-equality is just pointer comparision.
Definition at line 565 of file sexpress.hpp. References SReference::GetPtr(). |
|
Reimplemented in LReference, and SchReference. Referenced by SExprsAreEql(). |
|
Reimplemented in LReference, and SchReference. Referenced by SExprsAreEqual(). |
|
Referenced by LExpressionMacro::Call(), SDoubleListRange::Copy(), IntelibGenericReader::Get(), RetrieveFunctionObject(), and stack_representation(). |
|
Referenced by LExpressionMacro::Call(), SBacklinkRef::Remove(), SQueue::RemoveFirst(), RetrieveFunctionObject(), and stack_representation(). |
|
|
|
|
|
Referenced by SExpressionIndirectTemplate< Tt >::Setf(). |
|
Referenced by SExpressionIndirectTemplate< Tt >::Setf(). |
|
Referenced by SExpressionIndirectTemplate< Tt >::Setf(). |
|
|
|
|
Definition at line 695 of file sexpress.hpp. References SReference::GetPtr(), and SExpression::TermType(). |
|
Referenced by SExpressionVector::Clone(), and SExpressionHashTable::Clone(). |
|
|
|
|
|
|