The purpose of this type is to be a template class just like the base "List" is, but with the added caveat that it works on ASTnodes that are part of an AST star file tree
![]() | const_iterator |
![]() | const_pointer |
![]() | const_reference |
![]() | const_reverse_iterator |
![]() | difference_type |
![]() | iterator |
![]() | pointer |
![]() | reference |
![]() | reverse_iterator |
![]() | size_type |
![]() | value_type |
![]() | AddToEnd (ASTlist DEPRECIATED |
![]() | AlterCurrent (T k) DEPRECIATED |
![]() | ASTlist (const ASTlist constructor (giving the parent node) |
![]() | ASTlist (const List copy constructor |
![]() | ASTlist ( ASTnode *parent ) constructor (default) |
![]() | insert ( iterator pos, T *first, T *last ) Identical to the STL vector method of the same prototype. |
![]() | insert ( iterator pos, const T& x ) Identical to the STL vector method of the same prototype. |
![]() | Insert (ASTlist DEPRECIATED |
![]() | insert ( iterator pos, size_type n, const T& x) Identical to the STL vector method of the same prototype. |
![]() | InsertAfter (ASTlist DEPRECIATED |
![]() | myParent ( void ) const myParent() - gets the parent ASTnode that this list is contained inside |
![]() | setParent ( ASTnode *setToThis ) setParent() - sets the parent ASTnode that this list is inside of |
The purpose of this type is to be a template class just like the base "List" is, but with the added caveat that it works on ASTnodes that are part of an AST star file tree. The idea is that the list itself remembers who it's parent is, and therefore it can propigate that parent on to any new AST objects that are attached to the list. WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! WARNING ! =========================================================== Although this class is a template that looks like it should work on any class, it REALLY only works correctly on classes derived from ASTnode. It will crash the code (segfault) if you try to use this list on a type which is not derived from ASTnode. Due to a nasty syntax catch-22, I was forced to make this look like it would operate on any generic class. (templatewould not work).
typedef value_type* pointer
typedef const value_type* const_pointer
typedef value_type& reference
typedef const value_type& const_reference
typedef size_t size_type
typedef size_t difference_type
typedef vector
typedef vector
typedef vector
typedef vector
ASTlist( ASTnode *parent )
ASTlist(const ASTlist
ASTlist(const List
ASTnode* myParent( void ) const
void setParent( ASTnode *setToThis )
iterator insert( iterator pos, const T& x )
void insert( iterator pos, T *first, T *last )
void insert( iterator pos, size_type n, const T& x)
void AddToEnd(ASTlist
void Insert(ASTlist
alphabetic index hierarchy of classes
generated by doc++