80 #include "base_vect.h" 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) ;
165 ostream& operator<<(ostream& ost,
const Base_vect& bvect) {
179 return !(bi == *
this) ;
virtual ~Base_vect()
Destructor.
bool operator!=(const Base_vect &) const
Comparison operator (difference)
virtual void sauve(FILE *) const
Save in a file.
Vectorial bases (triads) with respect to which the tensorial components are defined.
const char * get_name() const
Returns the basis name.
virtual int identify() const =0
Returns a number to identify the sub-classe of Base_vect the object belongs to.
Base_vect()
Standard constructor.
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.
char name[100]
Name of the basis.
void set_name(const char *name_i)
Sets the basis name.