#include <basis/array.h>#include <basis/function.h>#include <basis/guards.h>#include <data_struct/span_manager.h>#include <loggers/file_logger.h>#include <data_struct/static_memory_gremlin.h>Include dependency graph for t_spanmn.cpp:

Go to the source code of this file.
Defines | |
| #define | DEBUG_SPAN_MANAGER |
| #define | LOG(to_print) { program_wide_logger().log(to_print); } |
| #define | WHERE __WHERE__.s() |
| #define | MAX_SPANS 8 |
| #define | INIT_STUFF int_array stuffer; |
| #define | STUFF(a, b) |
| #define | SEND(send_to) send_to.update(stuffer); stuffer.reset(0); |
| #define | COMP(to_compare, i) |
| stuffer.number_of_spans = stuff_index / 2; \ old | |
Functions | |
| int | main (int formal(argc), char *formal(argv)[]) |
Variables | |
| HOOPLE_STARTUP_CODE | |
| #define COMP | ( | to_compare, | |||
| i | ) |
Value:
if (to_compare != rec_list[i]) \ deadly_error(WHERE, "comparison", istring(istring::SPRINTF, \ "index %d incorrect", i).s())
Definition at line 48 of file t_spanmn.cpp.
Referenced by main().
| #define DEBUG_SPAN_MANAGER |
Definition at line 22 of file t_spanmn.cpp.
| #define INIT_STUFF int_array stuffer; |
| #define LOG | ( | to_print | ) | { program_wide_logger().log(to_print); } |
Definition at line 25 of file t_spanmn.cpp.
| #define MAX_SPANS 8 |
Definition at line 31 of file t_spanmn.cpp.
| #define SEND | ( | send_to | ) | send_to.update(stuffer); stuffer.reset(0); |
| #define STUFF | ( | a, | |||
| b | ) |
Value:
if (stuffer.length() / 2 + 1 > MAX_SPANS) deadly_error(WHERE, "STUFF", "too many"); \ stuffer.concatenate(a); stuffer.concatenate(b);
Definition at line 37 of file t_spanmn.cpp.
Referenced by main().
| #define WHERE __WHERE__.s() |
Definition at line 29 of file t_spanmn.cpp.
| int main | ( | int | formal(argc), | |
| char * | formal(argv)[] | |||
| ) |
Definition at line 53 of file t_spanmn.cpp.
References guards::alert_message(), COMP, deadly_error, INIT_STUFF, array< contents >::length(), LOG, span_manager::make_missing_list(), span_manager::make_received_list(), span_manager::missing_sequence(), span_manager::print_missing_list(), span_manager::print_received_list(), span_manager::received_sequence(), SEND, istring::SPRINTF, STUFF, and WHERE.
Definition at line 27 of file t_spanmn.cpp.
1.5.1