File 'lib/distribution.cls' (part of 'AutoDOC')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'distribution'
- -itk-opt-alias
- The name of a custom command found in the code to scan and equivalent to itk_options.
- -css
- Boolean option to control support for cascading style sheets (CSS). Support is enabled by default.
default value: 1
- -clisttype
- Either one of comma or par. Defines the appearance of the lists used in classes to reference superclasses, options, methods and member variables.
default value: par
- -fsort-fullpath
- Boolean option. If set the listing of files in their index is sorted by their full path. Else the first letter of the real filename (directories stripped).
default value: 1
- -file-prefix
- In effect only if <o fsort-fullpath> is set. Defines a prefix to remove from the path before taking the first letter.
- -class-prefix
- Defines a prefix to remove from the namespace of a class before taking the first letter.
- -proc-prefix
- Defines a prefix to remove from the namespace of a procedure before taking the first letter.
- -namespace-prefix
- Defines a prefix to remove from the namespace of a namespace before taking the first letter.
- -no-problems
- Boolean option. If set the system will not write the accumulated problem reports / pages. It will still write that there are problems and how many, if any. Default is 0 == no supression.
default value: 0
- -srcdir
- Path to directory containing the tcl #sources to document.
- -outputdir
- Path to directory to store the generated files into.
- -replyaddr
- Address of person to reply to in case of problems with the documented distribution.
- -tables
- Boolean flag. If set the root page is written with tables.
default value: 0
- -psort
- Boolean flag. If set procedure documentation is sorted alphabetically.
default value: 1
- -ptable
- Boolean flag. If set procedure documentation is written as table.
default value: 0
- -adlocation
- Location of the documentation of AutoDOC. Required for generation of backreferences for any generated page.
default value: http://www.oche.de/~akupries/soft/autodoc/index.htm
- -up-title
- The string to use in the uplink to the site containing the generated documentation.
- -up-link
- The url to use as target in the uplink to the site containing the generated documentation. Ignored if neither <o up-title> nor <o up-image> is set.
- -up-image
- The symbolic name of the image to use in the uplink to the site containing the generated documentation, as defined with a call imgDef.
- -up-imglink
- A boolean flag. Determines wether the image is made a part of the generated uplink or not. Ignored if no text was given, the image has to be the link in such a case.
default value: 0
- -exclude
- A list of glob patterns. All files with names matching at least one of the patterns will be excluded from the scan and documentation processing. This option takes effect while the system is searching for files to document and while searching for additional .doc and .predoc files.
CompleteDependencies (internalPkgs)
|
|
Argument: internalPkgs
|
List containing the names of all packages defined by the scanned distribution.
|
CurrentClass ()
|
Returns: the handle of the class currently writing its documentation. Different from theContext as the current object can be one of its methods.
|
Excluded (filename)
|
|
Argument: filename
|
The name of the file to check for exclusion.
|
Returns: a boolean value. True signals that the file has to be excluded.
|
GenerateImage (converter in out)
|
|
Argument: converter
|
Handle of the converter to use.
|
Argument: in
|
The name of the #source image file
|
Argument: out
|
Name of the target file.
|
Returns: out, extended by the path of the output directory.
|
HandleFiles ()
|
|
Notes: Is done only if no packages were found.
|
InitPatterns ()
|
|
Dangers: Order is important here! Longer matching patterns must be applied before shorter ones as they may consume the same input, but with an improperly split into constituents. To achieve this the internal pattern identifiers are sorted before processing them (crResolve), so we have just to ensure that longer patterns get identifiers alphabetically sorted before the shorter patterns.
|
PrepareCRefIp (ipName)
|
|
Argument: ipName
|
The name of the interpreter to prepare.
|
PrepareDocIp (ipName)
|
|
Argument: ipName
|
The name of the interpreter to prepare.
|
ReadDescription ()
|
|
Notes: Assumes to be in the module directory
|
ReportNumber (n singular plural)
|
|
Argument: n
|
The number of found items.
|
Argument: singular
|
The singular form of the found entities.
|
Argument: plural
|
The plural form of the found entities.
|
SearchForFiles ()
|
|
Notes: Is done only if no packages were found.
|
SearchPackages ()
|
|
Notes: Assumes to be in the module directory.
|
SidebarLink (p)
|
Argument: p
|
The code of the page whose link shall be retrieved.
|
Returns: a hyperlink pointing to the specified additional documentation page p.
|
StatText (statvar idx)
|
|
Argument: statvar
|
The name of the variable containing the statistics.
|
Argument: idx
|
The name of the index whose information is requested.
|
Returns: a string containing the number of entities found, and the number of problematic ones.
|
TrackAd (o oldValue)
|
|
Argument: o
|
The name of the changed option, here always -adlocation.
|
Argument: oldValue
|
The value of the option before the change. Ignored here.
|
TrackOut (o oldValue)
|
|
Argument: o
|
The name of the changed option, here always -outputdir.
|
Argument: oldValue
|
The value of the option before the change. Ignored here.
|
TrackReply (o oldValue)
|
|
Argument: o
|
The name of the changed option, here always -replyaddr.
|
Argument: oldValue
|
The value of the option before the change. Ignored here.
|
WriteSidebar (inTable)
|
|
Argument: inTable
|
flag, 1 if code shall be placed in a table, 0 else.
|
XrOld (what args)
|
|
Argument: what
|
Type of reference
|
Argument: args
|
The name of the referenced entity.
|
Xra (name)
|
|
Argument: name
|
The name of the referenced argument.
|
Returns: the name, but specially formatted.
|
Xrc (partref class name)
|
|
Argument: partref
|
The method to call at the class index.
|
Argument: class
|
The name of the class to search the part in.
|
Argument: name
|
The name of the referenced part.
|
Returns: a hyperlink to the definition of the entity.
|
Xrcs (partref name)
|
|
Argument: partref
|
The method to call at the class index.
|
Argument: name
|
The name of the referenced part.
|
Returns: a hyperlink to the definition of the entity.
|
Xri (idx name)
|
|
Argument: idx
|
The name of the index to question.
|
Argument: name
|
The name of the referenced entity.
|
Returns: a hyperlink to the definition of the entity.
|
add2Sidebar (aPage text)
|
|
Argument: aPage
|
Name of the page to add, generated earlier by genericFormatter:newPage
|
Argument: text (= {})
|
Text to use in the hyperlink. Defaults to the basename of aPage, without extension.
|
crResolve (text)
|
|
Argument: text
|
The text to reformat.
|
Returns: The text, but crossreferences resolved into hyperlinks.
|
depDef (name url)
|
|
Argument: name
|
The name of the package
|
Argument: url
|
Page to refer to for information about the package.
|
depRef (name)
|
|
Argument: name
|
Name of package to link to.
|
Returns: a string containing a hyperlink to name, if possible.
|
docfile (path)
|
|
Argument: path
|
The path of the required file, relative to the #source directory of the distribution.
|
getIndex (idxName)
|
Argument: idxName
|
The internal name of the requested index.
|
Returns: the object managing the specified index.
|
imgConverter (code script)
|
|
Argument: code
|
The internal code used to refer to the new converter.
|
Argument: script
|
The script to evaluate for transfer and conversion.
|
imgDef (code text converter ext basefile)
|
|
Argument: code
|
Internal symbolic name of the new picture.
|
Argument: text
|
Alternative text describing the contents of the picture.
|
Argument: converter
|
Handle of the converter to use.
|
Argument: ext
|
Extension to give to the target file.
|
Argument: basefile
|
Source of the picture.
|
imgRef (code)
|
|
Argument: code
|
Internal symbolic name of the requested image
|
log (level text)
|
|
Argument: level
|
The importance level of the message.
|
Argument: text
|
Text to log.
|
nsContaining (name)
|
|
Argument: name
|
The name of the object whose containing namespace the caller is looking for.
|
page ()
|
Overrides problems:page
|
Notes: The codes assumes that no more than one such page exists.
|
Returns: The filename of the distribution page.
|
pushContext (object)
|
|
Argument: object
|
The handle of the object now writing its documentation.
|
theContext ()
|
Returns: the handle of the object currently writing its output. If there is no such this one is given to the caller.
|
writeJumpbar (caller)
|
|
Argument: caller (= {})
|
contains the name of a calling special page (home, indices) or else an empty list. Used to deactivate the corresponding entry in the jumpbar.
|
xRef (code)
|
|
Argument: code
|
Internal symbolic name of external reference.
|
xrefDef (code text url)
|
|
Argument: code
|
The internal symbolic name to reach this hyperlink
|
Argument: text
|
Text to use in the link.
|
Argument: url
|
Page refered by the link.
|
~distribution ()
|
|
Notes: There is no need to delete the subordinate objects explicitly. They are nested into this namespace and therefore automatically removed. It would still be necessary if they were using outside re#sources, like channels, but they don't.
|
- hasPackages
- Boolean flag. Set if some packages were found
initial value: 0
- hasFiles
- Boolean flag. Set if some files were found.
initial value: 0
- docFileList
- List of files with extension '.doc'.
- inDocFile
- Boolean flag. Set during evaluation of '.doc'-files.
initial value: 0
- moreFiles
- List of files marked as required by '.doc'-files.
- morePages
- List of additional files generated by the '.doc'-files.
- log
- Handle of the syslogConnection object used for logging.
- attributeValue
- Maps from the attribute names used in DESCRIPTION files to their respective values.
- attributeName
- Maps from the attribute names used in DESCRIPTION files to the texts used in the generated documentation.
initial value:
version Version
copying-policy {Copying policy}
date Date
name Name
comments Comments
description Description
development-platform {Development platform}
platforms Platforms
dependencies Dependencies
primary-urls {Primary urls}
secondary-urls {Secondary urls}
tertiary-urls {Tertiary urls}
- attrs
- List of attributes defined by the distribution description file.
- index
- Maps from a logical index name to the object managing it.
- sidebarText
- Used by add2Sidebar to record the texts for the hyperlinks pointing to the additional pages.
- jumpbar
- A cache holding the formatted jumpbar texts for the various callers of writeJumpbar.
- imgC
- Table of scripts for the conversion of an image file into the format required by the browser. The following special strings are recognized by the system: %in%, %tmp% and %out%. See <x ...> for their meaning.
- imgS
- State of images (requested or not)
- context
- The stack of objects currently writing their documentation.
- classContext
- The class currently writing its documentation.
- xrefPat
- Contains all patterns used to detect crossreferences and the code to replace any found instance of the pattern.
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/28/2001, invoked by Andreas Kupries,,,