Kross::Api::ArgumentList Class Reference

#include <argument.h>

Collaboration diagram for Kross::Api::ArgumentList:

Collaboration graph
[legend]
List of all members.

Detailed Description

An ArgumentList is a collection of Argument objects used in a Class::Function.

Definition at line 111 of file argument.h.

Public Member Functions

 ArgumentList ()
 ~ArgumentList ()
 operator QValueList ()
ArgumentListoperator<< (const Argument &arg)


Constructor & Destructor Documentation

ArgumentList::ArgumentList  ) 
 

Constructor.

Definition at line 58 of file argument.cpp.

00059       : m_minparams(0)
00060     //, m_maxparams(0)
00061 {
00062 }

ArgumentList::~ArgumentList  ) 
 

Destructor.

Definition at line 64 of file argument.cpp.

00065 {
00066 }


Member Function Documentation

Kross::Api::ArgumentList::operator QValueList  )  [inline]
 

Operator to return the list of arguments call-by-reference to let code like the Callable::checkArguments method enable manipulate those list.

Returns:
List of Argument instances.

Definition at line 132 of file argument.h.

00132 { return m_arguments; }

ArgumentList & ArgumentList::operator<< const Argument arg  ) 
 

Implementation of the << operator.

Parameters:
arg The passed Argument.
Returns:
The changed ArgumentList.

Definition at line 68 of file argument.cpp.

References QValueList::append().

00069 {
00070 /*
00071     if(arg.isVisible()) {
00072         if(! arg.getObject())
00073             m_minparams++;
00074         m_maxparams++;
00075     }
00076 */
00077     m_arguments.append(arg);
00078     return *this;
00079 }


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 17:59:33 2006 for Kross by  doxygen 1.4.6