Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::codetree::def::TMethodDef Class Reference

#include <defmethod.h>

Inheritance diagram for cbl::codetree::def::TMethodDef:

cbl::codetree::def::TDef cbl::codetree::TElement cbl::codetree::def::TCastDef cbl::codetree::def::TOperatorDef List of all members.

Public Types

typedef std::deque< def::TClassDef * >  TRaisesList
enum   TStyle { mtExternal, mtForward, mtInline, mtSimple }
enum   TCallStyle {
  csStandard, csRegister, csPascal, csCdecl,
  csStdCall, csSafeCall, csExport
}
enum   TStyleEx {
  mtAbstract, mtDynamic, mtMessage, mtOverride,
  mtReintroduce, mtVirtual, mtConstructor, mtDestructor,
  mtCopy, mtClassMethod
}

Public Methods

  TMethodDef (const TMethodDef &)
virtual unsigned  size () const
void  callStyle (TCallStyle)
TCallStyle  callStyle () const
void  externalInfo (const TExternalInfo &)
const TExternalInfo externalInfo () const
void  styles (const TStyles &)
const TStyles &  styles () const
void  setStyle (TStyle, bool state)
bool  getStyle (TStyle) const
void  returnType (TDef *)
const TDef returnType () const
void  addParam (TParam *)
const TParamList &  params () const
void  stylesEx (const TStylesEx &)
const TStylesEx &  stylesEx () const
void  setStyleEx (TStyleEx, bool state)
bool  getStyleEx (TStyleEx) const
unsigned  messageID () const
void  messageID (unsigned)
void  addRaises (def::TClassDef *)
void  raises (const TRaisesList &)
const TRaisesList raises ()
virtual void  accept (TDefVisitor &)
virtual TMethodDef *  clone () const

Protected Methods

  TMethodDef (symbols::TModuleSym *AOwner)

Friends

class  symbols::TModuleSym

Member Typedef Documentation

typedef std::deque<def::TClassDef *> cbl::codetree::def::TMethodDef::TRaisesList
 

Definition at line 53 of file defmethod.h.


Member Enumeration Documentation

enum cbl::codetree::def::TMethodDef::TCallStyle
 

Enumeration values:
csStandard 
csRegister 
csPascal 
csCdecl 
csStdCall 
csSafeCall 
csExport 

Definition at line 43 of file defmethod.h.

00043                     {
00044         csStandard, csRegister, csPascal, csCdecl, csStdCall, csSafeCall,
00045         csExport
00046     };

enum cbl::codetree::def::TMethodDef::TStyle
 

Enumeration values:
mtExternal 
mtForward 
mtInline 
mtSimple 

Definition at line 39 of file defmethod.h.

00039                 {
00040         mtExternal, mtForward, mtInline, mtSimple
00041     };

enum cbl::codetree::def::TMethodDef::TStyleEx
 

Enumeration values:
mtAbstract 
mtDynamic 
mtMessage 
mtOverride 
mtReintroduce 
mtVirtual 
mtConstructor 
mtDestructor 
mtCopy 
mtClassMethod 

Definition at line 48 of file defmethod.h.


Constructor & Destructor Documentation

cbl::codetree::def::TMethodDef::TMethodDef symbols::TModuleSym   AOwner [protected]
 

cbl::codetree::def::TMethodDef::TMethodDef const TMethodDef &   
 


Member Function Documentation

virtual void cbl::codetree::def::TMethodDef::accept TDefVisitor &    [virtual]
 

Implements cbl::codetree::def::TDef.

Reimplemented in cbl::codetree::def::TCastDef.

void cbl::codetree::def::TMethodDef::addParam TParam  
 

void cbl::codetree::def::TMethodDef::addRaises def::TClassDef  
 

TCallStyle cbl::codetree::def::TMethodDef::callStyle   const
 

void cbl::codetree::def::TMethodDef::callStyle TCallStyle   
 

virtual TMethodDef* cbl::codetree::def::TMethodDef::clone   const [virtual]
 

Implements cbl::codetree::def::TDef.

Reimplemented in cbl::codetree::def::TCastDef.

const TExternalInfo& cbl::codetree::def::TMethodDef::externalInfo   const
 

void cbl::codetree::def::TMethodDef::externalInfo const TExternalInfo  
 

bool cbl::codetree::def::TMethodDef::getStyle TStyle    const
 

bool cbl::codetree::def::TMethodDef::getStyleEx TStyleEx    const
 

void cbl::codetree::def::TMethodDef::messageID unsigned   
 

unsigned cbl::codetree::def::TMethodDef::messageID   const
 

const TParamList& cbl::codetree::def::TMethodDef::params   const
 

const TRaisesList& cbl::codetree::def::TMethodDef::raises  
 

void cbl::codetree::def::TMethodDef::raises const TRaisesList  
 

const TDef* cbl::codetree::def::TMethodDef::returnType   const
 

void cbl::codetree::def::TMethodDef::returnType TDef  
 

void cbl::codetree::def::TMethodDef::setStyle TStyle   ,
bool    state
 

void cbl::codetree::def::TMethodDef::setStyleEx TStyleEx   ,
bool    state
 

virtual unsigned cbl::codetree::def::TMethodDef::size   const [virtual]
 

Implements cbl::codetree::def::TDef.

const TStyles& cbl::codetree::def::TMethodDef::styles   const
 

void cbl::codetree::def::TMethodDef::styles const TStyles &   
 

const TStylesEx& cbl::codetree::def::TMethodDef::stylesEx   const
 

void cbl::codetree::def::TMethodDef::stylesEx const TStylesEx &   
 


Friends And Related Function Documentation

friend class symbols::TModuleSym [friend]
 

Reimplemented in cbl::codetree::def::TCastDef.

Definition at line 73 of file defmethod.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:26 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002