The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

modules.h

Go to the documentation of this file.
00001 /*  (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and
00002  *  distribute this software is granted provided this copyright notice appears
00003  *  in all copies. This software is provided "as is" without express or implied
00004  *  warranty, and with no claim as to its suitability for any purpose.
00005  */
00006 #ifndef MODULES_DWA10182001_H
00007 # define MODULES_DWA10182001_H
00008 
00009 #include "lists.h"
00010 
00011 struct module_t
00012 {
00013     char* name;
00014     struct hash* rules;
00015     struct hash* variables;
00016     struct hash* imported_modules;
00017     struct module_t* class_module;
00018 };
00019 
00020 typedef struct module_t module_t ; /* MSVC debugger gets confused unless this is provided */
00021 
00022 module_t* bindmodule( char* name );
00023 module_t* root_module();
00024 void bind_module_var( module_t*, char* name );
00025 void enter_module( module_t* );
00026 void exit_module( module_t* );
00027 void delete_module( module_t* );
00028 
00029 void import_module(LIST* module_names, module_t* target_module);
00030 LIST* imported_modules(module_t* module);
00031 
00032 struct hash* demand_rules( module_t* );
00033 
00034 
00035 #endif
00036 

Generated on Mon Nov 8 17:07:41 2004 for MPT by  doxygen 1.3.9.1