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

A single node in the portfolio/book tree. More...

#include <PortfolioExplorerTreeModel.hpp>

Collaboration diagram for PortfolioTreeNode:
Collaboration graph

Public Types

enum class  Kind { Party , Portfolio , Book }
 

Public Attributes

Kind kind
 
QString party_name
 
refdata::domain::portfolio portfolio
 
refdata::domain::book book
 
PortfolioTreeNodeparent = nullptr
 
std::vector< std::unique_ptr< PortfolioTreeNode > > children
 
int row_in_parent = 0
 

Detailed Description

A single node in the portfolio/book tree.

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