HeaderDoc::Dependency
IntroductionRepresents an inter-header dependency. DiscussionInstances of this class describe dependencies between headers.A The actual dependency ordering process is described in the
documentation for the Member Functions
_initializeInitializes an instance of a sub _initialize ParametersaddchildAdds a dependency. sub addchild ParameterscloneDuplicates this sub clone ParametersdbprintPrints the object for debugging purposes. sub dbprint depnameGets/sets the short name for this header/dependency. sub depname ParametersDiscussionThe findnameReturns the dependency object for a given header filename. sub findname ParametersnameGets/sets the name for this header/dependency. sub name ParametersDiscussionThe newCreates a new sub new ParametersreparentReparents a depdency under another one. sub reparent DiscussionCurrently unused. Member Data
CHILDRENAn array of references to other dependency nodes for the headers that this header includes. $self->{CHILDREN}
DEPNAMEThe name of the header with leading path parts stripped off. $self->{DEPNAME}
DEPTHThe depth for the deepest place that this header appears within the dependency tree. Used in a depth-first traversal of the tree. $self->{DEPTH}
EXISTSSet to 1 if this header was one of the headers listed on the command line. $self->{EXISTS}
HeaderDoc::Dependency::VERSIONThe revision control revision number for this module. $HeaderDoc::Dependency::VERSION = '$Revision: 1298084578 $'; DiscussionIn the git repository, contains the number of seconds since January 1, 1970. MARKEDUsed by upper layers. $self->{MARKED}
NAMEThe name of the header. $self->{NAME}
PARENTThe parent for this dependency (the header that has a #include directive for this one). $self->{PARENT}
PRINTEDUsed to flag nodes already traversed. This prevents the possibility of loops in the graph from causing incorrect behavior (a hang). $self->{PRINTED}
|