fam_member.h

/*

* Nathan Eloe 4/24/2013

* fam_member.h

* Declaration of a family member

*/

#ifndef FAM_MEMBER_H

#define FAM_MEMBER_H

#include <string>

#include "location.h"

#include <iostream>

using namespace std;

const string FNAME = "family_members.txt";

class FMember

{

public:

FMember(const Location l = ORIGIN);

friend ostream & operator << (ostream& o,const FMember & f);

string getName() const {return m_name;}

int getSlopFact() const {return m_sloppy;}

Location getLoc() const {return m_loc;}

void setLoc(const Location& l) {m_loc = l; return;}

private:

string m_name;

Location m_loc;

int m_sloppy;

};

#endif