class CParsedMethod

This object is the general abstraction for a method that has been parsed by the classparser. More...

Definition#include <./classparser/ParsedMethod.h>
InheritsCParsedAttribute [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

This object is the general abstraction for a method that has been parsed by the classparser.

 CParsedMethod ()

CParsedMethod

 ~CParsedMethod ()

~CParsedMethod

QList arguments

arguments

bool isVirtual

isVirtual

bool isPure

isPure

bool isSlot

isSlot

bool isSignal

isSignal

bool isConstructor

isConstructor

bool isDestructor

isDestructor

void  addArgument ( CParsedArgument *anArg )

addArgument

void  setIsVirtual ( bool aState = true )

setIsVirtual

Set the status if this is a virtual method.

Parameters:
aStateThe new state.

void  setIsPure ( bool aState = true )

setIsPure

Set the status if this is a pure virtual method.

Parameters:
aStateThe new state.

void  setIsSlot ( bool aState = true )

setIsSlot

Set the status if this is a slot.

Parameters:
aStateThe new state.

void  setIsSignal ( bool aState = true )

setIsSignal

Set the status if this is a signal.

Parameters:
aStateThe new state.

void  setIsConstructor ( bool aState = true )

setIsConstructor

Set this method as a constructor.

Parameters:
aStateThe new state.

void  setIsDestructor ( bool aState = true )

setIsDestructor

Set this method as a destructor.

Parameters:
aStateThe new state.

QString  asString ( QString &str )

asString

Reimplemented from CParsedAttribute.

void  out ()

out

Reimplemented from CParsedAttribute.

void  asHeaderCode ( QString &str )

asHeaderCode

[virtual]

Make this object a copy of the supplied object.

/** Return this methods' header code.

Parameters:
aMethodMethod to copy. */ virtual void copy( CParsedMethod *aMethod );

Reimplemented from CParsedAttribute.

void  asCppCode ( QString &buf )

asCppCode

QString  asPersistantString ( QString &dataStr )

asPersistantString

[virtual]

Reimplemented from CParsedAttribute.

bool  isEqual ( CParsedMethod &method )

isEqual

Is the supplied method equal to this one (regarding type, name and signature)?

Reimplemented from CParsedAttribute.