libdballe 9.6
|
Shortcut functions to work with wreport::Var in DB-All.e. More...
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. | |
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. | |
void | dballe::format_bcode (wreport::Varcode code, char *buf) |
Format the B code to its string representation. | |
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
References dballe::format_bcode().
Referenced by dballe::format_bcode().
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
References dballe::format_code().
Referenced by dballe::format_code().
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
References dballe::resolve_varlist().
Referenced by dballe::resolve_varlist().