Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

TypeTester Class Reference

Tests if a node has a given name. More...

#include <testers.h>

Inheritance diagram for TypeTester:

Node::Tester

Public Member Functions

 TypeTester (Node *itype)
 ~TypeTester ()
virtual bool test (const Node *node, const NameSpace &nameSpace) const
virtual Tester * copy () const
virtual Tester * substitute (const Node::Assignment &assign)

Private Attributes

Nodetype

Detailed Description

Tests if a node has a given name.

Definition at line 32 of file testers.h.


Constructor & Destructor Documentation

TypeTester::TypeTester Node itype  )  [inline]
 

Definition at line 35 of file testers.h.

References type.

Referenced by copy().

TypeTester::~TypeTester  )  [inline]
 

Definition at line 36 of file testers.h.

References type.


Member Function Documentation

virtual Tester* TypeTester::copy  )  const [inline, virtual]
 

Implements Node::Tester.

Definition at line 44 of file testers.h.

References Node::copy(), type, and TypeTester().

virtual Tester* TypeTester::substitute const Node::Assignment assign  )  [inline, virtual]
 

Definition at line 47 of file testers.h.

References substituteNode(), and type.

virtual bool TypeTester::test const Node node,
const NameSpace nameSpace
const [inline, virtual]
 

Implements Node::Tester.

Definition at line 40 of file testers.h.

References Node::getName(), Node::toString(), and type.


Field Documentation

Node* TypeTester::type [private]
 

Definition at line 33 of file testers.h.

Referenced by copy(), substitute(), test(), TypeTester(), and ~TypeTester().


The documentation for this class was generated from the following file:
Generated on Fri Nov 21 17:54:10 2003 for PHPX by doxygen 1.3.3