Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
stanc_helper.hpp File Reference
#include <stan/version.hpp>
#include <stan/gm/compiler.hpp>
#include <exception>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <string>
#include <stan/io/cmd_line.hpp>

Go to the source code of this file.

Functions

void print_version (std::ostream *out_stream)
 
void print_stanc_help (std::ostream *out_stream)
 Prints the Stan compiler (stanc) help. More...
 
void delete_file (std::ostream *err_stream, const std::string &file_name)
 
int stanc_helper (int argc, const char *argv[], std::ostream *out_stream, std::ostream *err_stream)
 

Function Documentation

void delete_file ( std::ostream *  err_stream,
const std::string &  file_name 
)

Definition at line 55 of file stanc_helper.hpp.

void print_stanc_help ( std::ostream *  out_stream)

Prints the Stan compiler (stanc) help.

Definition at line 26 of file stanc_helper.hpp.

void print_version ( std::ostream *  out_stream)

Definition at line 12 of file stanc_helper.hpp.

int stanc_helper ( int  argc,
const char *  argv[],
std::ostream *  out_stream,
std::ostream *  err_stream 
)

Definition at line 65 of file stanc_helper.hpp.


     [ Stan Home Page ] © 2011–2014, Stan Development Team.