Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ConfigFile
ConfigurationFile.h
- Committer:
- 13075593
- Date:
- 2016-04-06
- Revision:
- 3:7177e463ac52
- Parent:
- 2:5af11ca8e085
- Child:
- 4:c8f6d3677937
File content as of revision 3:7177e463ac52:
#ifndef CONFIGURATION_FILE_H #define CONFIGURATION_FILE_H #include "mbed.h" #include "ConfigFile.h" #include "ConfigurationFile.h" #include <string> class ConfigurationFile{ public: ConfigurationFile(char *pathName); ~ConfigurationFile(); string getIP(); string getMask(); string getGateway(); string getURL(); int getBroadcastPort(); void getUnitConfiguration(); private: ConfigFile cfg; string ip; string mask; string gateway; string broadcastPort; string url; void setIP(); void setMask(); void setGateway(); void setURL(); void setBroadcastPort(); void readUnitConfiguration(); void readConfigurationFile(char *pathName); }; #endif