GBCommentArgument Class Reference
| Inherits from | NSObject | 
| Declared in | GBCommentArgument.h GBCommentArgument.m  | 
Overview
Describes an argument of a GBComment.
An argument is a named argument such as parameter or exception. It contains the argument (parameter or exception) name as argumentName and corresponding description in the form of GBCommentParagraph as argumentDescription.
Tasks
Initialization & disposal
- 
	
		
+ argumentWithName:description:Returns a new autoreleased argument with the given name and description. - 
	
		
+ argumentReturns a new autoreleased argument with no name and description. 
Values
- 
	
		
argumentNameThe name of the argument. property - 
	
		
argumentDescriptionDescription of the argument asGBCommentParagraph. property 
Properties
argumentDescription
Description of the argument as GBCommentParagraph.
@property (retain) GBCommentParagraph *argumentDescriptionSee Also
Declared In
GBCommentArgument.hClass Methods
argument
Returns a new autoreleased argument with no name and description.
+ (id)argumentDeclared In
GBCommentArgument.hargumentWithName:description:
Returns a new autoreleased argument with the given name and description.
+ (id)argumentWithName:(NSString *)name description:(GBCommentParagraph *)descriptionParameters
- name
 - The name of the argument.
 
- description
 - Description of the argument.
 
Return Value
Returns initialized instance.
Discussion
Sending this method is equivalent to:
GBCommentArgument *argument = [[[GBCommentArgument alloc] init] autorelease]; argument.argumentName = name; argument.argumentDescription = description;
Exceptions
- NSException
 - Thrown if name is 
nilor empty string or description isnil. 
Declared In
GBCommentArgument.h