Classes | Namespaces | Defines

LexicalToolKit.h File Reference

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"
Include dependency graph for LexicalToolKit.h:
This graph shows which files directly or indirectly include this file:

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.


namespace  keyvalue::frontend
 

All classes and functions needed by frontends belong to this namespace.


Defines

#define KV_LEXICAL_TOOL_KIT_PAIR(From, To)

Detailed Description

Definition of class LexicalToolKit.


Define Documentation

#define KV_LEXICAL_TOOL_KIT_PAIR (   From,
  To 
)
Value:
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_.