#include <report_end.hh>
Inheritance diagram for lestes::msg::report_end:

Public Member Functions | |
| virtual void | process (const ptr< message > &a_message, const ptr< source_location > &a_location) |
| Discards a report. | |
Static Public Member Functions | |
| static ptr< report_end > | create (void) |
| Returns new instance. | |
Protected Member Functions | |
| report_end (void) | |
| Creates the object. | |
Private Member Functions | |
| report_end (const report_end &) | |
| Hides copy constructor. | |
| report_end & | operator= (const report_end &) |
| Hides assignment operator. | |
Represents end filter, discarding all reports. Used at the end of filter chain.
Definition at line 55 of file report_end.hh.
| lestes::msg::report_end::report_end | ( | void | ) | [protected] |
Creates the object.
Creates the report end filter.
Definition at line 46 of file report_end.cc.
Referenced by create().
00046 : 00047 report_filter() 00048 { 00049 }
| lestes::msg::report_end::report_end | ( | const report_end & | ) | [private] |
Hides copy constructor.
| void lestes::msg::report_end::process | ( | const ptr< message > & | a_message, | |
| const ptr< source_location > & | a_location | |||
| ) | [virtual] |
Discards a report.
Discards any report, effectively terminating the filter chain.
a_location != NULL
| a_message | The message to discard. | |
| a_location | The location to discard. |
Implements lestes::msg::report_filter.
Definition at line 58 of file report_end.cc.
References lassert.
00060 { 00061 lassert(a_message); 00062 lassert(a_location); 00063 00064 // do not call process_output 00065 }
| ptr< report_end > lestes::msg::report_end::create | ( | void | ) | [static] |
Returns new instance.
Returns new object.
Definition at line 71 of file report_end.cc.
References report_end().
Referenced by lestes::lang::cplus::lex::run().
00072 { 00073 return new report_end(); 00074 }
| report_end& lestes::msg::report_end::operator= | ( | const report_end & | ) | [private] |
Hides assignment operator.
1.5.1-20070107