Main Page | Modules | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

omCommand Class Reference
[GENERIC LIBRARY classes]

#include <omCommand.h>

Inheritance diagram for omCommand:

omObject

Public Member Functions

 omCommand ()
 omCommand (wxString, wxString)
 omCommand (wxString)
 omCommand (wxString, wxArrayString)
wxString GetCommand ()
wxString GetParameter (int)
wxString GetParameter ()
wxArrayString GetParameters ()
int GetParCount ()
void SetCommand (wxString)
void AddParameter (wxString)

Private Attributes

wxString command
 Command Code.

wxArrayString parameters
 Parameters.


Detailed Description

Store OpenMAIA command.

This class is used store a OpenMAIA command.


Constructor & Destructor Documentation

omCommand::omCommand  ) 
 

Initialize a void omCommand class.

omCommand::omCommand wxString  c,
wxString  p
 

Initialize the class with a command and a single parameter.

Parameters:
c Command code.
p First parameter.

omCommand::omCommand wxString  c  ) 
 

Initialize the class with a command.

Parameters:
c Command code.

omCommand::omCommand wxString  c,
wxArrayString  pars
 

Initialize the class with a command and a some parameters.

Parameters:
c Command code.
pars Parameters list.


Member Function Documentation

void omCommand::AddParameter wxString  p  ) 
 

Set parameters

Parameters:
p string containing the parameters

wxString omCommand::GetCommand  ) 
 

Get stored command.

Returns:
string containing the command

wxString omCommand::GetParameter  ) 
 

Get the first stored parameter.

Returns:
string containing the parameter.

wxString omCommand::GetParameter int  idx  ) 
 

Get a stored parameter.

Parameters:
idx index of the parameter to retrive
Returns:
string containing the parameter.

wxArrayString omCommand::GetParameters  ) 
 

Get all stored parameters as a wxArrayString.

Returns:
All stored parameters.

int omCommand::GetParCount  ) 
 

Get the number of stored parameters.

Returns:
parameters number.

void omCommand::SetCommand wxString  c  ) 
 

Set command.

Parameters:
c string containing the command


Field Documentation

wxString omCommand::command [private]
 

Command Code.

wxArrayString omCommand::parameters [private]
 

Parameters.


The documentation for this class was generated from the following files: