Ancre

Ancre - { voisins = nouv; } Station *Ancre::getActuelle() {...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <string> #include "Ancre.h" # using namespace std; u Ancre::Ancre() { actuelle = NULL; // tous ses attributs à NULL car pointeurs voisins = NULL; depart = NULL; arrivee = NULL; pred = NULL; } void Ancre::setActuelle(Station *nouv) { actuelle = nouv; } void Ancre::setPred(Ancre *nouv) { pred = nouv; } void Ancre::setVoisins(ListeVoisin *nouv)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { voisins = nouv; } Station *Ancre::getActuelle() { return actuelle; } Ancre *Ancre::getPred() { return pred; } ListeVoisin *Ancre::getVoisins() { return voisins; } int Ancre::getDistDj() { return distDj; } void Ancre::setDistDj(int nouv) { distDj = nouv; } void Ancre::decale_pred() { pred = pred->pred; }...
View Full Document

This note was uploaded on 11/01/2009 for the course AV 244 taught by Professor Dub during the Spring '09 term at ECE.

Page1 / 2

Ancre - { voisins = nouv; } Station *Ancre::getActuelle() {...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online