#include <pageblk.h>
Inheritance diagram for WEIRD_BLOCK:
Probably destined for all 'unclassified' blocks
Definition at line 351 of file pageblk.h.
WEIRD_BLOCK::WEIRD_BLOCK | ( | ) | [inline] |
WEIRD_BLOCK::WEIRD_BLOCK | ( | ICOORDELT_LIST * | points, | |
INT32 | id_no | |||
) |
Set identity of BLAH, where BLAH is WEIRD_BLOCK.
Definition at line 879 of file pageblk.cpp.
References id_number.
00879 :PAGE_BLOCK (points, 00880 PB_WEIRD) { 00881 id_number = id_no; 00882 }
void WEIRD_BLOCK::de_serialise_asc | ( | FILE * | f | ) |
Convert BLAH from ascii file, where BLAH is WEIRD_BLOCK.
Definition at line 928 of file pageblk.cpp.
References de_serialise_INT32(), and id_number.
00930 { 00931 ((PAGE_BLOCK *) this)->de_serialise_asc (f); 00932 id_number = de_serialise_INT32 (f); 00933 }
INT32 WEIRD_BLOCK::id_no | ( | ) | [inline] |
WEIRD_BLOCK::make_serialise | ( | WEIRD_BLOCK | ) |
Plot BLAH, where BLAH is WEIRD_BLOCK.
Definition at line 889 of file pageblk.cpp.
References id_number, and POLY_BLOCK::plot().
00889 { 00890 PAGE_BLOCK_IT c = this->child (); 00891 00892 POLY_BLOCK::plot(window, colour, id_number); 00893 00894 if (!c.empty ()) 00895 for (c.mark_cycle_pt (); !c.cycled_list (); c.forward ()) 00896 c.data ()->plot (window, colour); 00897 }
void WEIRD_BLOCK::set_id | ( | INT32 | id_no | ) |
void WEIRD_BLOCK::set_id_no | ( | INT32 | new_id | ) | [inline] |
void WEIRD_BLOCK::show_attrs | ( | DEBUG_WIN * | debug | ) |
INT32 WEIRD_BLOCK::id_number [private] |
unique id
Definition at line 380 of file pageblk.h.
Referenced by de_serialise_asc(), plot(), set_id(), show_attrs(), and WEIRD_BLOCK().