template<class T> class ASTlist |
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.
| vector | |
| vector | |
| vector | |
| vector |
| ASTlist (const List<T> & L) copy constructor | |
| ASTlist ( ASTnode* parent ) constructor (default) | |
| ASTlist (const ASTlist<T> & L) constructor (giving the parent node) | |
| AddToEnd (ASTlist<T> &appendMe) DEPRECIATED | |
| AlterCurrent (T k) DEPRECIATED | |
| Insert (ASTlist<T> &appendMe) DEPRECIATED | |
| InsertAfter (ASTlist<T> &appendMe) DEPRECIATED | |
| insert ( iterator pos, size_type n, const T& x) 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 ( iterator pos, T* first, T* last ) Identical to the STL vector method of the same prototype | |
| setParent ( ASTnode* setToThis ) setParent() - sets the parent ASTnode that this list is inside of. |
| | |
| const_pointer | |
| const_reference | |
| copy constructor for List<> | |
| difference_type | |
| pointer | |
| reference | |
| size_type | |
| value_type |
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. (template
would not work).
Alphabetic index HTML hierarchy of classes or Java