#include <log.hh>
Inheritance diagram for Qmms::Log::ProvisionNode::
Public Methods | |
~ProvisionNode () | |
Destructor does nothing. More... | |
void | addElement (const Category *cat) |
Adds a Category to the catList of categories provisionally held as children by this ProvisionNode. More... | |
Category * | elementAt (const uint index) |
Accesssor method into catList. More... | |
int | getSize () const |
Accessor method. More... | |
bool | isCategory () |
Allows querying of the Hierarchy to determine what is a Category and what is not. More... | |
Public Attributes | |
QPtrList< Category > | catList |
Pointer-based doubly-linked list of categories that are the "children" of this PN and that become the children of the Category that this PN will turn into, if so requested. More... | |
Private Methods | |
ProvisionNode () | |
Default constructor is private and does nothing. More... | |
ProvisionNode (const QString name, const Category *cat) | |
Constructor. More... | |
Friends | |
class | Hierarchy |
Hierarchy is a friend because it must have access to private methods and members. More... |
In the case that a Category is created before its ancestor, a ProvisionNode is created that takes the place of the ancestor in the hierarchy.
|
Default constructor is private and does nothing.
|
|
Constructor. Makes a PN and places the given Category in its list of descendants.
|
|
Destructor does nothing.
|
|
Adds a Category to the catList of categories provisionally held as children by this ProvisionNode.
|
|
Accesssor method into catList.
|
|
Accessor method.
|
|
Allows querying of the Hierarchy to determine what is a Category and what is not.
Reimplemented from Qmms::Log::BaseCategory. |
|
Hierarchy is a friend because it must have access to private methods and members.
|
|
Pointer-based doubly-linked list of categories that are the "children" of this PN and that become the children of the Category that this PN will turn into, if so requested.
|