Stan  2.10.0
probability, sampling & optimization
Functions
stanc_helper.hpp File Reference
#include <stan/version.hpp>
#include <stan/lang/compiler.hpp>
#include <stan/io/cmd_line.hpp>
#include <exception>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <string>

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 56 of file stanc_helper.hpp.

void print_stanc_help ( std::ostream *  out_stream)

Prints the Stan compiler (stanc) help.

Definition at line 28 of file stanc_helper.hpp.

void print_version ( std::ostream *  out_stream)

Definition at line 14 of file stanc_helper.hpp.

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

Definition at line 66 of file stanc_helper.hpp.


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