basix_doc 0.1
|
Definition at line 48 of file string_port.cpp.
input_string_port_rep | ( | const string & | s2 | ) | [inline] |
Definition at line 64 of file string_port.cpp.
port accept | ( | ) | [virtual, inherited] |
Reimplemented in socket_port_rep.
Definition at line 87 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
{ mmerr << "port= " << expression () << lf; ERROR ("socket server port expected"); }
bool busy | ( | ) | [inline, virtual] |
nat can_read | ( | ) | [inline, virtual] |
nat can_write | ( | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, output_string_port_rep, and input_output_string_port_rep.
Definition at line 53 of file port.cpp.
{
return 0;
}
Reimplemented in composite_port_rep, and formatting_port_rep.
Definition at line 93 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
{ mmerr << "port= " << expression () << lf; ERROR ("composite port expected"); }
bool error_flag | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, formatting_port_rep, and error_port_rep.
Definition at line 38 of file port.cpp.
{ return false; }
string error_message | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, formatting_port_rep, and error_port_rep.
Definition at line 43 of file port.cpp.
{ return ""; }
virtual syntactic expression | ( | ) | const [inline, virtual] |
Implements port_rep.
Definition at line 53 of file string_port.cpp.
References mmx::N(), mmx::quote(), and mmx::syn().
void flush | ( | ) | [virtual, inherited] |
Reimplemented in composite_port_rep, file_port_rep, and formatting_port_rep.
Definition at line 83 of file port.cpp.
{ }
void format | ( | const print_format & | fm | ) | [virtual, inherited] |
Reimplemented in formatting_port_rep.
Definition at line 99 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
{ mmerr << "port= " << expression () << lf; ERROR ("formatting port expected"); }
bool is_input_port | ( | ) | [inline, virtual] |
bool is_output_port | ( | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, formatting_port_rep, output_string_port_rep, and input_output_string_port_rep.
Definition at line 28 of file port.cpp.
{ return false; }
void read | ( | char * | x, |
nat | n | ||
) | [inline, virtual] |
bool wait | ( | int | msecs | ) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, and formatting_port_rep.
Definition at line 77 of file port.cpp.
{ (void) msecs; return false; }
void write | ( | const char * | s, |
nat | n | ||
) | [virtual, inherited] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, output_string_port_rep, and input_output_string_port_rep.
Definition at line 63 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.