Definition at line 24 of file string_port.cpp.
output_string_port_rep | ( | string & | s2 | ) | [inline] |
Definition at line 36 of file string_port.cpp.
00036 : s (s2) {}
port accept | ( | ) | [virtual, inherited] |
Reimplemented in socket_port_rep.
Definition at line 88 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
00088 { 00089 mmerr << "port= " << expression () << lf; 00090 ERROR ("socket server port expected"); 00091 }
bool busy | ( | ) | [inline, virtual] |
nat can_read | ( | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, input_string_port_rep, and input_output_string_port_rep.
nat can_write | ( | ) | [inline, virtual] |
Reimplemented from port_rep.
Definition at line 32 of file string_port.cpp.
00032 { return (nat) (-1); }
Reimplemented in composite_port_rep, and formatting_port_rep.
Definition at line 94 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
00094 { 00095 mmerr << "port= " << expression () << lf; 00096 ERROR ("composite port expected"); 00097 }
bool error_flag | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, formatting_port_rep, and error_port_rep.
string error_message | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, formatting_port_rep, and error_port_rep.
virtual syntactic expression | ( | ) | const [inline, virtual] |
Implements port_rep.
Definition at line 28 of file string_port.cpp.
References mmx::quote(), s, and mmx::syn().
void flush | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, file_port_rep, and formatting_port_rep.
void format | ( | const print_format & | fm | ) | [virtual, inherited] |
Reimplemented in formatting_port_rep.
Definition at line 100 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
00100 { 00101 mmerr << "port= " << expression () << lf; 00102 ERROR ("formatting port expected"); 00103 }
bool is_input_port | ( | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, formatting_port_rep, input_string_port_rep, and input_output_string_port_rep.
bool is_output_port | ( | ) | [inline, virtual] |
virtual void read | ( | char * | s, | |
nat | n | |||
) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, and formatting_port_rep.
bool wait | ( | int | msecs | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, and formatting_port_rep.
virtual void write | ( | const char * | s, | |
nat | n | |||
) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, and formatting_port_rep.
void write | ( | const char * | x, | |
nat(obj->lex_length) | ||||
) | [inline] |