HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UNI_Graph::ChangeBlock Class Reference

#include <UNI_Graph.h>

Public Member Functions

 ChangeBlock (UNI_Graph &graph, UNI_GraphChangeType change_type)
 
 ~ChangeBlock ()
 
void resetGraph ()
 Clear the graph; used only when the graph has been deleted. More...
 
UNI_Graphgraph () const
 Returns the graph that changed. More...
 
UNI_GraphChangeType changeType () const
 Returns the types of changes that occurred in the graph. More...
 
void addChangeType (UNI_GraphChangeType change_type)
 Reports a change that occurred in the graph. More...
 

Detailed Description

Utility class for invoking a graph's change callbacks. See the comment about ChangeCallback function.

Definition at line 443 of file UNI_Graph.h.

Constructor & Destructor Documentation

UNI_Graph::ChangeBlock::ChangeBlock ( UNI_Graph graph,
UNI_GraphChangeType  change_type 
)
explicit
UNI_Graph::ChangeBlock::~ChangeBlock ( )

Member Function Documentation

void UNI_Graph::ChangeBlock::addChangeType ( UNI_GraphChangeType  change_type)
inline

Reports a change that occurred in the graph.

Definition at line 464 of file UNI_Graph.h.

UNI_GraphChangeType UNI_Graph::ChangeBlock::changeType ( ) const
inline

Returns the types of changes that occurred in the graph.

Definition at line 460 of file UNI_Graph.h.

UNI_Graph* UNI_Graph::ChangeBlock::graph ( ) const
inline

Returns the graph that changed.

Definition at line 456 of file UNI_Graph.h.

void UNI_Graph::ChangeBlock::resetGraph ( )
inline

Clear the graph; used only when the graph has been deleted.

Definition at line 452 of file UNI_Graph.h.


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