|
FAUST compiler
0.9.9.6b8
|
The type of a tuplet of data. More...
#include <sigtype.hh>


Public Member Functions | |
| TupletType () | |
| TupletType (const vector< Type > &vt) | |
| TupletType (const vector< Type > &vt, int n, int v, int c, int vec, int b, const interval &i) | |
| int | arity () const |
| Type | operator[] (unsigned int i) const |
| virtual ostream & | print (ostream &dst) const |
| Print the content of a tuplet of types on a stream. More... | |
| virtual AudioType * | promoteNature (int n) |
| promote the nature of a type More... | |
| virtual AudioType * | promoteVariability (int v) |
| promote the variability of a type More... | |
| virtual AudioType * | promoteComputability (int c) |
| promote the computability of a type More... | |
| virtual AudioType * | promoteVectorability (int vec) |
| promote the vectorability of a type More... | |
| virtual AudioType * | promoteBoolean (int b) |
| promote the booleanity of a type More... | |
| virtual bool | isMaximal () const |
| true when type is maximal (and therefore can't change depending of hypothesis) More... | |
Public Member Functions inherited from AudioType | |
| AudioType (int n, int v, int c, int vec=kVect, int b=kNum, interval i=interval()) | |
| constructs an abstract audio type More... | |
| virtual | ~AudioType () |
| not really useful here, but make compiler happier More... | |
| int | nature () const |
| returns the kind of values (integre or floating point) More... | |
| int | variability () const |
| returns how fast values change (constant, by blocks, by samples) More... | |
| int | computability () const |
| returns when values are available (compilation, initialisation, execution) More... | |
| int | vectorability () const |
| returns when a signal can be vectorized More... | |
| int | boolean () const |
| returns when a signal stands for a boolean value More... | |
| interval | getInterval () const |
| returns the interval (min dn max values) of a signal More... | |
| void | setCode (Tree code) |
| returns the interval (min dn max values) of a signal More... | |
| Tree | getCode () |
| returns the interval (min dn max values) of a signal More... | |
Protected Attributes | |
| vector< Type > | fComponents |
Protected Attributes inherited from AudioType | |
| int | fNature |
| the kind of data represented More... | |
| int | fVariability |
| how fast values change More... | |
| int | fComputability |
| when are values available More... | |
| int | fVectorability |
| when a signal can be vectorized More... | |
| int | fBoolean |
| when a signal stands for a boolean value More... | |
| interval | fInterval |
| Minimal and maximal values the signal can take. More... | |
| Tree | fCode |
| Tree representation (for memoization purposes) More... | |
Additional Inherited Members | |
Static Public Attributes inherited from AudioType | |
| static int | gAllocationCount = 0 |
Protected Member Functions inherited from AudioType | |
| void | setInterval (const interval &r) |
The type of a tuplet of data.
Beside a computability and a variability, TupletTypes have a set of components.
Definition at line 340 of file sigtype.hh.
|
inline |
Definition at line 346 of file sigtype.hh.
|
inline |
Definition at line 350 of file sigtype.hh.
|
inline |
Definition at line 354 of file sigtype.hh.
|
inline |
Definition at line 358 of file sigtype.hh.
Referenced by codeTupletType(), operator*(), operator==(), and operator|().

|
virtual |
true when type is maximal (and therefore can't change depending of hypothesis)
Implements AudioType.
Definition at line 124 of file sigtype.cpp.
References fComponents.
|
inline |
Definition at line 359 of file sigtype.hh.
|
virtual |
Print the content of a tuplet of types on a stream.
Implements AudioType.
Definition at line 105 of file sigtype.cpp.
References AudioType::computability(), fComponents, AudioType::fInterval, and AudioType::variability().
Referenced by operator<<().


|
inlinevirtual |
|
inlinevirtual |
promote the computability of a type
Implements AudioType.
Definition at line 364 of file sigtype.hh.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
promote the vectorability of a type
Implements AudioType.
Definition at line 365 of file sigtype.hh.
|
protected |
Definition at line 343 of file sigtype.hh.
Referenced by isMaximal(), and print().
1.8.7