Beispiel #1
0
void CDlpFile_Destructor(CDlpObject* __this)
{
	GET_THIS_VIRTUAL(CDlpFile);
	{
	/*{{CGEN_DONECODE */

  /* free list of filetypes */
  if(_this->m_lpFtypes)
  {
  list_process(_this->m_lpFtypes,NULL,CDlpFile_FreeFTypeList);
  list_destroy_nodes(_this->m_lpFtypes);
  list_destroy(_this->m_lpFtypes);
  _this->m_lpFtypes = NULL;
  }

  DONE;

	/*}}CGEN_DONECODE */
	}

#ifndef __cplusplus

	/* Destroy base instance */
	CDlpObject_Destructor(_this->m_lpBaseInstance);
	dlp_free(_this->m_lpBaseInstance);
	_this->m_lpBaseInstance = NULL;

#endif /* #ifndef __cplusplus */
}
Beispiel #2
0
void CFsttools_Destructor(CDlpObject* __this)
{
    GET_THIS_VIRTUAL(CFsttools);
    {
        /*{{CGEN_DONECODE */
        DONE;
        /*}}CGEN_DONECODE */
    }

#ifndef __cplusplus

    /* Destroy base instance */
    CDlpObject_Destructor(_this->m_lpBaseInstance);
    dlp_free(_this->m_lpBaseInstance);
    _this->m_lpBaseInstance = NULL;

#endif /* #ifndef __cplusplus */
}
Beispiel #3
0
CDlpObject::~CDlpObject()
{
  CDlpObject_Destructor(this);
}