3 #include "StringedInstrument.h" 17 Guitar(
string brand=
"",
string model=
"",
double cost=0,
double retail_price=0,
int string_type =
StringedInstrument::steel,
string standard_tuning=
"E,A,D,G,B,E");
string brand
Brand Name of Product.
Definition: Instrument.h:12
Definition: StringedInstrument.h:9
double cost
Wholesale Price.
Definition: Instrument.h:14
string model
Model Name of Product.
Definition: Instrument.h:13
double retail_price
Retail Price.
Definition: Instrument.h:15
Guitar(string brand="", string model="", double cost=0, double retail_price=0, int string_type=StringedInstrument::steel, string standard_tuning="E,A,D,G,B,E")
Definition: Guitar.cpp:7
static const int steel
a constant value for the string_type member
Definition: StringedInstrument.h:19
string ToXML()
return a string represention of the entire class serialized as XML
Definition: Guitar.cpp:14
short int string_type
An integer value that represents the material type of the strings.
Definition: StringedInstrument.h:13
string standard_tuning
A string representation of the default note for each string.
Definition: StringedInstrument.h:12