00001 /* Correos.h */ 00002 00011 #ifndef CORREOS_H 00012 #define CORREOS_H 00013 00014 #include <string> 00015 #include <iostream> 00016 #include <list> 00017 00018 using namespace std; 00019 00024 class Correos 00025 { 00026 public: 00027 // constructores 00028 Correos(); 00029 ~Correos(); 00030 00032 bool miembro(const string& hilera); 00033 00035 void insertDireccion(const string& hilera); 00036 00038 void insertRenglon(const string& hilera); 00039 00041 void listaCorreo(); 00042 00044 string* getDireccion(); 00045 00047 string getRenglon(int); 00048 00050 Correos* operator ->(); 00051 00052 private: 00053 string Direccion; 00054 list<string> Renglon; 00055 }; //Correos 00056 00057 #endif 00058 00059 // EOF: Correos.h
1.4.1