|
lib45d
45Drives C++ Library Development Documentation
|
Local functions used in the compiled library. More...
Enumerations | |
| enum | RecordType { RecordType::UNK = -1, RecordType::ENTRY, RecordType::HEADING, RecordType::EMPTY } |
| Types of records in config file, returned by l::check_record_type() More... | |
Functions | |
| void | strip_whitespace (std::string &str) |
| Modifies str by removing whitespace from beginning and end. More... | |
| void | remove_comments (std::string &str) |
| Modifies str by removing anything after a '#' (inclusive) More... | |
| RecordType | check_record_type (const std::string &record) |
| Returns l::RecordType based on contents of record. More... | |
Local functions used in the compiled library.
|
strongprivate |
Types of records in config file, returned by l::check_record_type()
| Enumerator | |
|---|---|
| UNK | unknown record type |
| ENTRY | "key = value" pair |
| HEADING | [string] style subsection header |
| EMPTY | empty string |
|
private |
Returns l::RecordType based on contents of record.
| record | line of config file to check |
|
private |
Modifies str by removing anything after a '#' (inclusive)
| str | String to be modified |
|
private |
Modifies str by removing whitespace from beginning and end.
| str | String to be modified |
1.8.17