#include <AstRange.h>
Definition at line 24 of file AstRange.h.
Public Member Functions | |
AstRange () | |
AstRange (const tree< AstNode >::iterator &_min, const tree< AstNode >::iterator &_max) | |
AstRange (const AstRange &a) | |
AstRange & | operator= (const AstRange &a) |
void | setMin (const tree< AstNode >::iterator &_min) |
void | setMax (const tree< AstNode >::iterator &_max) |
tree< AstNode > ::iterator & | getMin () |
tree< AstNode > ::iterator & | getMax () |
bool | inRange (const tree< AstNode >::iterator &a) const |
Private Attributes | |
tree< AstNode >::iterator | min |
tree< AstNode >::iterator | max |
AstRange::AstRange | ( | ) | [inline] |
AstRange::AstRange | ( | const AstRange & | a | ) | [inline] |
Definition at line 43 of file AstRange.h.
00043 { 00044 tree<AstNode>::iterator temp = min; 00045 for (;temp != max; ++temp) 00046 if (temp == a) 00047 return true; 00048 return false; 00049 }
tree<AstNode>::iterator AstRange::min [private] |
Definition at line 26 of file AstRange.h.
Referenced by getMin(), inRange(), operator=(), and setMin().
tree<AstNode>::iterator AstRange::max [private] |
Definition at line 27 of file AstRange.h.
Referenced by getMax(), inRange(), operator=(), and setMax().