umbrello: PetalNode::StringOrNode Struct Reference

umbrello 25.04.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

Public Member Functions | Public Attributes | List of all members
PetalNode::StringOrNode Struct Reference

`#include <petalnode.h>`

## Public Member Functions
| StringOrNode ()
virtual | ~StringOrNode ()
bool | isEmpty () const

## Public Attributes
QString | string
PetalNode * | node

## Detailed Description

Use `string' if it is not empty. Use `node' if it is not nullptr. Either `string' is set, or `node', but never both. (Perhaps this should be a union but that is ugly.)

## Constructor & Destructor Documentation

## ◆ StringOrNode()

PetalNode::StringOrNode::StringOrNode | ( |  | ) |
| inline

## ◆ ~StringOrNode()

virtual PetalNode::StringOrNode::~StringOrNode | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ isEmpty()

bool PetalNode::StringOrNode::isEmpty | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ node

PetalNode* PetalNode::StringOrNode::node

## ◆ string

QString PetalNode::StringOrNode::string

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

- umbrello/petalnode.h