NFlexType Class Reference

#include <Type.h>

Inheritance diagram for NFlexType:

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
unsigned int number () const
 NFlexType (unsigned int number, bool as_const =false)
 NFlexType (bytecodeistream &str)
 ~NFlexType ()

Private Member Functions

 REP_BODY (NFlexType)

Private Attributes

unsigned int m_number

Constructor & Destructor Documentation

NFlexType::NFlexType unsigned int  number,
bool  as_const = false
 

NFlexType::NFlexType bytecodeistream str  ) 
 

NFlexType::~NFlexType  ) 
 


Member Function Documentation

TypePtr NFlexType::clone  )  const [virtual]
 

clone this type

Reimplemented from Type.

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

Reimplemented from Type.

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

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

Reimplemented from Type.

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

Reimplemented from Type.

unsigned int NFlexType::number  )  const
 

NFlexType::REP_BODY NFlexType   )  [private]
 

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

write out to stream

Reimplemented from Type.

string NFlexType::toString  )  const [virtual]
 

Converts a type code to its YCP notation.

Reimplemented from Type.

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

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

Reimplemented from Type.


Member Data Documentation

unsigned int NFlexType::m_number [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6