ADMB Documentation  11.1.1916
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions
banner.cpp File Reference

(* $Id: banner.cpp 1702 2014-02-28 18:37:48Z johnoel $)

#include <fvar.hpp>
#include <adstring.hpp>
#include <sstream>

Go to the source code of this file.

Defines

#define STR(x)   #x
#define STR2(x)   STR(x)

Functions

void banner (const adstring &program_name)
 Generates a boast. Provides information on SVN revision number, compiler and operating system. Includes the file "banner-info.cpp" containg information generated by the makefile.

Define Documentation

#define STR (   x)    #x

Definition at line 20 of file banner.cpp.

#define STR2 (   x)    STR(x)

Definition at line 21 of file banner.cpp.

Referenced by banner().


Function Documentation

void banner ( const adstring program_name)

Generates a boast. Provides information on SVN revision number, compiler and operating system. Includes the file "banner-info.cpp" containg information generated by the makefile.

Parameters:
program_namea adstring containing a version, e.g. "4.0x"
Returns:
an adstring containg the boast

Definition at line 30 of file banner.cpp.

Referenced by ad_comm::ad_comm().