| Polaris: RegistryElem.h Source File | ||
|
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
RegistryElem.hGo to the documentation of this file.00001 /// 00002 /// file RegistryElem.h 00003 /// 00004 #ifndef REGISTRY_ELEM_H 00005 #define REGISTRY_ELEM_H 00006 /// 00007 #ifdef POLARIS_GNU_PRAGMAS 00008 #pragma interface 00009 #endif 00010 /// 00011 #include "Listable.h" 00012 #include "Collection/List.h" 00013 #include "Collection/Map.h" 00014 #include "Collection/Database.h" 00015 #include "IntElem.h" 00016 /// 00017 class RegistryElem : public Listable { 00018 private: 00019 int _size; 00020 Database<void *,IntElem> * _list; 00021 00022 public: 00023 RegistryElem(int size, Database<void*,IntElem> * list); 00024 RegistryElem & operator = (const RegistryElem &other); 00025 virtual ~RegistryElem(); 00026 00027 int size(); 00028 void size( int ); 00029 Database<void*, IntElem> * list(); 00030 void list(Database<void *, IntElem> *); 00031 00032 virtual void print(ostream &o) const; 00033 virtual Listable *listable_clone() const; 00034 }; 00035 00036 #endif |
||
|