types.hpp
来自「LiteSQL is a C++ library that integrates」· HPP 代码 · 共 31 行
HPP
31 行
/* LiteSQL * * By Tero Laitinen * * See LICENSE for copyright information. */#ifndef _litesql_types_hpp#define _litesql_types_hpp#include <string>#include <vector>#include "litesql/utils.hpp"#include "litesql/except.hpp"/** \file types.hpp contains class Record and typedef Records */namespace litesql{class Database;/** SQL data row wrapper. */class Record : public std::vector<std::string>{public: Record() : std::vector<std::string>() {} /** defined for compatibility with Persistent */ Record(const Database & db, const Record& r ) { *this = r;}};/** shortcut */typedef std::vector<Record> Records;}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?