2010-10-26 00:09:58 +00:00
|
|
|
'\" t
|
2011-08-04 21:30:37 +00:00
|
|
|
.\" Manual page created with latex2man on Thu Aug 4 14:29:25 PDT 2011
|
2010-10-26 00:09:58 +00:00
|
|
|
.\" NOTE: This file is generated, DO NOT EDIT.
|
|
|
|
.de Vb
|
|
|
|
.ft CW
|
|
|
|
.nf
|
|
|
|
..
|
|
|
|
.de Ve
|
|
|
|
.ft R
|
|
|
|
|
|
|
|
.fi
|
|
|
|
..
|
2011-08-04 21:30:37 +00:00
|
|
|
.TH "FCC" "1" "04 August 2011" "C++ Development Tools " "C++ Development Tools "
|
2010-10-26 00:09:58 +00:00
|
|
|
.SH NAME
|
|
|
|
|
|
|
|
.PP
|
|
|
|
fcc
|
|
|
|
is a tool to rapidly generate the basic framework of C++
|
|
|
|
class and components. fcc
|
|
|
|
can generate inline files, testing
|
|
|
|
components, and basic copyright notices.
|
|
|
|
.PP
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
|
|
|
.PP
|
|
|
|
fcc
|
|
|
|
\fB\-class \fP\fIlist of class names\fP
|
|
|
|
\fB\-author \fP\fIauthor\&'s name\fP
|
|
|
|
[\fB\-namespace \fP\fInamespace_name\fP]
|
|
|
|
[\fB\-overwrite\fP]
|
|
|
|
[\fB\-verbose\fP]
|
|
|
|
[\fB\-no_unit_test\fP]
|
|
|
|
[\fB\-no_makefile\fP]
|
|
|
|
[\fB\-project \fP\fIproject_name\fP]
|
|
|
|
[\fB\-sccs_keywords\fP]
|
|
|
|
[\fB\-continuus_keywords\fP]
|
|
|
|
[\fB\-open_source_notice\fP]
|
|
|
|
[\fB\-copyright \fP[\fIcopyright\fP]]
|
|
|
|
[\fB\-base_filename \fP\fIbase_filename\fP]
|
|
|
|
[\fB\-no_copy_ctor\fP]
|
|
|
|
[\fB\-no_assignment_operator\fP]
|
|
|
|
[\fB\-no_ctor\fP]
|
|
|
|
[\fB\-no_dtor\fP]
|
|
|
|
[\fB\-public_copy_ctor\fP]
|
|
|
|
[\fB\-public_assignment_operator\fP]
|
|
|
|
[\fB\-no_dump_diagnostics\fP]
|
|
|
|
[\fB\-no_check_valid\fP]
|
|
|
|
[\fB\-no_icc\fP]
|
|
|
|
[\fB\-settings_file \fP\fIfilename\fP]
|
|
|
|
.PP
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
fcc
|
|
|
|
takes the name of one or more classes and generates the
|
|
|
|
appropriate code and header files for those classes. By default, it
|
|
|
|
includes a constructor, destructor, private copy constructor, private
|
|
|
|
assignment operator, unit testing, and appropriate inlines. It also
|
|
|
|
generates a raw BSD\-style makefile.
|
|
|
|
.PP
|
|
|
|
.SH OPTIONS
|
|
|
|
|
|
|
|
.TP
|
|
|
|
\fB\-class \fP\fIlist of class names\fP
|
|
|
|
Names of classes to be
|
|
|
|
generated. The files will be named after the first class name on the
|
|
|
|
list. Class names must be separated by whitespace.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-author \fP\fIauthor\&'s name\fP
|
|
|
|
Your name here.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-namespace \fP\fInamespace name\fP
|
|
|
|
Wrap the output in a
|
|
|
|
specified namespace.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-verbose\fP
|
|
|
|
Explain in excruciating detail what the program
|
|
|
|
is doing.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_unit_test\fP
|
|
|
|
Do not generate unit\-testing definitions in
|
|
|
|
the source files. This is an empty method; it\&'s up to the user to
|
|
|
|
define appropriate tests.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_makefile\fP
|
|
|
|
Do not generate a makefile for this code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-project \fP\fIproject_name\fP
|
|
|
|
Define a project for this makefile. Right now
|
|
|
|
this option does nothing.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-sccs_keywords\fP
|
|
|
|
Generate IDs appropriate to SCCS.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-continuus_keywords\fP
|
|
|
|
Generate keywords for the Continuus
|
|
|
|
Version System.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-open_source_notice\fP
|
|
|
|
Add some comments about how this code
|
|
|
|
is open source and permission to copy in granted yadda yadda...
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-copyright \fP[\fIcopyright\fP]
|
|
|
|
Adds your copyright notice to the
|
|
|
|
code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-base_filename \fP\fIbase_filename\fP
|
|
|
|
Set the name of the
|
|
|
|
files output. Defaults to first class name listed if not set.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_copy_ctor\fP
|
|
|
|
Do not provide a copy constructor in the
|
|
|
|
output code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_assignment_operator\fP
|
|
|
|
Do not provide an assignment
|
|
|
|
operator in the output code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_ctor\fP
|
|
|
|
Do not provide a default constructor in the
|
|
|
|
output code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_dtor\fP
|
|
|
|
Do not provide a destructor in the output code.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-public_copy_ctor\fP
|
|
|
|
Put the copy constructor in the public
|
|
|
|
section instead of the private section.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-public_assignment_operator\fP
|
|
|
|
Put the assignment operator in
|
|
|
|
the public section instead of the private section.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_dump_diagnostics\fP
|
|
|
|
Do not provide a debugging method.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_check_valid\fP
|
|
|
|
Do not provide a Programming By Contract
|
|
|
|
style method to check for invariants.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-no_icc\fP
|
|
|
|
Do not provide a file for class inlines.
|
|
|
|
.PP
|
|
|
|
.TP
|
|
|
|
\fB\-settings_file \fP\fIfilename\fP
|
|
|
|
Get options from a settings
|
|
|
|
file. Right now this option does nothing.
|
|
|
|
.PP
|
|
|
|
.SH REQUIREMENTS
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
Python
|
|
|
|
fcc
|
|
|
|
requires Python version >= 2.0
|
|
|
|
.RE
|
|
|
|
.RS
|
|
|
|
.PP
|
|
|
|
.SH VERSION
|
|
|
|
|
|
|
|
Version: 0.8a of May 5, 2001
|
|
|
|
.PP
|
|
|
|
.SH LICENSE AND COPYRIGHT
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
Copyright
|
|
|
|
(C)2001, Elf M. Sternberg
|
2011-08-04 21:30:37 +00:00
|
|
|
.br
|
|
|
|
\fBelf.sternberg@gmail.com\fP
|
|
|
|
.br
|
|
|
|
\fBhttp://elfsternberg.com\fP
|
2010-10-26 00:09:58 +00:00
|
|
|
.RS
|
|
|
|
.PP
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
License
|
|
|
|
This program can be redistributed and/or modified under the
|
|
|
|
terms of the GNU Public License. See the file COPYING or visit
|
|
|
|
\fBhttp://www.gnu.org/copyleft/gpl.html\fP
|
|
|
|
for terms of use and
|
|
|
|
distribution.
|
|
|
|
.RS
|
|
|
|
.PP
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
Misc
|
|
|
|
If you find this software useful, please drop me some email
|
|
|
|
.RS
|
|
|
|
.PP
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
Misc
|
|
|
|
This man page was generated using latex2man by Dr. Jurgen
|
|
|
|
Vollmer, and is available from the CTAN archives.
|
|
|
|
.RE
|
|
|
|
.RS
|
|
|
|
.PP
|
|
|
|
.SH AUTHOR
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Elf M. Sternberg
|
2011-08-04 21:30:37 +00:00
|
|
|
.br
|
|
|
|
Email: \fBelf.sternberg@gmail.com\fP
|
|
|
|
.br
|
|
|
|
WWW: \fBhttp://elfsternberg.com\fP\&.
|
2010-10-26 00:09:58 +00:00
|
|
|
.\" NOTE: This file is generated, DO NOT EDIT.
|