26 lines
420 B
C++
26 lines
420 B
C++
#ifndef PGDATABASECONTAINER_H
|
|
#define PGDATABASECONTAINER_H
|
|
|
|
#include <vector>
|
|
#include "PgContainer.h"
|
|
#include "PgDatabase.h"
|
|
|
|
namespace Pgsql {
|
|
|
|
class Result;
|
|
|
|
}
|
|
|
|
|
|
class PgDatabaseContainer: public PgContainer<PgDatabase> {
|
|
public:
|
|
explicit PgDatabaseContainer(PgsqlDatabaseCatalogue *cat);
|
|
|
|
std::string getLoadQuery() const;
|
|
void load(const Pgsql::Result &res);
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // PGDATABASECONTAINER_H
|