Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: mktree Up: Code management Previous: buildchangelog

Subsections



doover

Generate a function which returns AIPS++ version information.

doover

Description

doover generates C++ code which records version information found in $AIPSCODE/VERSION. It is intended to be used only by the AIPS++ makefiles (p[*]).

The C++ code defines the following external variables

and it also defines the following global function which reports the version information in a standard format:

   void report_aips_version(ostream &os)

Executables can access these external variables by virtue of declarations made in aips.h.

Options

None.

Notes

Diagnostics

Status return values
0: success
1: initialization error
2: VERSION file not found

Examples

Typing

   void report_aips_version(ostream &os)

shows the code containing the version information derived from the current $(AIPSCODE)/VERSION.

See also

AIPS++ variable names (§1.2).
adate (p[*]), AIPS++ time reporting utility.
avers (p[*]), AIPS++ version report utility.
makefiles (p[*]), GNU makefiles used to rebuild AIPS++.

Author

Original: 1996/02/29 by Mark Calabretta, ATNF.


next up previous contents index
Next: mktree Up: Code management Previous: buildchangelog   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15