ROSE  0.11.28.0
Public Member Functions | Public Attributes | List of all members
Sawyer::Tree::ConsistencyException Class Reference

Description

Exception if tree consistency would be violated.

If the user attempts to modify the connectivity of a tree in a way that would cause it to become inconsistent, then this exception is thrown. Examples of inconsistency are:

Definition at line 154 of file Tree.h.

#include <Tree.h>

Inheritance diagram for Sawyer::Tree::ConsistencyException:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Tree::ConsistencyException:
Collaboration graph
[legend]

Public Member Functions

 ConsistencyException (const NodePtr &child, const std::string &mesg="attempt to attach child that already has a different parent")
 
- Public Member Functions inherited from Sawyer::Tree::Exception
 Exception (const std::string &mesg)
 

Public Attributes

NodePtr child
 Child node that was being modified. More...
 

Member Data Documentation

NodePtr Sawyer::Tree::ConsistencyException::child

Child node that was being modified.

Definition at line 156 of file Tree.h.


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