|
libdballe
8.6
|
Go to the source code of this file.
Functions | |
| void | dballe::resolve_varlist (const std::string &varlist, std::set< wreport::Varcode > &out) |
| Convenience functions to quickly create variables from the local B table. More... | |
| void | dballe::resolve_varlist (const std::string &varlist, std::function< void(wreport::Varcode)> out) |
| Resolve a comma-separated varcode list performing careful validation, calling dest on each result. | |
| std::unique_ptr< wreport::Var > | dballe::var_copy_without_unset_attrs (const wreport::Var &var) |
| Create a new Var, copying var and all its attributes except the unset ones. | |
| std::unique_ptr< wreport::Var > | dballe::var_copy_without_unset_attrs (const wreport::Var &var, wreport::Varcode code) |
| Create a new Var with code code, copying the value from var and all its attributes except the unset ones. | |
| void | dballe::format_code (wreport::Varcode code, char *buf) |
| Format the code to its string representation. More... | |
| void | dballe::format_bcode (wreport::Varcode code, char *buf) |
| Format the B code to its string representation. More... | |
| wreport::Varcode | dballe::map_code_to_dballe (wreport::Varcode code) |
| Return code, or its DB-All.e equivalent. | |
Shortcut functions to work with wreport::Var in DB-All.e
| void dballe::format_bcode | ( | wreport::Varcode | code, |
| char * | buf | ||
| ) |
Format the B code to its string representation.
The string will be written to buf, which must be at least 7 bytes long
| void dballe::format_code | ( | wreport::Varcode | code, |
| char * | buf | ||
| ) |
Format the code to its string representation.
The string will be written to buf, which must be at least 7 bytes long
| void dballe::resolve_varlist | ( | const std::string & | varlist, |
| std::set< wreport::Varcode > & | out | ||
| ) |
Convenience functions to quickly create variables from the local B table.
Resolve a comma-separated varcode list performing careful validation, inserting results in out
1.8.16