ssrc::wispers::database Namespace Reference
Namespaces | |
| namespace | detail |
Classes | |
| struct | QueryResult |
| class | PreparedStatement |
| class | Database |
| struct | MultiRowOperations |
| struct | MultiRowOperationsReadOnly |
| struct | DefaultValueBinder |
| struct | DefaultValueLoader |
| struct | RowOperationsReadOnly |
| struct | RowOperations |
| class | SerializableValueBinder |
| class | SerializableValueLoader |
| struct | VectorBlob |
| This class is intended only for use with primitive types or structures composed only of primitive types that don't define serialization functions. More... | |
Typedefs | |
| typedef std::unique_ptr < PreparedStatement > | prepared_statement_ptr |
Functions | |
| template<typename T , typename... P> | |
| std::pair< bool, T > | find_row (PreparedStatement &query, P &&...p) |
| template<typename SerializableType , typename PackerType > | |
| ssrc::wispers::database::blob_type | to_blob (const SerializableType &obj, PackerType &packer, ByteBuffer &buffer) |
| template<typename T > | |
| T | value (const ResultSet &result_set, const unsigned int index) |
Typedef Documentation
| typedef std::unique_ptr<PreparedStatement> ssrc::wispers::database::prepared_statement_ptr |
Definition at line 300 of file Database.h.
Function Documentation
| std::pair<bool, T> ssrc::wispers::database::find_row | ( | PreparedStatement & | query, | |
| P &&... | p | |||
| ) | [inline] |
Definition at line 68 of file RowOperations.h.
References value().
| ssrc::wispers :: database ::blob_type ssrc::wispers::database::to_blob | ( | const SerializableType & | obj, | |
| PackerType & | packer, | |||
| ByteBuffer & | buffer | |||
| ) | [inline] |
Definition at line 34 of file serialization.h.
| T ssrc::wispers::database::value | ( | const ResultSet & | result_set, | |
| const unsigned int | index | |||
| ) | [inline] |
Definition at line 196 of file serialization.h.
References ResultSet::value().
Referenced by ssrc::wispers::database::SerializableValueBinder< PackerType >::bind(), ssrc::wispers::database::PreparedStatement::bind(), ssrc::wispers::database::detail::FindRow< T, false >::exec(), ssrc::wispers::database::detail::FindRow< T, true >::exec(), ssrc::wispers::database::RowOperationsReadOnly< GroupSession, DefaultValueBinder, DefaultValueLoader >::find(), find_row(), WebServiceCall::get_parameter(), ssrc::wispers::database::SerializableValueLoader< UnpackerType >::load(), load_property(), map_to_table(), PrependToContainer< container_type, true >::operator()(), PrependToContainer< container_type, false >::operator()(), InsertToContainer< container_type >::operator()(), AppendToContainer< container_type, true >::operator()(), AppendToContainer< container_type, false >::operator()(), parse_query_string(), and values().