Inherits Garbage
The Function class models a member function.
Member functions are the only functions in udoc's world.
Each function has a file() and line() number, which consequently are the ones in the class declaration, and it should have a docBlock(). (The DocBlock's file and line number presumably are in a .cpp file.)
Constructs a function whose return type is type, whose full name (including class) is name, whose arguments are arguments, and with constness. originFile and originLine point to the function's defining source, which will be used in any error messages.
Returns the arguments of this Function as a string.
Returns a pointer to the DocBlock that documents this Function, or a null pointer if the Function is undocumented.
Returns a pointer to the File where this Function is defined, suitable for error messages.
Returns a pointer to the Function object that is named (fully qualified) name, accepts arguments, and is/is not const as described by constness. If there is no such Function object, find() returns 0.
If only name is supplied, any arguments and constness are accepted.
Returns true if s is the variable name of one of this function's arguments as specified in the .cpp file, and false if not.
Returns true if this function is const, and false otherwise.
Returns the line number where this Function was defined, suitable for error messages.
Returns the name of this Function.
Notifies this Function that its argument list is really arguments, contrary to what it may previously have believed.
It is legal to have different parameter names in the .h and .cpp file names. In that case, udoc needs to see and remember the names in the .cpp file, even if the Function was originally created based on the .h file.
Sets this Function's DocBlock to db.
Notifies this function that it has an "\overload" directive.
Returns a pointer to the function which this function reimplements, or a null pointer if this function isn't a reimplementation (or if it is, but udoc can't see it.)
Returns the type of this Function.
Returns a version of the argument list a which is stripped of argument names. For example, "( int a, const String & b, int )" is transformed into "( int a, const String &, int )".
This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.