class CParsedClass

This is the representation of a class that has been parsed by the classparser. More...

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

Public Methods

Public Members


Detailed Description

This is the representation of a class that has been parsed by the classparser.

 CParsedClass ()

CParsedClass

 ~CParsedClass ()

~CParsedClass

QList<CParsedParent> parents

parents

QStrList friends

friends

QListIterator<CParsedMethod> slotIterator

slotIterator

QListIterator<CParsedMethod> signalIterator

signalIterator

QList<CParsedSignalSlot> signalMaps

signalMaps

bool isSubClass

isSubClass

void  removeWithReferences ( const char *aFile )

removeWithReferences

Remove all items in the store with references to the file.

Parameters:
aFileThe file to check references to.

Reimplemented from CParsedClassContainer.

void  removeMethod ( CParsedMethod *aMethod )

removeMethod

Remove a method matching the specification (from either 'methods' or 'slotList').

Parameters:
aMethodSpecification of the method.

Reimplemented from CParsedContainer.

void  clearDeclaration ()

clearDeclaration

Clear all attribute values.

void  addParent ( CParsedParent *aParent )

addParent

Add a parent.

Parameters:
aParentA parent of this class.

void  addFriend ( const char *aName )

addFriend

Add a friend.

Parameters:
aNameA friendclass of this class.

void  addSignal ( CParsedMethod *aMethod )

addSignal

Add a signal.

Parameters:
aMethodThe signal to add.

void  addSlot ( CParsedMethod *aMethod )

addSlot

Add a slot.

Parameters:
aMethodThe slot to add.

void  addSignalSlotMap ( CParsedSignalSlot *aSS )

addSignalSlotMap

inline void  setIsSubClass ( bool aState )

setIsSubClass

Set the state if this is a subclass.

Parameters:
aStateThe new state.

CParsedMethodgetMethod ( CParsedMethod &aMethod )

getMethod

Get a method by comparing with another method.

Parameters:
aMethodMethod to compare with.

Reimplemented from CParsedContainer.

CParsedMethodgetSignalByNameAndArg ( const char *aName )

getSignalByNameAndArg

Get a signal by using its' name and arguments.

Parameters:
aNameName and arguments of the signal to fetch.

CParsedMethodgetSlotByNameAndArg ( const char *aName )

getSlotByNameAndArg

Get a slot by using its' name and arguments.

Parameters:
aNameName and arguments of the slot to fetch.

QList<CParsedMethod> * getSortedSignalList ()

getSortedSignalList

QList<CParsedMethod> * getSortedSlotList ()

getSortedSlotList

QList<CParsedMethod> * getVirtualMethodList ()

getVirtualMethodList

bool  hasParent ( const char *aName )

hasParent

Check if this class has the named parent.

Parameters:
aNameName of the parent to check.

bool  hasVirtual ()

hasVirtual

QString  asPersistantString ( QString &dataStr )

asPersistantString

[virtual]

Return a string made for persistant storage.

Parameters:
strString to store the result in.

Returns: Pointer to str.

Reimplemented from CParsedContainer.

int  fromPersistantString ( const char *dataStr, int startPos )

fromPersistantString

[virtual]

Initialize the object from a persistant string.

Parameters:
strString to initialize from.
startPosPosition(0-based) at which to start.

Reimplemented from CParsedContainer.

void  out ()

out

Reimplemented from CParsedContainer.