Generate an accompaniement for a given melody
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CompleteNoteName Struct Reference

Fully describes a note (name + accidental) More...

#include <Music.hpp>

Inheritance diagram for CompleteNoteName:
Pitch Note

Public Member Functions

 CompleteNoteName (NoteName n=NoteName::C, Accidental mod=Accidental::None)
 Constructor for CompleteNoteName. More...
 
bool operator== (const CompleteNoteName &o) const __attribute__((pure))
 Comparison operator for CompleteNoteName. More...
 
bool operator!= (const CompleteNoteName &o) const __attribute__((pure))
 Difference operator for CompleteNoteName. More...
 

Public Attributes

NoteName m_name
 Name of the note (C,D,...)
 
Accidental m_modifier
 Accidental of the note (sharp, flat,none)
 

Detailed Description

Fully describes a note (name + accidental)

Constructor & Destructor Documentation

CompleteNoteName::CompleteNoteName ( NoteName  n = NoteName::C,
Accidental  mod = Accidental::None 
)

Constructor for CompleteNoteName.

Parameters
nName of the note (C,D,...)
modAccidental of the note (sharp, flat,none)
Note
done

Member Function Documentation

bool CompleteNoteName::operator!= ( const CompleteNoteName o) const

Difference operator for CompleteNoteName.

Note
done
bool CompleteNoteName::operator== ( const CompleteNoteName o) const

Comparison operator for CompleteNoteName.

Parameters
kis the key in which we transpose the chord progression
Note
done

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