FAUST compiler  0.9.9.6b8
Public Member Functions | Public Attributes
trait Struct Reference

#include <schema.h>

Collaboration diagram for trait:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 trait (const point &p1, const point &p2)
void draw (device &dev) const
bool operator< (const trait &t) const

Public Attributes

point start
point end
bool hasRealInput
bool hasRealOutput

Detailed Description

Definition at line 56 of file schema.h.


Constructor & Destructor Documentation

trait::trait ( const point p1,
const point p2 
) [inline]

Definition at line 63 of file schema.h.

: start(p1), end(p2)    {}

Member Function Documentation

void trait::draw ( device dev) const [inline]

Definition at line 64 of file schema.h.

References device::trait().

{ dev.trait(start.x, start.y, end.x, end.y); }

Here is the call graph for this function:

bool trait::operator< ( const trait t) const [inline]

Definition at line 66 of file schema.h.

References end, and start.

                                         {
        if (start < t.start)        return true;
        else if (t.start < start)   return false;
        else if (end < t.end)       return true;
        else                        return false;
    }

Member Data Documentation

Definition at line 59 of file schema.h.

Referenced by operator<().

Definition at line 60 of file schema.h.

Definition at line 61 of file schema.h.

Definition at line 58 of file schema.h.

Referenced by operator<().


The documentation for this struct was generated from the following file: