// Read the documentation to learn more about C++ code generator // versioning. // %X% %Q% %Z% %W% #ifndef TRASHADAPTER_H #define TRASHADAPTER_H 1 // TrashPtr #include "XSModel/GlobalContainer/TrashPtr.h" namespace XSContainer { template class TrashAdapter : public TrashPtr //## Inherits: %41DED4B10158 { public: TrashAdapter (T obj); virtual ~TrashAdapter(); virtual void empty (); // Additional Public Declarations protected: // Additional Protected Declarations private: // Additional Private Declarations private: //## implementation // Data Members for Class Attributes T m_obj; // Additional Implementation Declarations }; // Parameterized Class XSContainer::TrashAdapter template inline TrashAdapter::TrashAdapter (T obj) : m_obj(obj) { } template inline TrashAdapter::~TrashAdapter() { } template inline void TrashAdapter::empty () { delete m_obj; } } // namespace XSContainer #endif