-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCrew.h
43 lines (37 loc) · 1.05 KB
/
Crew.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef CREW_H
#define CREW_H
#include <string>
/**
* @class Crew
* @brief A class to represent the Crew stored on the CrewDragon Capsule
*/
class Crew
{
private:
/** * @brief a string variable to store the Crew members name. */
std::string name;
/** * @brief a string variable to store the Crew members specialisation. */
std::string specialisation;
public:
/**
* @brief constructor for a Crew member object
* @param name
* set the name of the Crew member to the parameter
* @param specialisation
* set the specialistion of the Crew member to the parameter
*/
Crew(std::string name, std::string specialisation);
/** * @brief Destroy the Crew member object. */
~Crew();
/**
* @brief getter for the name variable of the Crew member.
* @return string
*/
std::string getName();
/**
* @brief getter for the specialisation variable of the Crew member.
* @return string
*/
std::string getSpecialisation();
};
#endif