NEURON
modl.cpp File Reference
#include <../../nmodlconf.h>
#include <getopt.h>
#include "modl.h"

Go to the source code of this file.

Macros

#define NMODL_TEXT   1
 

Functions

int yyparse ()
 
int mkdir_p (const char *)
 
static void show_options (char **argv)
 
static void openfiles (char *given_filename, char *output_dir)
 
int main (int argc, char **argv)
 
static std::string str_replace (std::string str, const std::string &search_str, const std::string &replace_str)
 
void verbatim_adjust (char *q)
 

Variables

FILE * fin
 
FILE * fparout
 
FILE * fcout
 
char * modprefix
 
char * finname
 
int nmodl_text = 1
 
Listfiletxtlist
 
static char pgm_name [] = "nmodl"
 
char * RCS_version
 
char * RCS_date
 
static struct option long_options []
 

Macro Definition Documentation

◆ NMODL_TEXT

#define NMODL_TEXT   1

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 103 of file modl.cpp.

◆ mkdir_p()

int mkdir_p ( const char *  )

Definition at line 464 of file io.cpp.

◆ openfiles()

static void openfiles ( char *  given_filename,
char *  output_dir 
)
static

Definition at line 284 of file modl.cpp.

◆ show_options()

static void show_options ( char **  argv)
static

Definition at line 92 of file modl.cpp.

◆ str_replace()

static std::string str_replace ( std::string  str,
const std::string &  search_str,
const std::string &  replace_str 
)
static

Definition at line 347 of file modl.cpp.

◆ yyparse()

int yyparse ( )

Variable Documentation

◆ long_options

struct option long_options[]
static
Initial value:
= {
{"version", no_argument, 0, 'v'},
{"help", no_argument, 0, 'h'},
{"outdir", required_argument, 0, 'o'},
{0,0,0,0}
}

Definition at line 85 of file modl.cpp.

◆ pgm_name

char pgm_name[] = "nmodl"
static

Definition at line 81 of file modl.cpp.

◆ RCS_date

char* RCS_date

Definition at line 5 of file version.cpp.

◆ RCS_version

char* RCS_version

Definition at line 4 of file version.cpp.