#include <iostream>
#include <string>
#include <ctype.h>
#include "config_files.h"
Go to the source code of this file.
Namespaces | |
| namespace | std |
Functions | |
| void | hexDump (byte *b, int n) |
Variables | |
| const bool | _VERBOSE_ = false |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The functions will either read in a configuration file or write out an configuration file.
The normal process is:
This was first written to be used with the USBP library, some of the return codes and types are specific to the USBP library.
As you notice the C++ file IO never caught with me, so all file IO is old school with the C functions.
Definition in file config_files.cpp.
| void hexDump | ( | byte * | b, | |
| int | n | |||
| ) |
Definition at line 208 of file config_files.cpp.
Referenced by CConfigFiles::xbtOpen(), and CConfigFiles::xbtRead().
| const bool _VERBOSE_ = false |
Definition at line 54 of file config_files.cpp.
Referenced by CConfigFiles::xbtClose(), CConfigFiles::xbtOpen(), and CConfigFiles::xbtRead().
1.5.1-p1