ARB
Public Member Functions | Static Public Member Functions | List of all members
FieldTransfer::TransportedData Class Reference

#include <xferset.h>

Public Member Functions

 TransportedData (const string &s)
 
 TransportedData (int i)
 
 TransportedData (float f)
 
bool failed () const
 
bool exists () const
 
GB_TYPES getType () const
 
const stringgetString () const
 
int getInt () const
 
float getFloat () const
 
GB_ERROR getError () const
 

Static Public Member Functions

static TransportedData none ()
 
static TransportedData makeError (GB_ERROR error)
 

Detailed Description

Definition at line 40 of file xferset.h.

Constructor & Destructor Documentation

FieldTransfer::TransportedData::TransportedData ( const string s)
inlineexplicit

Definition at line 57 of file xferset.h.

References xf_assert.

FieldTransfer::TransportedData::TransportedData ( int  i)
inlineexplicit

Definition at line 58 of file xferset.h.

References xf_assert.

FieldTransfer::TransportedData::TransportedData ( float  f)
inlineexplicit

Definition at line 59 of file xferset.h.

References xf_assert.

Member Function Documentation

static TransportedData FieldTransfer::TransportedData::none ( )
inlinestatic

Definition at line 61 of file xferset.h.

static TransportedData FieldTransfer::TransportedData::makeError ( GB_ERROR  error)
inlinestatic

Definition at line 62 of file xferset.h.

References GB_NONE.

bool FieldTransfer::TransportedData::failed ( ) const
inline

Definition at line 64 of file xferset.h.

References GB_NONE.

Referenced by exists(), getError(), FieldTransfer::ReadRule::readFrom(), and FieldTransfer::Rule::transferBy().

bool FieldTransfer::TransportedData::exists ( ) const
inline
GB_TYPES FieldTransfer::TransportedData::getType ( ) const
inline
const string& FieldTransfer::TransportedData::getString ( ) const
inline
int FieldTransfer::TransportedData::getInt ( ) const
inline

Definition at line 72 of file xferset.h.

References GB_INT, getType(), and xf_assert.

Referenced by FieldTransfer::convertAndWrite(), and FieldTransfer::unconvertedWrite().

float FieldTransfer::TransportedData::getFloat ( ) const
inline

Definition at line 73 of file xferset.h.

References GB_FLOAT, getType(), and xf_assert.

Referenced by FieldTransfer::convertAndWrite(), and FieldTransfer::unconvertedWrite().

GB_ERROR FieldTransfer::TransportedData::getError ( ) const
inline

Definition at line 75 of file xferset.h.

References failed(), and xf_assert.

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


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