lib

Kross::Api::Argument Class Reference

#include <argument.h>

List of all members.


Detailed Description

Each Class::Function holds a list of arguments the function supports.

The Argument-class represents such a single argument in a ArgumentList collection.

Definition at line 38 of file argument.h.


Public Member Functions

 Argument (const QString &classname=QString::null)
 ~Argument ()
const QString & getClassName ()
ArgumentListoperator<< (ArgumentList &arglist)

Constructor & Destructor Documentation

Argument::Argument ( const QString &  classname = QString::null  )  [explicit]

Constructor.

Parameters:
classname The name of the class this argument expects.

Definition at line 24 of file argument.cpp.

Argument::~Argument (  ) 

Destructor.

Definition at line 31 of file argument.cpp.


Member Function Documentation

const QString & Argument::getClassName (  ) 

Return the name of the class this argument expects.

Returns:
Name of the class this argument expects.

Definition at line 35 of file argument.cpp.

ArgumentList & Argument::operator<< ( ArgumentList arglist  ) 

Implementation of the << operator.

Parameters:
arglist The ArgumentList the operator is applied on.
Returns:
The changed ArgumentList.
Todo:
Document where this argument is added in the list and add a brief code example.

Definition at line 52 of file argument.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys