PLearn 0.1
Public Member Functions | Public Attributes
PLearn::PLearnCommand Class Reference

This is the base class for all PLearn commands (those that can be issued in the plearn program) More...

#include <PLearnCommand.h>

Inheritance diagram for PLearn::PLearnCommand:
Inheritance graph
[legend]
Collaboration diagram for PLearn::PLearnCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PLearnCommand (const string &name_, const string &description_, const string &helpmsg_)
virtual void run (const vector< string > &args)=0
virtual ~PLearnCommand ()

Public Attributes

string name
string description
string helpmsg

Detailed Description

This is the base class for all PLearn commands (those that can be issued in the plearn program)

Definition at line 53 of file PLearnCommand.h.


Constructor & Destructor Documentation

PLearn::PLearnCommand::PLearnCommand ( const string &  name_,
const string &  description_,
const string &  helpmsg_ 
) [inline]

Definition at line 60 of file PLearnCommand.h.

        : name(name_), description(description_), helpmsg(helpmsg_) 
    {}
virtual PLearn::PLearnCommand::~PLearnCommand ( ) [inline, virtual]

Definition at line 66 of file PLearnCommand.h.

{}

Member Function Documentation

virtual void PLearn::PLearnCommand::run ( const vector< string > &  args) [pure virtual]

Member Data Documentation

Definition at line 56 of file PLearnCommand.h.

Referenced by PLearn::PLearnCommandRegistry::do_register().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines