08 Dec 2021 12:43:55 UTC
- Distribution: OODoc
- Module version: 2.02
- Source (raw)
- Pod Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (0)
- Testers (67 / 0 / 0)
- KwaliteeBus factor: 1
- 17.50% Coverage
- License: perl_5
- Activity24 month
- Download (106.4KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userMARKOV Mark Overmeerand 1 contributors
- Mark Overmeer
- SEE ALSO
OODoc::Object - base class for all OODoc classes.
OODoc::Object is extended by OODoc OODoc::Format OODoc::Manifest OODoc::Manual OODoc::Parser OODoc::Text
# Never instantiated directly.
Any object used in the OODoc module is derived from this OODoc::Object class. This means that all functionality in this class is provided for all of the other classes.
Create a new object (instantiation). All objects in OODoc are created the same way: they carry a list of key-value pairs as option. For examples, see the description of this method in the manual page of the specific object.
The validity of the options for
newis checked, in contrary to the options when used with many other method defined by OODoc.
- $obj->extends( [$object] )
Close to all elements used within OODoc can have an inheritance relation. The returned object is extended by the current object. Multiple inheritance is not supported here.
print $self->filenameToPackage('Mail/Box.pm'); # prints Mail::Box
Creates this $directory and all its non-existing parents.
All manuals can be reached everywhere in the program: it is a global collection.
The $manual will be added to the list of known manuals. The same package name can appear in more than one manual. This OBJECT shall be of type OODoc::Manual.
Returns the manual of the named package which contains the primar documentation for the code of the package $name.
Returns the manual with the specified name, or else
All manuals are returned.
Returns a list package objects which are related to the specified $name. One $name can appear in more than one file, and therefore a list is returned.
Returns the names of all defined packages.
- Warning: Unknown option $name
You have used the option with $name, which is not defined with the instantiation (the
newmethod) of this object.
- Warning: Unknown options @names
You have used more than one option which is not defined to instantiate the object.
- Error: manual definition requires manual object
This module is part of OODoc distribution version 2.02, built on December 08, 2021. Website: http://perl.overmeer.net/oodoc/
Copyrights 2003-2021 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the Artistic license. See http://dev.perl.org/licenses/artistic.html