libdballe  7.21
Namespaces | Functions
core/var.h File Reference

Shortcut functions to work with wreport::Var in DB-All.e. More...

#include <dballe/var.h>
#include <set>

Go to the source code of this file.

Namespaces

 dballe
 Copyright (C) 2008–2010 ARPA-SIM urpsi.nosp@m.m@sm.nosp@m.r.arp.nosp@m.a.em.nosp@m.r.it
 

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::Vardballe::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::Vardballe::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...
 
wreport::Varcode dballe::map_code_to_dballe (wreport::Varcode code)
 Return code, or its DB-All.e equivalent.
 

Detailed Description

Shortcut functions to work with wreport::Var in DB-All.e.