Back to index

Public Member Functions | Public Attributes | Private Attributes
inputs_list_command_rep Class Reference
Inheritance diagram for inputs_list_command_rep:
Inheritance graph
Collaboration diagram for inputs_list_command_rep:
Collaboration graph

List of all members.

Public Member Functions

 inputs_list_command_rep (wk_widget w, int i2, int n2)
void apply ()
tm_ostreamprint (tm_ostream &out)
virtual void apply (object args)

Public Attributes

int ref_count

Private Attributes

int i
int n

Detailed Description

Definition at line 42 of file inputs_list_widget.cpp.

Constructor & Destructor Documentation

inputs_list_command_rep::inputs_list_command_rep ( wk_widget  w,
int  i2,
int  n2 
) [inline]

Definition at line 47 of file inputs_list_widget.cpp.

    ilw (w.rep), i (i2), n (n2) {}

Member Function Documentation

void command_rep::apply ( object  args) [virtual, inherited]

Reimplemented in object_command_rep.

Definition at line 20 of file command.cpp.

  (void) args;
  apply ();

Here is the call graph for this function:

void inputs_list_command_rep::apply ( ) [virtual]

Implements command_rep.

Definition at line 55 of file inputs_list_widget.cpp.

  wk_widget il_wid (ilw);
  if (i < 0)
    il_wid << set_string ("return", "#f");
  else if (i == n-1)
    il_wid << set_string ("return", "#t");
  else {
    string answer;
    il_wid[0]["inputs"][2 * i]["input"] << get_string ("input", answer);
    if (answer == "#f") il_wid << set_string ("return", "#f");
    else il_wid[0]->win->set_keyboard_focus
          (abstract (il_wid[0]["inputs"][2 * i + 2]["input"]));
tm_ostream& inputs_list_command_rep::print ( tm_ostream out) [inline, virtual]

Reimplemented from command_rep.

Definition at line 50 of file inputs_list_widget.cpp.

    return out << "Input list command (" << i << ")"; }

Member Data Documentation

Definition at line 44 of file inputs_list_widget.cpp.

Definition at line 43 of file inputs_list_widget.cpp.

Definition at line 45 of file inputs_list_widget.cpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

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