CppCastExpressionAST Class Reference

#include <ast.h>

Inheritance diagram for CppCastExpressionAST:

Inheritance graph
[legend]
Collaboration diagram for CppCastExpressionAST:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 430 of file ast.h.

Public Types

enum  

Public Member Functions

 CppCastExpressionAST ()
ASTcastOp () const
ASTtypeId () const
AbstractExpressionASTexpression () const
void setCastOp (AST *castOp)
void setTypeId (AST *typeId)
void setExpression (AbstractExpressionAST *expression)

Private Member Functions

 CppCastExpressionAST (const CppCastExpressionAST &source)
void operator= (const CppCastExpressionAST &source)

Private Attributes

ASTm_castOp
ASTm_typeId
AbstractExpressionASTm_expression


Member Enumeration Documentation

anonymous enum

Definition at line 433 of file ast.h.


Constructor & Destructor Documentation

CppCastExpressionAST::CppCastExpressionAST (  ) 

Definition at line 1041 of file ast.cpp.

01042     : m_castOp(0), m_typeId(0), m_expression(0)
01043 {
01044 }

CppCastExpressionAST::CppCastExpressionAST ( const CppCastExpressionAST source  )  [private]


Member Function Documentation

AST* CppCastExpressionAST::castOp (  )  const [inline]

Definition at line 438 of file ast.h.

References m_castOp.

Referenced by setCastOp().

00439     { return m_castOp; }

AST* CppCastExpressionAST::typeId (  )  const [inline]

Definition at line 441 of file ast.h.

References m_typeId.

Referenced by setTypeId().

00442     { return m_typeId; }

AbstractExpressionAST* CppCastExpressionAST::expression (  )  const [inline]

Definition at line 444 of file ast.h.

References m_expression.

Referenced by setExpression().

00445     { return m_expression; }

void CppCastExpressionAST::setCastOp ( AST castOp  ) 

Definition at line 1046 of file ast.cpp.

References castOp(), m_castOp, and AST::setParent().

Referenced by Parser::parsePostfixExpression().

01047 {
01048     m_castOp = castOp;
01049     if (m_castOp)
01050         m_castOp->setParent(this);
01051 }

Here is the call graph for this function:

void CppCastExpressionAST::setTypeId ( AST typeId  ) 

Definition at line 1053 of file ast.cpp.

References m_typeId, AST::setParent(), and typeId().

Referenced by Parser::parsePostfixExpression().

01054 {
01055     m_typeId = typeId;
01056     if (m_typeId)
01057         m_typeId->setParent(this);
01058 }

Here is the call graph for this function:

void CppCastExpressionAST::setExpression ( AbstractExpressionAST expression  ) 

Definition at line 1060 of file ast.cpp.

References expression(), m_expression, and AST::setParent().

Referenced by Parser::parsePostfixExpression().

01061 {
01062     m_expression = expression;
01063     if (m_expression)
01064         m_expression->setParent(this);
01065 }

Here is the call graph for this function:

void CppCastExpressionAST::operator= ( const CppCastExpressionAST source  )  [private]


Member Data Documentation

AST* CppCastExpressionAST::m_castOp [private]

Definition at line 452 of file ast.h.

Referenced by castOp(), and setCastOp().

AST* CppCastExpressionAST::m_typeId [private]

Definition at line 453 of file ast.h.

Referenced by setTypeId(), and typeId().

AbstractExpressionAST* CppCastExpressionAST::m_expression [private]

Definition at line 454 of file ast.h.

Referenced by expression(), and setExpression().


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 14:51:01 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1