lintel 0.2.0
Loading...
Searching...
No Matches
Classes | Functions
lintel::sqlite Namespace Reference

Classes

class  Connection
 
class  Cursor
 
class  Notify
 
class  PreparedStatement
 
class  Result
 
class  Serialization
 
class  Statement
 
class  Transaction
 

Functions

 IMPLEMENT_SERIALIZE (std::string, [](const std::string &string) -> std::string { return string;}, [](const std::string &string) -> std::string { return string;}) template<> class Serialization< bool >
 
 IMPLEMENT_SERIALIZE (std::chrono::sys_time< std::chrono::microseconds >, [](const std::chrono::sys_time< std::chrono::microseconds > &time) -> std::string { return datetime::formatSystemTime(time);}, [](const std::string &timeString) -> std::chrono::sys_time< std::chrono::microseconds > { return datetime::parseSystemTime(timeString);}) template< typename T > class Serialization< T
 

Function Documentation

◆ IMPLEMENT_SERIALIZE() [1/2]

lintel::sqlite::IMPLEMENT_SERIALIZE ( std::chrono::sys_time< std::chrono::microseconds >  ,
[] (const std::chrono::sys_time< std::chrono::microseconds > &time) -> std::string { return datetime::formatSystemTime(time);}  ,
[] (const std::string &timeString) -> std::chrono::sys_time< std::chrono::microseconds > { return datetime::parseSystemTime(timeString);}   
)

◆ IMPLEMENT_SERIALIZE() [2/2]

lintel::sqlite::IMPLEMENT_SERIALIZE ( std::string  ,
[] (const std::string &string) -> std::string { return string;}  ,
[] (const std::string &string) -> std::string { return string;}   
)

Serialization of bool values. True is stored as "t", false as "0".

Hand-written instead of IMPLEMENT_SERIALIZE because Doxygen fails to resolve the explicit template specialization for the bool template argument.