![]() |
![]() |
|
Index
Source Files
Annotated Class List
Alphabetical Class List
Class Hierarchy
Graphical Class Hierarchy
|
||
![]() |
![]() |
#include <FieldConvertors.h>
Static Public Member Functions | |
| std::string | convert (char value) |
| bool | convert (const std::string &value, char &result) |
| char | convert (const std::string &value) throw ( FieldConvertError ) |
Definition at line 305 of file FieldConvertors.h.
|
|
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 }
|
|
||||||||||||
|
Definition at line 313 of file FieldConvertors.h.
00314 {
00315 if( value.size() != 1 ) return false;
00316 result = value[0];
00317 return true;
00318 }
|
|
|
Definition at line 307 of file FieldConvertors.h. Referenced by convert().
00308 {
00309 if( value == '\0' ) return "";
00310 return std::string( 1, value );
00311 }
|
1.3.6-20040222 written by Dimitri van Heesch,
© 1997-2001