Setting up the use of this module.
§1. This section simply sets up the module in ways expected by foundation, and contains no code of interest. The following constant exists only in tools which use this module:
define INDEX_MODULE TRUE
§2. Like all modules, this one must define a start and end function:
enum INDEX_SORTING_MREASON enum MAP_INDEX_MREASON enum SCENE_SORTING_MREASON enum SPATIAL_MAP_DA enum SPATIAL_MAP_WORKINGS_DA
void IndexModule::start(void) { Memory::reason_name(INDEX_SORTING_MREASON, "index sorting"); Memory::reason_name(MAP_INDEX_MREASON, "map in the World index"); Memory::reason_name(SCENE_SORTING_MREASON, "scene index sorting"); Log::declare_aspect(SPATIAL_MAP_DA, U"spatial map", FALSE, FALSE); Log::declare_aspect(SPATIAL_MAP_WORKINGS_DA, U"spatial map workings", FALSE, FALSE); } void IndexModule::end(void) { }
enum index_session_CLASS enum index_page_CLASS enum index_element_CLASS enum inter_lexicon_CLASS enum index_lexicon_entry_CLASS enum simplified_scene_CLASS enum simplified_end_CLASS enum simplified_connector_CLASS enum command_index_entry_CLASS enum faux_instance_CLASS enum faux_instance_set_CLASS enum connected_submap_CLASS enum EPS_map_level_CLASS enum rubric_holder_CLASS
DECLARE_CLASS(index_session) DECLARE_CLASS(index_element) DECLARE_CLASS(index_page) DECLARE_CLASS(inter_lexicon) DECLARE_CLASS(index_lexicon_entry) DECLARE_CLASS(simplified_scene) DECLARE_CLASS(simplified_end) DECLARE_CLASS(simplified_connector) DECLARE_CLASS(command_index_entry) DECLARE_CLASS(faux_instance) DECLARE_CLASS(faux_instance_set) DECLARE_CLASS(connected_submap) DECLARE_CLASS(EPS_map_level) DECLARE_CLASS(rubric_holder)