Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder Models go into model
This commit is contained in:
parent
56cbeea183
commit
f0c1035378
121 changed files with 226 additions and 183 deletions
22
pglablib/catalog/PgInheritsContainer.h
Normal file
22
pglablib/catalog/PgInheritsContainer.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef PGINHERITSCONTAINER_H
|
||||
#define PGINHERITSCONTAINER_H
|
||||
|
||||
|
||||
#include "PgContainer.h"
|
||||
#include "PgInherits.h"
|
||||
#include "Pgsql_declare.h"
|
||||
|
||||
|
||||
class PgInheritsContainer : public PgContainer<PgInherits, PgInherits::Key> {
|
||||
public:
|
||||
using PgContainer<PgInherits, PgInherits::Key>::PgContainer;
|
||||
|
||||
virtual std::string getLoadQuery() const override;
|
||||
|
||||
/// Returns the parents in the correct order
|
||||
std::vector<Oid> getParentsOf(Oid oid) const;
|
||||
protected:
|
||||
PgInherits loadElem(const Pgsql::Row &row) override;
|
||||
};
|
||||
|
||||
#endif // PGINHERITSCONTAINER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue