publik(1C++)


publik -- find and print the public parts of class/template definitions

Synopsis

   publik [ -clmp ] [ cpp options] file...

Description

publik prints the public portions of all class/template definitions contained, directly or indirectly, in the list of input files. If a class/template contains nested classes/templates, then only the "upwardly public" portions of nested classes/templates are printed.

Options modify the behavior of publik as follows:

-c Do not print comments. (Normally both the C-style and C++-style comments in the public portions of classes/templates are printed.)

-l Print C preprocessor-style line directives showing the location of each class/template definition.

-m Print the bodies of any member functions defined in their respective classes/templates. (Normally omitted.)

-p Print the "public:" keyword in the appropriate places. (Normally omitted, since everything printed is public.)

Warnings

The class/template definitions output by publik are not equivalent to their actual definitions, so do not use them in C++ source code.

Bugs

publik is spelled with a `k' in order to evade a problem with man(1) on some machines.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004