Open Search
    GvCalcTable Class Reference

    #include <c4d_graphview.h>

    Detailed Description

    Used for iterator nodes. Cannot be instantiated.

    Public Member Functions

    Bool AddNodeToTable (GvRun *run, GvNode *node)
     
    void ResetTable (GvRun *run)
     
    Int32 GetTableCount (GvRun *run)
     
    GvNodeGetTableNode (GvRun *run, Int32 id)
     

    Private Member Functions

     GvCalcTable ()
     
     ~GvCalcTable ()
     

    Constructor & Destructor Documentation

    ◆ GvCalcTable()

    GvCalcTable ( )
    private

    ◆ ~GvCalcTable()

    ~GvCalcTable ( )
    private

    Member Function Documentation

    ◆ AddNodeToTable()

    Bool AddNodeToTable ( GvRun run,
    GvNode node 
    )

    Marks a node to be calculated with the next GvRun::CalculateTable(). A node is only added once.

    Parameters
    [in]runThe run helper. The caller owns the pointed run helper.
    [in]nodeThe node to add. The caller owns the pointed node.
    Returns
    true if the node was added, otherwise false.

    ◆ ResetTable()

    void ResetTable ( GvRun run)

    Clears the table without destroying it.

    Parameters
    [in]runThe run helper. The caller owns the pointed run helper.

    ◆ GetTableCount()

    Int32 GetTableCount ( GvRun run)

    Get the number of nodes added to the table.

    Parameters
    [in]runThe run helper. The caller owns the pointed run helper.
    Returns
    The node count.

    ◆ GetTableNode()

    GvNode* GetTableNode ( GvRun run,
    Int32  id 
    )

    Retrieves a node in the table by index.

    Parameters
    [in]runThe run helper. The caller owns the pointed run helper.
    [in]idThe node index: 0 <= id < id GetTableCount()
    Returns
    The retrieved node.