prime/include/Kyoto/IObjectStore.hpp
Phillip Stephens cf5562d509 Match and link CFactoryStore in a really dumb way
Former-commit-id: ad212023401cf03272a89ba59bfd78b9a73ebff0
2023-01-14 02:00:14 -08:00

27 lines
723 B
C++

#ifndef _IOBJECTSTORE
#define _IOBJECTSTORE
#include "types.h"
#include "Kyoto/CToken.hpp"
#include "rstl/auto_ptr.hpp"
#include "rstl/rc_ptr.hpp"
class IFactory;
class IObjectStore {
public:
IObjectStore() {}
virtual CToken GetObj(const SObjectTag& tag, CVParamTransfer xfer) = 0;
virtual CToken GetObj(const SObjectTag& tag) = 0;
virtual CToken GetObj(const char* name) = 0;
virtual CToken GetObj(const char* name, CVParamTransfer xfer) = 0;
virtual bool HasObject(const SObjectTag& tag) = 0;
virtual bool ObjectIsLive(const SObjectTag& tag) = 0;
virtual IFactory& GetFactory() = 0;
virtual void Flush() = 0;
virtual void ObjectUnreferenced(const SObjectTag& tag) = 0;
};
#endif // _IOBJECTSTORE