Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Tools::CommandLineMissingArgument Class Reference

#include <CmdLineMissingArgument.h>

Inheritance diagram for Tools::CommandLineMissingArgument:

Inheritance graph
[legend]
Collaboration diagram for Tools::CommandLineMissingArgument:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CommandLineMissingArgument (const char *selector=NULL, Object *param=nil)
virtual StringclassName (void) const
 Answer receiver class name.
virtual StringnotifierString (void)

Protected Member Functions

virtual void privRaise (void)
 This method really throws the receiver as an exception.

Constructor & Destructor Documentation

Tools::CommandLineMissingArgument::CommandLineMissingArgument const char *  selector = NULL,
Object param = nil
[inline]
 

Definition at line 35 of file CmdLineMissingArgument.h.

00036       : CommandLineParserError(nil, selector, param) {}


Member Function Documentation

virtual String* Tools::CommandLineMissingArgument::className void   )  const [inline, virtual]
 

Answer receiver class name.

Because there isn't any standard way to obtain class name this method comes to place.

Every class should rewrite this method but many didn't (yet).

Reimplemented from Tools::CommandLineParserError.

Definition at line 39 of file CmdLineMissingArgument.h.

00040       { return new String("CommandLineMissingArgument"); }

virtual String* Tools::CommandLineMissingArgument::notifierString void   )  [inline, virtual]
 

Reimplemented from Tools::CommandLineParserError.

Definition at line 43 of file CmdLineMissingArgument.h.

00044       { return new String("Command line mandatory argument missing"); }

virtual void Tools::CommandLineMissingArgument::privRaise void   )  [inline, protected, virtual]
 

This method really throws the receiver as an exception.

Every subclass MUST reimplement this method, even if it's parent does. This is because of poor object type handling in C++. :-(

Reimplemented from Tools::CommandLineParserError.

Definition at line 48 of file CmdLineMissingArgument.h.

00049       { throw this; }


The documentation for this class was generated from the following file:
Generated on Mon Nov 27 09:52:27 2006 for Smalltalk like C++ Class Library by  doxygen 1.4.2