From bd7552bc352de4ff83c1d0365df8750c2bc4bf0a Mon Sep 17 00:00:00 2001 From: cathook Date: Sun, 1 Jun 2014 14:11:22 +0800 Subject: delete old files --- meowpp/oo/ObjPort.h | 18 --------------- meowpp/oo/Properties.h | 61 -------------------------------------------------- 2 files changed, 79 deletions(-) delete mode 100644 meowpp/oo/ObjPort.h delete mode 100644 meowpp/oo/Properties.h (limited to 'meowpp/oo') diff --git a/meowpp/oo/ObjPort.h b/meowpp/oo/ObjPort.h deleted file mode 100644 index b9baf0c..0000000 --- a/meowpp/oo/ObjPort.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef oo_ObjPort_H__ -#define oo_ObjPort_H__ - -#include "ObjBase.h" - -#include - -namespace meow{ - template - class ObjPort{ - public: - static ObjBase* read (FILE* __f, bool __binary); - static bool write(FILE* __f, bool __binary, - ObjBase* __obj, unsigned int __fg); - }; -} - -#endif // oo_ObjPort_H__ diff --git a/meowpp/oo/Properties.h b/meowpp/oo/Properties.h deleted file mode 100644 index f19e300..0000000 --- a/meowpp/oo/Properties.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef oo_Properties_H__ -#define oo_Properties_H__ - -#include "ObjBase.h" - -#include -#include - -#include - -namespace meow{ - class Properties: public ObjBase{ - private: - struct Property{ - ObjBase* _pointer; - ssize_t _counter; - // - Property(ObjBase* __pointer, bool __autoRemove); - Property(Property const& __property); - ~Property(); - // - bool attach(); - bool detach(); - }; - // - std::map _properties; - std::map _index; - std::queue _freeIndex; - // - size_t newIndex(std::string const& __name); - void delIndex(size_t __index); - void detach(size_t __index); - public: - Properties(); - Properties(Properties const& __p); - ~Properties(); - // - void clear(); - Properties& copy (Properties const& __p); - // - size_t size () const; - bool empty() const; - // - bool chg(size_t __index, ObjBase* __pointer, bool __autoRemove); - bool add(std::string __name , ObjBase* __pointer, bool __autoRemove); - bool del(size_t __index); - bool del(std::string __name ); - ObjBase* get(size_t __index) const; - ObjBase* get(std::string __name ) const; - ssize_t getIndex(ObjBase* __pointer) const; - std::string getName (ObjBase* __pointer) const; - // - Properties& operator=(Properties const& __p); - ObjBase* operator()(size_t __index) const; - ObjBase* operator()(std::string __name ) const; - }; -} - -#include "Properties.hpp" - -#endif // oo_Properties_H__ -- cgit v1.2.3