ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
banner.cpp File Reference

(Last Changed on February 22, 2022 for git-revision a969b4f4ac74d38ea1e41407a3b00cb26522bfe2.)

Function banner. More...

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

Go to the source code of this file.

Macros

#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. More...
 

Detailed Description

Function banner.

Author
David Fournier

Definition in file banner.cpp.

Macro Definition Documentation

#define STR (   x)    #x

Definition at line 21 of file banner.cpp.

#define STR2 (   x)    STR(x)

Definition at line 22 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 31 of file banner.cpp.

Referenced by ad_comm::ad_comm().