![]() |
Converts character to/from a string. More...
#include <FieldConvertors.h>
Static Public Member Functions | |
static std::string | convert (char value) |
static bool | convert (const std::string &value, char &result) |
static char | convert (const std::string &value) throw ( FieldConvertError ) |
Converts character to/from a string.
Definition at line 305 of file FieldConvertors.h.
static char FIX::CharConvertor::convert | ( | const std::string & | value | ) | throw ( FieldConvertError ) [inline, static] |
Definition at line 320 of file FieldConvertors.h.
References convert().
00322 { 00323 char result = '\0'; 00324 if( !convert( value, result ) ) 00325 throw FieldConvertError(); 00326 else 00327 return result; 00328 }
static bool FIX::CharConvertor::convert | ( | const std::string & | value, | |
char & | result | |||
) | [inline, static] |
Definition at line 313 of file FieldConvertors.h.
static std::string FIX::CharConvertor::convert | ( | char | value | ) | [inline, static] |
Definition at line 307 of file FieldConvertors.h.
Referenced by FIX::DataDictionary::checkValidFormat(), and convert().