PackStruct::Cell Class Reference

#include <PackStruct.h>

List of all members.


Detailed Description

nested class to PackStruct , stands for an element cell in the list.

Definition at line 43 of file PackStruct.h.

Public Member Functions

 Cell ()
 Constructor.
Cell * GetPreviousBrotherCell ()
 get next cell in the list, NULL if last.
Cell * GetNextBrotherCell ()
 get next cell in the list, NULL if last.
void SetManagedObject (BaseType *_ob)
 set object that this cell manage
BaseType * GetManagedObject ()
 set object that this cell manage
void SetPreviousBrotherCell (Cell *_pPrevCell)
 Set Previous cell in the list.
void SetNextBrotherCell (Cell *_pNewCell)
 Set next cell in the list.

Protected Attributes

Cell * m_pPreviousCell
 previous cell
Cell * m_pNextCell
 next cell
BaseType * m_pObjectManaged
 the object serialized by this cell:


Constructor & Destructor Documentation

Cell (   )  [inline]
 

Constructor.

Definition at line 49 of file PackStruct.h.


Member Function Documentation

BaseType* GetManagedObject (   )  [inline]
 

set object that this cell manage

Returns:
the object or NULL if none.

Definition at line 73 of file PackStruct.h.

References m_pObjectManaged.

Cell* GetNextBrotherCell (   )  [inline]
 

get next cell in the list, NULL if last.

Returns:
the cell element or 0L.

Definition at line 63 of file PackStruct.h.

References m_pNextCell.

Cell* GetPreviousBrotherCell (   )  [inline]
 

get next cell in the list, NULL if last.

Returns:
the cell element or 0L.

Definition at line 57 of file PackStruct.h.

References m_pPreviousCell.

void SetManagedObject (  BaseType *  _ob  )  [inline]
 

set object that this cell manage

Parameters:
_ob the serializable object

Definition at line 68 of file PackStruct.h.

References m_pObjectManaged.

void SetNextBrotherCell (  Cell *  _pNewCell  )  [inline]
 

Set next cell in the list.

Parameters:
_pNewCell the new cell element.

Definition at line 85 of file PackStruct.h.

References m_pNextCell.

void SetPreviousBrotherCell (  Cell *  _pPrevCell  )  [inline]
 

Set Previous cell in the list.

Parameters:
_pPrevCell the new cell element.

Definition at line 79 of file PackStruct.h.

References m_pPreviousCell.


Member Data Documentation

Cell* m_pNextCell [protected]
 

next cell

Definition at line 91 of file PackStruct.h.

Referenced by GetNextBrotherCell(), and SetNextBrotherCell().

BaseType* m_pObjectManaged [protected]
 

the object serialized by this cell:

Definition at line 93 of file PackStruct.h.

Referenced by GetManagedObject(), and SetManagedObject().

Cell* m_pPreviousCell [protected]
 

previous cell

Definition at line 85 of file PackStruct.h.

Referenced by GetPreviousBrotherCell(), and SetPreviousBrotherCell().


The documentation for this class was generated from the following file:
      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/