Public Member Functions | Private Attributes

OA::Tree::SecondParent Class Reference

#include <Tree.hpp>

Inheritance diagram for OA::Tree::SecondParent:
Inheritance graph
[legend]
Collaboration diagram for OA::Tree::SecondParent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SecondParent (OA_ptr< Tree::Edge > e)
 ~SecondParent ()
void report (std::ostream &o) const

Private Attributes

OA_ptr< Tree::Edgeoffending_edge

Detailed Description

SecondParent exception is thrown if the sink (child) of the edge being added is already present in the tree, meaning that it already has a parent.

Definition at line 132 of file Tree.hpp.


Constructor & Destructor Documentation

OA::Tree::SecondParent::SecondParent ( OA_ptr< Tree::Edge e  )  [inline]

Definition at line 134 of file Tree.hpp.

References offending_edge.

OA::Tree::SecondParent::~SecondParent (  )  [inline]

Definition at line 135 of file Tree.hpp.


Member Function Documentation

void OA::Tree::SecondParent::report ( std::ostream &  o  )  const [inline, virtual]

Implements OA::Exception.

Definition at line 136 of file Tree.hpp.


Member Data Documentation

Definition at line 138 of file Tree.hpp.

Referenced by SecondParent().


The documentation for this class was generated from the following file: