Home You are here: Home > Support > Reference v1.0

Change language: German

XmCmdline Class Reference

Inheritance diagram for XmCmdline:

XmUIDialog List of all members.

Detailed Description

Implement a user interface dialog for command line based interfaces.

The command line dialog can be used for console application, as well as for a command line interface within a GUI application. The command line interface is implemented within the exom core, because of the minimal IO requirements.

Following commands are available on command line:

 >lp    (list properties)   display all properties of an object.
 >lf    (list functions)    display all functions of an object.
 >li    (list items)        display all subitems of an object.
 >cd    (change directory)  change current directory specifiying the 
                                object name or using '..' or '/'.
 >set <attribute>=value     set the value of the specified attribute.
 >do  <function> ()         execute the specified function with 
                                optional parameters.
 >exit                      exit the current dialog (or console).


Public Member Functions

const XmPathGetCurPath () const
 Return the navigation path of the command line.
void SetCurPath (const XmPath &p)
 Change current navigation path for the commandline.
void CmdlinePrompt (bool longPrompt)
 Display a pront of the commandline.
void DoString (const XmString &str)
 Execute the command line string.
void CmdlineLoop ()
 Run the command line loop.
XmStreamOutGetOut () const
 Return the reference of the out stream.

Copyright © 2006 Praetz Software Development - www.exomware.com