Files
SistemaDeAnaliseDeAlgoritmos/Fontes/__history/UVetor.h.~18~
T
2026-11-18 10:27:27 -03:00

42 lines
1019 B
Plaintext

//---------------------------------------------------------------------------
#ifndef UVetorH
#define UVetorH
class Vetor{
private:
double *numeros;
double *numerosOrdenados;
int *cores;
int *coresOrdenadas;
int tamanhoDoVetor;
int faixaDeValores;
public:
/*------------------------CONSTRUTORES E DESTRUTORES-------------------------*/
Vetor();
~Vetor();
/*-----------------------------GETTER AND SETTER-----------------------------*/
void setNumero(double pNumero, int pPosicao);
double *getNumero();
void setCor(int pNumero, int pPosicao);
int *getCor();
void setTamanhoDoVetor(int pTamanho);
int getTamanhoDoVetor();
void setFaixaDeValores(int pFaixa);
int getFaixaDeValores();
/*-----------------------------------WORK------------------------------------*/
void dimensionarVetor();
void carregarVetor();
void ordenarVetorPorSelecao();
};
//---------------------------------------------------------------------------
#endif