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

#include <SegmentChord.h>

Inheritance diagram for XJ::SegmentChord:
XJ::SegmentEntity

Public Member Functions

 SegmentChord ()=default
 
bool equals (const SegmentChord &segmentChord) const
 
unsigned long long hashCode () const
 
- Public Member Functions inherited from XJ::SegmentEntity
 SegmentEntity ()=default
 

Static Public Member Functions

static std::set< std::string > getNames (const std::set< const SegmentChord * > &segmentChords)
 

Public Attributes

float position {}
 
std::string name
 
- Public Attributes inherited from XJ::SegmentEntity
UUID id
 
int segmentId {}
 

Constructor & Destructor Documentation

◆ SegmentChord()

XJ::SegmentChord::SegmentChord ( )
default

Member Function Documentation

◆ equals()

bool SegmentChord::equals ( const SegmentChord segmentChord) const

Assert equality with another Segment Chord

Parameters
segmentChordThe Segment Chord to compare
Returns
true if equal

◆ getNames()

std::set< std::string > SegmentChord::getNames ( const std::set< const SegmentChord * > &  segmentChords)
static

Get the names of a set of Segment Chords

Parameters
segmentChordsThe set of Segment Chords
Returns
The names

◆ hashCode()

unsigned long long SegmentChord::hashCode ( ) const

Determine a unique hash code for the Segment Chord

Returns
hash code

Member Data Documentation

◆ name

std::string XJ::SegmentChord::name

◆ position

float XJ::SegmentChord::position {}

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