/home/resume/Maxime.cc
#include <iostream>
#include <map>
#include <string>

using namespace std;

class Maxime {

	private:
		string name;
		string title;
		string address;
	
	public:
		Maxime();
		void education(int date);
		void work_experience(Date date);
		void course_projects(Date date);
		void computer_skills(string category);
		map<string, string> languages(map<string, string> language);
		void activities_and_interests(string category);		
}

Maxime::Maxime(){
	this->name = "Maxime Fradin";
	this->title = "Computer science engineering student";
	this->address = "75 rue Franck Delmas, 17000 La Rochelle, FRANCE";
}

Maxime::education(int date){
	switch (date){
		case 2013: 
			std::cout << "Fifth Year at Graduate School of Engineering 
			in Computer Science at ENSEIRB-MATMECA";
			place = "Bordeaux, FRANCE";
			url = "http://www.enseirb-matmeca.fr/en/";
			break;
		case 2011: 
			std::cout << "Obtained a Diplôme Universitaire de Technologie 
			in Computer Science – a two-year undergraduate diploma";
			place = "La Rochelle, FRANCE";
			break;
		case 2009:
			std::cout << "Baccalauréat in Information System Management, 
			equivalent to High School Diploma";
			place = "Lycée Merleau-Ponty, Rochefort, FRANCE";
			break;
}

Maxime::work_experience(Date date){
	while (date > "June 2013" and date < "August 2013"){
		description = "Development of a discrete time based simulator 
		environment for WiFi MAC layer access, using Python and the SimPy 
		simulation package. This simulator is used for research purposes 
		relating to MAC layer access strategies. Supervised by Dr Riaan 
		Wolhuter";
		place = "Stellenbosch University, SOUTH AFRICA";
	}
	while (date > "July 2012" and date < "August 2012"){
		description = "WOOFing in England for 2 months: Agricultural work 
		and practicing English.";
		place = "Dorset & Essex, UNITED KINGDOM";
	}
	while (date > "April 2011" and date < "June 2011"){
		description = "Java development of an Android application: a 
		Dashboard for “SAP Business One”. Collects and displays on 
		smartphone data such as a list of orders, customers, etc. 
		from the SAP server.";
		place = "CEREALOG, La Rochelle, FRANCE";
	}
}

Maxime::course_projects(Date date){
	while (date > "November 2013" and date < "January 2014"){
		description = "Development of a Forge, a collaboration platform 
		allowing collaborative software development on a network. 
		Project done with 8 students : linux server administration and 
		development of web application with Pyramid framework.";
	}
	while (date > "January 2013" and date < "April 2013"){
		description = "Deployment of a brainy-bot biologically plausible in a 
		survival video game (Minecraft) for digital experimentation models of 
		integrative neuroscience. Virtual Enaction project with Mnemosyne 
		team at INRIA Bordeaux.";
		url = "http://virtualenaction.gforge.inria.fr/";
	}
	while (date > "January 2011" and date < "April 2011"){
		description = "Making a Java web application J2EE: Management 
		planning for employees. Project done by a team of 4 people for a 
		small company from La Rochelle.";
	}
	while (date > "March 2010" and date < "June 2010"){
		description = "C++ development of a racing game turn-based on a grid, 
		GUI with Qt Framework. Project done with another student.";
	}
}

Maxime::computer_skills(string category){
	map<string, float> skill;
	
	if(category == "Programming"){
		skill["Java"] = 9/10;
		skill["C"] = 9/10;
		skill["C++"] = 8/10;
		skill["Python"] = 8/10;
		skill["SQL"] = 8/10;	
	} else if (category == "Web"){
		skill["HTML/CSS"] = 9/10;
		skill["XML"] = 8/10;
		skill["PHP"] = 7/10;
	} else if (category == "Networking"){
		skill["Linux Server"] = 7/10;
		skill["Windows server"] = 5/10;
	} else if (category == "Database"){
		skill["MySQL"] = 8/10;
		skill["Oracle"] = 6/10;
	}
}

map<string, string> Maxime::languages(map<string, string> language){
	language["French"] = "Mother tongue";
	language["English"] = "Good level";
	language["Spanish"] = "Basic notions";
	
	return language;
}

Maxime::activities_and_interests(string category){
	map<string, string> activity;
	
	if(category == "Sport"){
		activity["Football"] = "Played football (1997-2006)";
		activity["Volley-ball"] = "Playing volley-ball (2007-2013)";
	} else if (category == "Music"){
		activity["Drums"] = "Played drums (2003-2008)";
	} else if (category == "Travel"){
		activity["South Africa"] = "In 2013";
		activity["Brazil"] = "In 2005";
		activity["USA"] = "In 2011 and 2012";
		activity["Europe"] = "Between 2000 and 2010";
	} else if (category == "Other"){
		activity["Website"] = "Creating websites : http://maxime.cc, 
		http://www.allmylabels.com, etc..." 
	}
}
			

 

Background pictures taken during my stay in South Africa in summer 2013