Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
CScriptItemList Class Reference

#include <script.h>

Collaboration diagram for CScriptItemList:
Collaboration graph

List of all members.

Public Member Functions

 CScriptItemList ()
 ~CScriptItemList ()
int add (ScriptItemStruct *psis)

Public Attributes

int m_iCount

Detailed Description

Definition at line 103 of file script.h.

Constructor & Destructor Documentation

Definition at line 43 of file script.cpp.

Definition at line 50 of file script.cpp.

  while(m_pFirst != NULL)
    ScriptItemListElement * psile = m_pFirst;
    m_pFirst = psile->pNext;
    delete psile;

Member Function Documentation

Definition at line 60 of file script.cpp.

  ScriptItemListElement * psile = new ScriptItemListElement;

  if(psile == NULL)
    return -1;

  psile->psis = psis;

  if(m_pFirst == NULL)
    m_pFirst = psile;
    psile->pPrev = NULL;
    m_pLast->pNext = psile;
    psile->pPrev = m_pLast;

  psile->pNext = NULL;
  m_pLast = psile;

  int iRet = m_iCount;
  return iRet;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 108 of file script.h.

Definition at line 106 of file script.h.

Definition at line 107 of file script.h.

The documentation for this class was generated from the following files: