Definition of class
LexicalToolKit.
More...
#include <boost/utility.hpp>
#include "keyvalue/extern/String.h"
#include "keyvalue/extern/Ptime.h"
#include "keyvalue/sys/exception/Exception.h"
#include "keyvalue/util/Lexical.h"
#include "keyvalue/frontend/LexicalToolKitPairs.h"
Go to the source code of this file.
Classes | |
class | LexicalToolKit |
Manager of all lexical converters needed for front-end input/output. More... | |
struct | LexicalToolKit::Helper< From, To > |
Helper class of LexicalToolKit. More... | |
class | LexicalToolKit::Failure |
This class is thrown when LexicalToolKit::convert() fails. More... | |
Namespaces | |
namespace | keyvalue |
All functionalities of KeyValue library are inside this | |
namespace | keyvalue::frontend |
All | |
Defines | |
#define | KV_LEXICAL_TOOL_KIT_PAIR(From, To) |
Definition of class
LexicalToolKit.
#define KV_LEXICAL_TOOL_KIT_PAIR | ( | From, | ||
To | ||||
) |
Helper<From, To>::Type_ From##2##To##_; \ IO From##2##To##_io_;
For each pair of types in LexicalToolKitPairs.h, this code declares two LexicalToolKit's members. For instance, for (double, bool) they are
Helper<From, To>::Type_ double2bool_; IO double2bool_io_.