MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::ObjectPool< ObjectBaseType >::ObjectKey Struct Reference

key type for storing in pool More...

#include <ObjectPool.h>

Public Member Functions

 ObjectKey (const std::string n, Cmper p, std::optional< Cmper > c1=std::nullopt, std::optional< Cmper > c2=std::nullopt, std::optional< Inci > i=std::nullopt)
 explicit constructor for optional parameters
 
bool operator< (const ObjectKey &other) const
 comparison operator for std::map
 

Public Attributes

std::string nodeId
 the identifier for this node. usually the XML node name.
 
Cmper partId
 the part this item is associated with (or 0 for score).
 
std::optional< Cmpercmper1
 optional cmper1 for Others, Texts, Details.
 
std::optional< Cmpercmper2
 optional cmper2 for Details.
 
std::optional< Inciinci
 optional inci for multi-inci classes
 

Detailed Description

template<typename ObjectBaseType>
struct musx::dom::ObjectPool< ObjectBaseType >::ObjectKey

key type for storing in pool