XJ music engine  1.9.6
In-game runtime engine for XJ music.
Public Member Functions | List of all members
XJ::Craft::ChoiceIndexProvider Class Reference

#include <Craft.h>

Inheritance diagram for XJ::Craft::ChoiceIndexProvider:
XJ::Craft::LambdaChoiceIndexProvider

Public Member Functions

virtual ~ChoiceIndexProvider ()=default
 
virtual std::string get (const SegmentChoice *choice)
 

Detailed Description

Class to get a comparable string index based on any given choice, e.g. it's voice name or instrument type

Constructor & Destructor Documentation

◆ ~ChoiceIndexProvider()

virtual XJ::Craft::ChoiceIndexProvider::~ChoiceIndexProvider ( )
virtualdefault

Member Function Documentation

◆ get()

std::string Craft::ChoiceIndexProvider::get ( const SegmentChoice choice)
virtual

This is the default implementation of the ChoiceIndexProvider interface. It should be replaced by a custom Lambda implementation when used

Reimplemented in XJ::Craft::LambdaChoiceIndexProvider.


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