basix_doc 0.1
|
#include <port.hpp>
port accept | ( | ) | [virtual] |
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 | ( | ) | [virtual] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, output_string_port_rep, input_string_port_rep, and input_output_string_port_rep.
Definition at line 48 of file port.cpp.
{ return false; }
nat can_read | ( | ) | [virtual] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, input_string_port_rep, and input_output_string_port_rep.
Definition at line 58 of file port.cpp.
{
return 0;
}
nat can_write | ( | ) | [virtual] |
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] |
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] |
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 [pure virtual] |
Implemented in composite_port_rep, file_port_rep, formatting_port_rep, pipe_port_rep, error_port_rep, socket_port_rep, output_string_port_rep, input_string_port_rep, and input_output_string_port_rep.
Referenced by port_rep::accept(), port_rep::component(), port_rep::format(), port_rep::read(), and port_rep::write().
void flush | ( | ) | [virtual] |
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] |
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 | ( | ) | [virtual] |
Reimplemented in posix_port_rep, composite_port_rep, formatting_port_rep, input_string_port_rep, and input_output_string_port_rep.
Definition at line 33 of file port.cpp.
{ return false; }
bool is_output_port | ( | ) | [virtual] |
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 * | s, |
nat | n | ||
) | [virtual] |
Reimplemented in posix_port_rep, composite_port_rep, file_port_rep, formatting_port_rep, input_string_port_rep, and input_output_string_port_rep.
Definition at line 70 of file port.cpp.
References ERROR, port_rep::expression(), mmx::lf, and mmx::mmerr.
{ (void) n; mmerr << "port= " << expression () << lf; ERROR ("input port expected"); }
bool wait | ( | int | msecs | ) | [virtual] |
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] |
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.