FAUST compiler  0.9.9.6b8
Public Member Functions | Public Attributes | List of all members
Rule Struct Reference
Collaboration diagram for Rule:
Collaboration graph
[legend]

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.

80 : r(_r), id(_id), p(Path()) {}
vector< int > Path
Rule::Rule ( int  _r,
Tree  _id,
const Path _p 
)
inline

Definition at line 81 of file patternmatcher.cpp.

81 : r(_r), id(_id), p(_p) {}
Rule::Rule ( const Rule rule)
inline

Definition at line 82 of file patternmatcher.cpp.

82 : 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.

90  { return r < rule.r; }
Rule& Rule::operator= ( const Rule rule)
inline

Definition at line 84 of file patternmatcher.cpp.

References id, p, and r.

85  { 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.

88  { return r == rule.r; }

Member Data Documentation

Tree Rule::id

Definition at line 77 of file patternmatcher.cpp.

Referenced by operator=().

Path Rule::p

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: