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

dtool/src/interrogate/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 []


Detailed Description

Definition in file interrogate_module.cxx.


Enumeration Type Documentation

enum CommandOptions
 

Enumeration values:
CO_oc 
CO_module 
CO_library 
CO_c 
CO_python 
CO_track_interpreter 

Definition at line 52 of file interrogate_module.cxx.


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 181 of file interrogate_module.cxx.

References build_c_wrappers, build_python_wrappers, CO_c, CO_library, CO_module, CO_oc, CO_python, CO_track_interpreter, library_name, module_name, optarg, output_code_filename, and track_interpreter.

int write_python_table ostream &  out  ) 
 

Definition at line 85 of file interrogate_module.cxx.

References FunctionIndex, FunctionWrapperIndex, and module_name.


Variable Documentation

bool build_c_wrappers = false
 

Definition at line 44 of file interrogate_module.cxx.

bool build_python_wrappers = false
 

Definition at line 45 of file interrogate_module.cxx.

string library_name
 

Definition at line 43 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 61 of file interrogate_module.cxx.

string module_name
 

Definition at line 42 of file interrogate_module.cxx.

Filename output_code_filename
 

Definition at line 41 of file interrogate_module.cxx.

const char* short_options = "" [static]
 

Definition at line 49 of file interrogate_module.cxx.

bool track_interpreter = false
 

Definition at line 46 of file interrogate_module.cxx.


Generated on Thu May 1 22:13:11 2003 for DTool by doxygen1.3