Open Search
    Node/Object Allocation/Deletion

    Detailed Description

    Macros

    #define FreeListNode(v)
     
    #define blDelete(v)
     

    Functions

    GeListHeadAllocListHead ()
     
    GeListNodeAllocListNode (Int32 id)
     
    GeListNodeAllocSmallListNode (Int32 id)
     
    GeListNodeAllocMultiNode (const Int32 *id_array, Int32 id_cnt)
     

    Macro Definition Documentation

    ◆ FreeListNode

    #define FreeListNode (   v)

    Destructs an AllocListNode() allocated node. It is basically the same as BaseList2D::Free().

    ◆ blDelete

    #define blDelete (   v)

    Destructs objects derived from BaseList2D. It is basically the same as BaseList2D::Free().

    Function Documentation

    ◆ AllocListHead()

    GeListHead* cinema::AllocListHead ( )

    Allocates a list head. Destroy the allocated list head with FreeListNode().

    Returns
    The allocated list head node, or nullptr if the allocation failed.

    ◆ AllocListNode()

    GeListNode* cinema::AllocListNode ( Int32  id)

    Allocates a RegisterNodePlugin() registered node.

    Parameters
    [in]idThe node plugin ID.
    Returns
    The allocated list node, or nullptr if the allocation failed.

    ◆ AllocSmallListNode()

    GeListNode* cinema::AllocSmallListNode ( Int32  id)

    Allocates a RegisterNodePlugin() registered node with the PLUGINFLAG_SMALLNODE flag set.

    Parameters
    [in]idThe small node plugin ID.
    Returns
    The allocated small list node, or nullptr if the allocation failed.

    ◆ AllocMultiNode()

    GeListNode* cinema::AllocMultiNode ( const Int32 id_array,
    Int32  id_cnt 
    )

    Private.