#include <Type.h>
Inheritance diagram for FlexType:
Public Member Functions | |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
bool | isBasetype () const |
constTypePtr | matchFlex (constTypePtr type, unsigned int number=0) const |
int | match (constTypePtr expected) const |
TypePtr | clone () const |
constTypePtr | unflex (constTypePtr type, unsigned int number=0) const |
FlexType (bool as_const=false) | |
FlexType (std::istream &str) | |
~FlexType () | |
Private Member Functions | |
REP_BODY (FlexType) |
|
|
|
|
|
|
|
clone this type Reimplemented from Type. |
|
Reimplemented from Type. |
|
check match with expected type <0: no match, ==0: full match, >0: propagated match Reimplemented from Type. |
|
Reimplemented from Type. |
|
|
|
write out to stream Reimplemented from Type. |
|
Converts a type code to its YCP notation. Reimplemented from Type. |
|
replace any 'FlexT' (number == 0) or 'NFlexT' (number != 0) with 'type' Reimplemented from Type. |