sbuild-keyfile.cc File Reference

#include <config.h>
#include "sbuild-keyfile.h"
#include <fstream>
#include <boost/format.hpp>

Include dependency graph for sbuild-keyfile.cc:


Typedefs

typedef std::pair< keyfile::error_code,
const char * > 
emap

Functions

keyfile operator+ (keyfile const &lhs, keyfile const &rhs)

Variables

emap init_errors []
 This is a list of the supported error codes.

Typedef Documentation

typedef std::pair<keyfile::error_code,const char *> emap [static]


Function Documentation

keyfile operator+ ( keyfile const &  lhs,
keyfile const &  rhs 
)

Parameters:
lhs the keyfile to add to.
rhs the values to add.
Returns:
the new keyfile.


Variable Documentation

emap init_errors[] [static]

Initial value:

    {
      emap(keyfile::BAD_FILE,          N_("Can't open file '%4%'")),
      emap(keyfile::DISALLOWED_KEY,    N_("line %1% [%2%]: Disallowed key '%4%' used")),
      emap(keyfile::DISALLOWED_KEY_NL, N_("[%2%]: Disallowed key '%4%' used")),
      emap(keyfile::DUPLICATE_GROUP,   N_("line %1%: Duplicate group '%4%'")),
      emap(keyfile::DUPLICATE_KEY,     N_("line %1% [%2%]: Duplicate key '%4%'")),
      emap(keyfile::INVALID_GROUP,     N_("line %1%: Invalid group: \"%4%\"")),
      emap(keyfile::INVALID_LINE,      N_("line %1%: Invalid line: \"%4%\"")),
      emap(keyfile::MISSING_KEY,       N_("[%1%]: Required key '%4%' is missing")),
      emap(keyfile::NO_GROUP,          N_("line %1%: No group specified: \"%4%\"")),
      emap(keyfile::NO_KEY,            N_("line %1%: No key specified: \"%4%\"")),
      emap(keyfile::PASSTHROUGH_GK,    N_("[%1%] %2%: %4%")),
      emap(keyfile::PASSTHROUGH_LGK,   N_("line %1% [%2%] %3%: %4%"))
    }
This is a list of the supported error codes.

It's used to construct the real error codes map.


Generated on Fri Jul 14 19:54:49 2006 for schroot by  doxygen 1.4.7