81#include "utilitaires.h"
117 fread(
name,
sizeof(
char), 100, fich) ;
139 strncpy(
name, name_i, 100) ;
156 fwrite_be(&ident,
sizeof(
int), 1, fich) ;
158 fwrite(
name,
sizeof(
char), 100, fich) ;
179 return !(bi == *
this) ;
Base_vect()
Standard constructor.
bool operator!=(const Base_vect &) const
Comparison operator (difference).
virtual int identify() const =0
Returns a number to identify the sub-classe of Base_vect the object belongs to.
const char * get_name() const
Returns the basis name.
virtual void sauve(FILE *) const
Save in a file.
void set_name(const char *name_i)
Sets the basis name.
virtual ~Base_vect()
Destructor.
friend ostream & operator<<(ostream &, const Base_vect &)
Display.
char name[100]
Name of the basis.
int fwrite_be(const int *aa, int size, int nb, FILE *fich)
Writes integer(s) into a binary file according to the big endian convention.