Public Member Functions | Protected Member Functions | List of all members
FieldTransfer::WriteRule Class Reference

#include <xferset.h>

Inheritance diagram for FieldTransfer::WriteRule:
Inheritance graph

Public Member Functions

 WriteRule (const string &name_)
 WriteRule (const char *name_, GB_TYPES forceType)
GB_ERROR check_hkey () const
const stringtargetField () 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

Detailed Description

Definition at line 121 of file xferset.h.

Constructor & Destructor Documentation

FieldTransfer::WriteRule::WriteRule ( const string name_)
FieldTransfer::WriteRule::WriteRule ( const char name_,
GB_TYPES  forceType 

Definition at line 137 of file xferset.h.

Member Function Documentation

void FieldTransfer::WriteRule::saveWriteConfig ( ConfigMapping cfgmap) const

Definition at line 466 of file xferset.cxx.

References ConfigMapping::set_entry(), TARGET, and FieldTransfer::type2str().

string FieldTransfer::WriteRule::describe ( ) const

Definition at line 541 of file xferset.cxx.

GB_ERROR FieldTransfer::WriteRule::check_hkey ( ) const

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.

const string& FieldTransfer::WriteRule::targetField ( ) const

Definition at line 153 of file xferset.h.

Referenced by FieldTransfer::RuleSet::extractUsedFields(), and lintRuleset().

bool FieldTransfer::WriteRule::forcesType ( ) const

Definition at line 155 of file xferset.h.

References GB_NONE.

Referenced by getTargetType(), and setTargetType().

GB_TYPES FieldTransfer::WriteRule::getTargetType ( ) const

Definition at line 156 of file xferset.h.

References forcesType(), and xf_assert.

void FieldTransfer::WriteRule::setTargetType ( GB_TYPES  forceType)

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

The documentation for this class was generated from the following files: