Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monhi/inilite
This is a simple 200 line implementation of ini files for Linux operating system.
https://github.com/monhi/inilite
cplusplus-11 ini linux
Last synced: about 1 month ago
JSON representation
This is a simple 200 line implementation of ini files for Linux operating system.
- Host: GitHub
- URL: https://github.com/monhi/inilite
- Owner: monhi
- License: gpl-3.0
- Created: 2021-05-25T08:11:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T06:58:46.000Z (about 1 year ago)
- Last Synced: 2024-09-30T00:01:52.324Z (about 2 months ago)
- Topics: cplusplus-11, ini, linux
- Language: C++
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# INI Lite
This is a lite implementation of INI configuration files for Linux OS.
It uses C++ 11 features.
The following templates are used:
1. std::map
2. std::string
3. std::mutex
4. std::setIt is the first time that I have used std::set in a project.
Just, setKey and getkey functions are implemented to handle string values.
Other types can be converted to a string and saved inside INI file.Notes:
- Each line can have a maximum of 512 characters. But you can change it in the `IniLinux.h` header file.
- Lines are sorted alphabetically before saving.
- Comment lines are deleted automatically. do not save any comment.