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

#include <SegmentChoice.h>

Inheritance diagram for XJ::SegmentChoice:
XJ::SegmentEntity

Public Member Functions

 SegmentChoice ()=default
 
bool equals (const SegmentChoice &segmentChoice) const
 
unsigned long long hashCode () const
 
bool operator== (const SegmentChoice &other) const
 
bool operator!= (const SegmentChoice &other) const
 
bool operator< (const SegmentChoice &other) const
 
bool operator<= (const SegmentChoice &other) const
 
bool operator> (const SegmentChoice &other) const
 
bool operator>= (const SegmentChoice &other) const
 
- Public Member Functions inherited from XJ::SegmentEntity
 SegmentEntity ()=default
 

Public Attributes

float position {}
 
std::string name
 
UUID programId
 
UUID programSequenceId
 
UUID programSequenceBindingId
 
UUID programVoiceId
 
UUID instrumentId
 
int deltaIn {DELTA_UNLIMITED}
 
int deltaOut {DELTA_UNLIMITED}
 
bool mute {}
 
Instrument::Type instrumentType {}
 
Instrument::Mode instrumentMode {}
 
Program::Type programType {}
 
- Public Attributes inherited from XJ::SegmentEntity
UUID id
 
int segmentId {}
 

Static Public Attributes

static constexpr int DELTA_UNLIMITED = -1
 

Constructor & Destructor Documentation

◆ SegmentChoice()

XJ::SegmentChoice::SegmentChoice ( )
default

Member Function Documentation

◆ equals()

bool SegmentChoice::equals ( const SegmentChoice segmentChoice) const

Assert equality with another Segment Choice

Parameters
segmentChoiceThe Segment Choice to compare
Returns
true if equal

◆ hashCode()

unsigned long long SegmentChoice::hashCode ( ) const

Determine a unique hash code for the Segment Choice

Returns
hash code

◆ operator!=()

bool SegmentChoice::operator!= ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode inequality

◆ operator<()

bool SegmentChoice::operator< ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode for sorting in ascending order

◆ operator<=()

bool SegmentChoice::operator<= ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode for sorting in ascending order

◆ operator==()

bool SegmentChoice::operator== ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode equality

◆ operator>()

bool SegmentChoice::operator> ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode for sorting in descending order

◆ operator>=()

bool SegmentChoice::operator>= ( const SegmentChoice other) const

Operator to compare Segment Choices by type/mode for sorting in descending order

Member Data Documentation

◆ DELTA_UNLIMITED

constexpr int XJ::SegmentChoice::DELTA_UNLIMITED = -1
staticconstexpr

◆ deltaIn

int XJ::SegmentChoice::deltaIn {DELTA_UNLIMITED}

◆ deltaOut

int XJ::SegmentChoice::deltaOut {DELTA_UNLIMITED}

◆ instrumentId

UUID XJ::SegmentChoice::instrumentId

◆ instrumentMode

Instrument::Mode XJ::SegmentChoice::instrumentMode {}

◆ instrumentType

Instrument::Type XJ::SegmentChoice::instrumentType {}

◆ mute

bool XJ::SegmentChoice::mute {}

◆ name

std::string XJ::SegmentChoice::name

◆ position

float XJ::SegmentChoice::position {}

◆ programId

UUID XJ::SegmentChoice::programId

◆ programSequenceBindingId

UUID XJ::SegmentChoice::programSequenceBindingId

◆ programSequenceId

UUID XJ::SegmentChoice::programSequenceId

◆ programType

Program::Type XJ::SegmentChoice::programType {}

◆ programVoiceId

UUID XJ::SegmentChoice::programVoiceId

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