ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
OrgTreeNode Struct Reference

A single node in the organisational hierarchy tree. More...

#include <OrgExplorerTreeModel.hpp>

Collaboration diagram for OrgTreeNode:
Collaboration graph

Public Types

enum class  Kind { Party , BusinessUnit , Book }
 

Public Attributes

Kind kind
 
QString party_name
 
refdata::domain::business_unit unit
 
refdata::domain::book book
 
OrgTreeNodeparent = nullptr
 
std::vector< std::unique_ptr< OrgTreeNode > > children
 
int row_in_parent = 0
 

Detailed Description

A single node in the organisational hierarchy tree.

Nodes are owned by the model. Raw pointers are stored in QModelIndex::internalPointer().

The tree represents: Party → BusinessUnit (recursive) → Book