GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
octave-config.in.cc File Reference
#include <string>
#include <map>
#include <iostream>
#include <algorithm>
#include <cstdlib>
Include dependency graph for octave-config.in.cc:

Go to the source code of this file.

Functions

static void initialize (void)
int main (int argc, char **argv)
static std::string substitute_prefix (const std::string &s, const std::string &prefix, const std::string new_prefix)

Variables

static std::string help_msg = "\n"
static bool initialized = false
static std::string OCTAVE_HOME
static std::string PREFIX
static std::string usage_msg = "usage: octave-config [options]"
static std::map< std::string,
std::string > 
vars

Function Documentation

static void initialize ( void  )
static
int main ( int  argc,
char **  argv 
)

Definition at line 196 of file octave-config.in.cc.

References arg(), help_msg, initialize(), and usage_msg.

static std::string substitute_prefix ( const std::string &  s,
const std::string &  prefix,
const std::string  new_prefix 
)
static

Definition at line 78 of file octave-config.in.cc.

References replace().

Referenced by initialize().

Variable Documentation

std::string help_msg = "\n"
static

Definition at line 41 of file octave-config.in.cc.

Referenced by main().

bool initialized = false
static

Definition at line 37 of file octave-config.in.cc.

Referenced by initialize().

std::string OCTAVE_HOME
static

Definition at line 39 of file octave-config.in.cc.

Referenced by initialize(), and install_defaults_fcns().

std::string PREFIX
static

Definition at line 39 of file octave-config.in.cc.

Referenced by initialize().

std::string usage_msg = "usage: octave-config [options]"
static

Definition at line 40 of file octave-config.in.cc.

Referenced by main().

std::map<std::string,std::string> vars
static

Definition at line 38 of file octave-config.in.cc.