PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::CCConversion Class Reference

#include <CCConversion.h>

+ Inheritance diagram for Puma::CCConversion:

Public Types

enum  ConvId {
  IDENTITY ,
  LVALUE_TO_RVALUE ,
  ARRAY_TO_POINTER ,
  FUNCTION_TO_POINTER ,
  BOOLEAN ,
  INTEGRAL ,
  INTEGRAL_PROMOTION ,
  FLOATING ,
  FLOATING_PROMOTION ,
  FLOATING_INTEGRAL ,
  POINTER ,
  POINTER_TO_MEMBER ,
  DERIVED_TO_BASE ,
  QUALIFICATION ,
  USER_DEFINED ,
  STANDARD_SEQ ,
  USER_DEFINED_SEQ ,
  ELLIPSIS_SEQ
}
 

Public Member Functions

virtual ~CCConversion ()
 
ConvId Id () const
 
CTypeInfoToType () const
 
CTypeInfoFromType () const
 
CTreeExpr () const
 
CTreeBase () const
 
CFunctionInfoConvFunction () const
 
virtual void Apply ()
 
void Update (CTree *)
 
bool isIdentityConv () const
 
bool isLvalueToRvalueConv () const
 
bool isArrayToPointerConv () const
 
bool isFunctionToPointerConv () const
 
bool isBooleanConv () const
 
bool isIntegralConv () const
 
bool isIntegralPromotion () const
 
bool isFloatingPointConv () const
 
bool isFloatingPointPromotion () const
 
bool isFloatingIntegralConv () const
 
bool isPointerConv () const
 
bool isPointerToMemberConv () const
 
bool isDerivedToBaseConv () const
 
bool isQualificationConv () const
 
bool isUserDefinedConv () const
 
bool isStandardConvSeq () const
 
bool isUserDefinedConvSeq () const
 
bool isEllipsisConvSeq () const
 

Protected Member Functions

 CCConversion (ConvId)
 
 CCConversion (ConvId, CTypeInfo *, CTypeInfo *, CTree *=0, CTree *=0)
 

Protected Attributes

ConvId _Id
 
CTypeInfo_ToType
 
CTypeInfo_FromType
 
CTree_Expr
 
CTree_Base
 

Member Enumeration Documentation

◆ ConvId

Enumerator
IDENTITY 
LVALUE_TO_RVALUE 
ARRAY_TO_POINTER 
FUNCTION_TO_POINTER 
BOOLEAN 
INTEGRAL 
INTEGRAL_PROMOTION 
FLOATING 
FLOATING_PROMOTION 
FLOATING_INTEGRAL 
POINTER 
POINTER_TO_MEMBER 
DERIVED_TO_BASE 
QUALIFICATION 
USER_DEFINED 
STANDARD_SEQ 
USER_DEFINED_SEQ 
ELLIPSIS_SEQ 

Constructor & Destructor Documentation

◆ CCConversion() [1/2]

Puma::CCConversion::CCConversion ( ConvId id)
inlineprotected

◆ CCConversion() [2/2]

Puma::CCConversion::CCConversion ( ConvId ,
CTypeInfo * ,
CTypeInfo * ,
CTree * = 0,
CTree * = 0 )
protected

◆ ~CCConversion()

virtual Puma::CCConversion::~CCConversion ( )
virtual

Member Function Documentation

◆ Apply()

virtual void Puma::CCConversion::Apply ( )
virtual

◆ Base()

CTree * Puma::CCConversion::Base ( ) const
inline

◆ ConvFunction()

CFunctionInfo * Puma::CCConversion::ConvFunction ( ) const

◆ Expr()

CTree * Puma::CCConversion::Expr ( ) const
inline

◆ FromType()

CTypeInfo * Puma::CCConversion::FromType ( ) const
inline

◆ Id()

CCConversion::ConvId Puma::CCConversion::Id ( ) const
inline

◆ isArrayToPointerConv()

bool Puma::CCConversion::isArrayToPointerConv ( ) const
inline

◆ isBooleanConv()

bool Puma::CCConversion::isBooleanConv ( ) const
inline

◆ isDerivedToBaseConv()

bool Puma::CCConversion::isDerivedToBaseConv ( ) const
inline

◆ isEllipsisConvSeq()

bool Puma::CCConversion::isEllipsisConvSeq ( ) const
inline

◆ isFloatingIntegralConv()

bool Puma::CCConversion::isFloatingIntegralConv ( ) const
inline

◆ isFloatingPointConv()

bool Puma::CCConversion::isFloatingPointConv ( ) const
inline

◆ isFloatingPointPromotion()

bool Puma::CCConversion::isFloatingPointPromotion ( ) const
inline

◆ isFunctionToPointerConv()

bool Puma::CCConversion::isFunctionToPointerConv ( ) const
inline

◆ isIdentityConv()

bool Puma::CCConversion::isIdentityConv ( ) const
inline

◆ isIntegralConv()

bool Puma::CCConversion::isIntegralConv ( ) const
inline

◆ isIntegralPromotion()

bool Puma::CCConversion::isIntegralPromotion ( ) const
inline

◆ isLvalueToRvalueConv()

bool Puma::CCConversion::isLvalueToRvalueConv ( ) const
inline

◆ isPointerConv()

bool Puma::CCConversion::isPointerConv ( ) const
inline

◆ isPointerToMemberConv()

bool Puma::CCConversion::isPointerToMemberConv ( ) const
inline

◆ isQualificationConv()

bool Puma::CCConversion::isQualificationConv ( ) const
inline

◆ isStandardConvSeq()

bool Puma::CCConversion::isStandardConvSeq ( ) const
inline

◆ isUserDefinedConv()

bool Puma::CCConversion::isUserDefinedConv ( ) const
inline

◆ isUserDefinedConvSeq()

bool Puma::CCConversion::isUserDefinedConvSeq ( ) const
inline

◆ ToType()

CTypeInfo * Puma::CCConversion::ToType ( ) const
inline

◆ Update()

void Puma::CCConversion::Update ( CTree * )

Member Data Documentation

◆ _Base

CTree* Puma::CCConversion::_Base
protected

◆ _Expr

CTree* Puma::CCConversion::_Expr
protected

◆ _FromType

CTypeInfo* Puma::CCConversion::_FromType
protected

◆ _Id

ConvId Puma::CCConversion::_Id
protected

◆ _ToType

CTypeInfo* Puma::CCConversion::_ToType
protected