You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
551 B

#include "Base.h"
#include <iostream>
#include <string>
using namespace std;
Base::Base() {
}
Base::Base(string name, string pathname) : name(name), pathname(pathname) {
}
Base::~Base() {
}
void Base::setName(string _name) {
name = _name;
}
void Base::setPathName(string _pathname) {
pathname = _pathname;
}
string Base::getName() const {
return name;
}
string Base::getPathName() const {
return pathname;
}
void Base::affichage(ostream& flux) const {
flux << "Le fichier : " << name << " a pour chemin : " << pathname << endl;
}