/usr/include/terralib/stat/filaDouble.h is in libterralib-dev 4.0.0-5ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | //---------------------------------------------------------------------------
#ifndef FilaDoubleH
#define FilaDoubleH
#include "TeStatDefines.h"
class STAT_DLL TFilaDouble {
private:
typedef struct it {
double Item;
struct it *Proximo;
}Item_t,*Item_ptr;
typedef struct Fila {
Item_ptr Head;
Item_ptr Tail;
int Size;
}Fila_t,*Fila_ptr;
Fila_ptr mFila;
int GetSize();
public:
TFilaDouble();
~TFilaDouble();
void Insere(double);
double Retira();
int Size() {return GetSize();}
};
//---------------------------------------------------------------------------
#endif
|