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

atlas::commands Namespace Reference


Classes

class  atlas::commands::StrCmp
struct  atlas::commands::Command
class  atlas::commands::CommandMode
struct  atlas::commands::EntryError

Typedefs

typedef std::map< const char *,
const char *, StrCmp
TagDict

Enumerations

enum  CheckResult { Ambiguous, Found, NotFound, numCheckResults }

Functions

void activate (const CommandMode &mode)
void addCommands (CommandMode &dest, const CommandMode &source)
CheckResult checkName (const CommandMode &mode, const char *name)
input::InputBuffercurrentLine ()
const CommandModecurrentMode ()
void defaultError (const char *str)
void exitInteractive ()
void exitMode ()
void insertTag (TagDict &t, const char *name, const char *tag)
void printTags (std::ostream &strm, const TagDict &t)
void run (const CommandMode &initMode)
void relax_f ()


Typedef Documentation

typedef std::map<const char*,const char*, StrCmp> atlas::commands::TagDict
 

Definition at line 25 of file commands_fwd.h.


Enumeration Type Documentation

enum CheckResult
 

Enumeration values:
Ambiguous 
Found 
NotFound 
numCheckResults 

Definition at line 27 of file commands.h.

Referenced by checkName().


Function Documentation

void atlas::commands::activate const CommandMode &  mode  ) 
 

Definition at line 254 of file commands.cpp.

References atlas::commands::CommandMode::entry(), and atlas::modeStack.

Referenced by atlas::execute(), atlas::help_f(), atlas::realform_f(), run(), and atlas::type_f().

void atlas::commands::addCommands CommandMode &  dest,
const CommandMode &  source
 

Definition at line 270 of file commands.cpp.

References atlas::commands::CommandMode::add(), atlas::commands::CommandMode::begin(), and atlas::commands::CommandMode::end().

Referenced by atlas::blockmode::blockMode(), atlas::mainmode::mainMode(), and atlas::realmode::realMode().

CheckResult atlas::commands::checkName const CommandMode &  mode,
const char *  name
 

Definition at line 280 of file commands.cpp.

References atlas::ambiguous(), CheckResult, atlas::commands::CommandMode::end(), atlas::commands::CommandMode::extensions(), and atlas::commands::CommandMode::findName().

input::InputBuffer & atlas::commands::currentLine  ) 
 

Definition at line 303 of file commands.cpp.

const CommandMode * atlas::commands::currentMode  ) 
 

Definition at line 321 of file commands.cpp.

References atlas::modeStack.

Referenced by atlas::completionGenerator().

void atlas::commands::defaultError const char *  str  ) 
 

Definition at line 333 of file commands.cpp.

void atlas::commands::exitInteractive  ) 
 

Definition at line 345 of file commands.cpp.

References exitMode(), atlas::modeStack, and atlas::runFlag.

void atlas::commands::exitMode  ) 
 

Definition at line 358 of file commands.cpp.

References atlas::commands::CommandMode::exit(), and atlas::modeStack.

Referenced by exitInteractive(), atlas::realform_f(), and atlas::type_f().

void atlas::commands::insertTag TagDict t,
const char *  name,
const char *  tag
 

Definition at line 372 of file commands.cpp.

Referenced by atlas::blockmode::addBlockHelp(), atlas::emptyhelp::addEmptyHelp(), atlas::mainhelp::addMainHelp(), atlas::realhelp::addRealHelp(), atlas::special::addSpecialHelp(), and atlas::helpmode::helpMode().

void atlas::commands::printTags std::ostream &  strm,
const TagDict t
 

Definition at line 382 of file commands.cpp.

References atlas::commands::CommandMode::end().

Referenced by atlas::questionMark_h().

void relax_f  )  [inline]
 

Definition at line 45 of file commands.h.

void atlas::commands::run const CommandMode &  initMode  ) 
 

Definition at line 407 of file commands.cpp.

References activate(), atlas::ambiguous(), atlas::commands::CommandMode::error(), atlas::execute(), atlas::commands::CommandMode::extensions(), atlas::getCommand(), atlas::isEqual(), atlas::modeStack, and atlas::runFlag.

Referenced by main().


Generated on Wed Mar 26 16:52:23 2008 for atlas by  doxygen 1.3.9.1