Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

FlexType Class Reference

#include <Type.h>

Inheritance diagram for FlexType:

Type Rep List of all members.

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)

Constructor & Destructor Documentation

FlexType::FlexType bool  as_const = false  ) 
 

FlexType::FlexType std::istream &  str  ) 
 

FlexType::~FlexType  ) 
 


Member Function Documentation

TypePtr FlexType::clone  )  const [virtual]
 

clone this type

Reimplemented from Type.

bool FlexType::isBasetype  )  const [inline, virtual]
 

Reimplemented from Type.

int FlexType::match constTypePtr  expected  )  const [virtual]
 

check match with expected type <0: no match, ==0: full match, >0: propagated match

Reimplemented from Type.

constTypePtr FlexType::matchFlex constTypePtr  type,
unsigned int  number = 0
const [virtual]
 

Reimplemented from Type.

FlexType::REP_BODY FlexType   )  [private]
 

std::ostream & FlexType::toStream std::ostream &  str  )  const [virtual]
 

write out to stream

Reimplemented from Type.

string FlexType::toString  )  const [virtual]
 

Converts a type code to its YCP notation.

Reimplemented from Type.

constTypePtr FlexType::unflex constTypePtr  type,
unsigned int  number = 0
const [virtual]
 

replace any 'FlexT' (number == 0) or 'NFlexT' (number != 0) with 'type'

Reimplemented from Type.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:24 2007 for yast2-core by doxygen 1.3.6