ARB
|
#include <xferset.h>
Public Member Functions | |
WriteRule (const string &name_) | |
WriteRule (const char *name_, GB_TYPES forceType) | |
GB_ERROR | check_hkey () const |
const string & | targetField () const |
bool | forcesType () const |
GB_TYPES | getTargetType () const |
void | setTargetType (GB_TYPES forceType) |
__ATTR__USERESULT GB_ERROR | writeTo (const TransportedData &data, GBDATA *gb_item, bool acceptLossyConversion) const |
Protected Member Functions | |
void | saveWriteConfig (ConfigMapping &cfgmap) const |
string | describe () const |
|
inlineexplicit |
Definition at line 132 of file xferset.h.
Referenced by FieldTransfer::Rule::makeAciConverter(), and FieldTransfer::Rule::makeSimple().
|
protected |
Definition at line 466 of file xferset.cxx.
References ConfigMapping::set_entry(), TARGET, and FieldTransfer::type2str().
|
protected |
Definition at line 541 of file xferset.cxx.
|
inline |
similar to GB_check_hkey, but checked only once for each VALID key, i.e. for each rule
Definition at line 143 of file xferset.h.
References error(), GB_check_hkey(), GBS_global_string(), and NULp.
|
inline |
Definition at line 153 of file xferset.h.
Referenced by FieldTransfer::RuleSet::extractUsedFields(), and lintRuleset().
|
inline |
Definition at line 155 of file xferset.h.
References GB_NONE.
Referenced by getTargetType(), and setTargetType().
|
inline |
Definition at line 156 of file xferset.h.
References forcesType(), and xf_assert.
|
inline |
Definition at line 157 of file xferset.h.
References forcesType(), and xf_assert.
GB_ERROR FieldTransfer::WriteRule::writeTo | ( | const TransportedData & | data, |
GBDATA * | gb_item, | ||
bool | acceptLossyConversion | ||
) | const |
Definition at line 258 of file xferset.cxx.
References FieldTransfer::convertAndWrite(), error(), FieldTransfer::TransportedData::exists(), GB_await_error(), GB_search(), FieldTransfer::TransportedData::getType(), FieldTransfer::unconvertedWrite(), and xf_assert.