pgLab/pglablib/PgObject.h

20 lines
282 B
C
Raw Normal View History

#ifndef PGOBJECT_H
#define PGOBJECT_H
#include <memory>
class PgDatabaseCatalog;
class PgObject
{
public:
PgObject();
explicit PgObject(std::weak_ptr<PgDatabaseCatalog> cat)
: catalog(cat)
{}
protected:
std::weak_ptr<PgDatabaseCatalog> catalog;
};
#endif // PGOBJECT_H