ARB
Classes | Typedefs | Enumerations | Functions
FieldTransfer Namespace Reference

Classes

struct  AlignmentTransporter
 
class  ItemClonedByRuleSet
 
class  ReadRule
 
class  Rule
 
class  RuleSet
 
class  TransportedData
 
class  WriteRule
 

Typedefs

typedef set< string, NoCaseCmpStrSet
 
typedef SmartPtr< RuleRulePtr
 
typedef ErrorOr< RulePtrErrorOrRulePtr
 
typedef std::vector< RulePtrRuleContainer
 
typedef
RuleContainer::const_iterator 
RuleIterator
 
typedef SmartPtr< RuleSetRuleSetPtr
 
typedef ErrorOr< RuleSetPtrErrorOrRuleSetPtr
 
typedef SmartPtr
< AlignmentTransporter
AlignmentTransporterPtr
 

Enumerations

enum  ItemCloneType { REPLACE_ITEM_BY_CLONE, RENAME_ITEM_WHILE_TEMP_CLONE_EXISTS, CLONE_INTO_EXISTING, REAL_CLONE }
 
enum  ClonableItemType { CLONE_ITEM_SPECIES }
 

Functions

static void StrSet2StrArray (const StrSet &src, StrArray &dst)
 
static void StrArray2StrSet (const StrArray &src, StrSet &dst)
 
TransportedData cannotReadContainer (const char *containerName)
 
static GB_ERROR unconvertedWrite (const TransportedData &data, GBDATA *gb_field)
 
static GB_ERROR convertAndWrite (const TransportedData &data, GBDATA *gb_field, GB_TYPES wantedTargetType, bool acceptLossyConversion)
 
bool isCommentLine (const string &line)
 
bool shallIgnore (const string &line)
 
const chartype2str (GB_TYPES type)
 
GB_TYPES str2type (const char *str)
 

Typedef Documentation

Definition at line 26 of file xferset.cxx.

Definition at line 166 of file xferset.h.

Definition at line 168 of file xferset.h.

typedef std::vector<RulePtr> FieldTransfer::RuleContainer

Definition at line 207 of file xferset.h.

typedef RuleContainer::const_iterator FieldTransfer::RuleIterator

Definition at line 208 of file xferset.h.

Definition at line 210 of file xferset.h.

Definition at line 212 of file xferset.h.

Definition at line 288 of file xferset.h.

Enumeration Type Documentation

Enumerator
REPLACE_ITEM_BY_CLONE 
RENAME_ITEM_WHILE_TEMP_CLONE_EXISTS 
CLONE_INTO_EXISTING 
REAL_CLONE 

Definition at line 272 of file xferset.h.

Enumerator
CLONE_ITEM_SPECIES 

Definition at line 279 of file xferset.h.

Function Documentation

static void FieldTransfer::StrSet2StrArray ( const StrSet src,
StrArray &  dst 
)
static

Definition at line 28 of file xferset.cxx.

Referenced by FieldTransfer::RuleSet::extractUsedFields().

static void FieldTransfer::StrArray2StrSet ( const StrArray &  src,
StrSet dst 
)
static

Definition at line 33 of file xferset.cxx.

Referenced by FieldTransfer::ItemClonedByRuleSet::ItemClonedByRuleSet().

TransportedData FieldTransfer::cannotReadContainer ( const char containerName)
inline

Definition at line 103 of file xferset.cxx.

References GBS_global_string().

Referenced by FieldTransfer::ReadRule::readFrom().

static GB_ERROR FieldTransfer::unconvertedWrite ( const TransportedData &  data,
GBDATA gb_field 
)
static
static GB_ERROR FieldTransfer::convertAndWrite ( const TransportedData &  data,
GBDATA gb_field,
GB_TYPES  wantedTargetType,
bool  acceptLossyConversion 
)
static
bool FieldTransfer::isCommentLine ( const string line)
inline

Definition at line 359 of file xferset.cxx.

Referenced by shallIgnore().

bool FieldTransfer::shallIgnore ( const string line)
inline

Definition at line 363 of file xferset.cxx.

References isCommentLine().

Referenced by FieldTransfer::RuleSet::loadFrom().

const char* FieldTransfer::type2str ( GB_TYPES  type)
inline

Definition at line 436 of file xferset.cxx.

References GB_BITS, GB_FLOAT, GB_INT, GB_NONE, GB_STRING, and NULp.

Referenced by FieldTransfer::WriteRule::saveWriteConfig().

GB_TYPES FieldTransfer::str2type ( const char str)
inline

Definition at line 448 of file xferset.cxx.

References GB_BITS, GB_FLOAT, GB_INT, GB_NONE, GB_STRING, GB_TYPE_MAX, and type.

Referenced by FieldTransfer::Rule::makeFromConfig().