Rule Struct Reference

Collaboration diagram for Rule:
[legend]

List of all members.

Public Member Functions

 Rule (int _r, Tree _id)
 Rule (int _r, Tree _id, const Path &_p)
 Rule (const Rule &rule)
Ruleoperator= (const Rule &rule)
bool operator== (const Rule &rule) const
bool operator< (const Rule &rule) const

Public Attributes

int r
Tree id
Path p

Detailed Description

Definition at line 75 of file patternmatcher.cpp.


Constructor & Destructor Documentation

Rule::Rule ( int  _r,
Tree  _id 
) [inline]

Definition at line 80 of file patternmatcher.cpp.

00080 : r(_r), id(_id), p(Path()) {}

Rule::Rule ( int  _r,
Tree  _id,
const Path _p 
) [inline]

Definition at line 81 of file patternmatcher.cpp.

00081 : r(_r), id(_id), p(_p) {}

Rule::Rule ( const Rule rule  )  [inline]

Definition at line 82 of file patternmatcher.cpp.

00082 : r(rule.r), id(rule.id), p(rule.p) {}


Member Function Documentation

bool Rule::operator< ( const Rule rule  )  const [inline]

Definition at line 89 of file patternmatcher.cpp.

References r.

00090   { return r < rule.r; }

Rule& Rule::operator= ( const Rule rule  )  [inline]

Definition at line 84 of file patternmatcher.cpp.

References id, p, and r.

00085   { r = rule.r; id = rule.id; p = rule.p; return *this; }

bool Rule::operator== ( const Rule rule  )  const [inline]

Definition at line 87 of file patternmatcher.cpp.

References r.

00088   { return r == rule.r; }


Member Data Documentation

Definition at line 77 of file patternmatcher.cpp.

Referenced by operator=().

Definition at line 78 of file patternmatcher.cpp.

Referenced by operator=().

int Rule::r

Definition at line 76 of file patternmatcher.cpp.

Referenced by operator<(), operator=(), and operator==().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 00:00:22 2010 for FAUST compiler by  doxygen 1.6.3