Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

interrogate_module.cxx File Reference

#include <interrogate_interface.h>
#include <interrogate_request.h>
#include <load_dso.h>
#include <pystub.h>
#include <notify.h>
#include <gnu_getopt.h>

Go to the source code of this file.

Enumerations

enum  CommandOptions {
  CO_oc = 256, CO_module, CO_library, CO_c,
  CO_python, CO_track_interpreter
}

Functions

int write_python_table (ostream &out)
int main (int argc, char *argv[])

Variables

Filename output_code_filename
string module_name
string library_name
bool build_c_wrappers = false
bool build_python_wrappers = false
bool track_interpreter = false
const char * short_options = ""
option long_options []


Enumeration Type Documentation

enum CommandOptions
 

Enumeration values:
CO_oc 
CO_module 
CO_library 
CO_c 
CO_python 
CO_track_interpreter 

Definition at line 49 of file interrogate_module.cxx.


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 178 of file interrogate_module.cxx.

References argv, build_c_wrappers, build_python_wrappers, CO_c, CO_library, CO_module, CO_oc, CO_python, CO_track_interpreter, count, Filename::empty(), getopt_long_only, interrogate_request_database(), library_name, load_dso(), load_dso_error(), long_options, module_name, nout, NULL, Filename::open_write(), optarg, optind, output_code_filename, param, Filename::set_text(), Filename::set_type(), short_options, Filename::T_dso, track_interpreter, and write_python_table().

int write_python_table ostream out  ) 
 

Definition at line 82 of file interrogate_module.cxx.

References count, FunctionIndex, FunctionWrapperIndex, interrogate_function_has_module_name(), interrogate_function_module_name(), interrogate_function_number_of_python_wrappers(), interrogate_function_python_wrapper(), interrogate_get_function(), interrogate_number_of_functions(), interrogate_wrapper_is_callable_by_name(), interrogate_wrapper_name(), library_name, and module_name.

Referenced by main().


Variable Documentation

bool build_c_wrappers = false
 

Definition at line 41 of file interrogate_module.cxx.

bool build_python_wrappers = false
 

Definition at line 42 of file interrogate_module.cxx.

string library_name
 

Definition at line 40 of file interrogate_module.cxx.

struct option long_options[] [static]
 

Initial value:

 {
  { "oc", required_argument, NULL, CO_oc },
  { "module", required_argument, NULL, CO_module },
  { "library", required_argument, NULL, CO_library },
  { "c", no_argument, NULL, CO_c },
  { "python", no_argument, NULL, CO_python },
  { "track-interpreter", no_argument, NULL, CO_track_interpreter },
  { NULL }
}

Definition at line 58 of file interrogate_module.cxx.

string module_name
 

Definition at line 39 of file interrogate_module.cxx.

Filename output_code_filename
 

Definition at line 38 of file interrogate_module.cxx.

const char* short_options = "" [static]
 

Definition at line 46 of file interrogate_module.cxx.

Referenced by main().

bool track_interpreter = false
 

Definition at line 43 of file interrogate_module.cxx.


Generated on Fri Apr 18 01:34:13 2003 for DTool by doxygen1.3