Open Search
    GeListNode Class Reference

    #include <c4d_gelistnode.h>

    Inheritance diagram for GeListNode:

    Public Types

    typedef PrivateChunk SUPER
     

    Public Member Functions

    virtual Bool IsInstanceOf (cineware::Int32 id) const
     
     GeListNode ()
     
     ~GeListNode ()
     
    virtual Bool HandleSubChunk (HyperFile *hf, Int32 id, Int32 level)
     
    virtual Bool Write (HyperFile *hf)
     
    virtual Bool IsBaseList ()
     
    virtual Bool GetNBit (Int32 bit) const
     
    virtual Bool ChangeNBit (NBIT bit, NBITCONTROL bitmode)
     
    BaseDocumentGetDocument ()
     
    virtual Int32 GetInfo ()
     
    virtual Int32 GetDiskType () const
     
    GeListNodeGetPred ()
     
    GeListNodeGetNext ()
     
    GeListNodeGetUp ()
     
    GeListNodeGetDown ()
     
    GeListNodeGetDownLast ()
     
    void InsertBefore (GeListNode *op)
     
    void InsertAfter (GeListNode *op)
     
    void Remove ()
     
    void InsertUnder (GeListNode *op)
     
    void InsertUnderLast (GeListNode *op)
     
    RootList2DGetListHead ()
     
    Int32 GetNodeID (Int32 index=0) const
     
    - Public Member Functions inherited from PrivateChunk
     PrivateChunk ()
     
    Bool ReadChunk (HyperFile *hf, Bool keepin=false, Bool noheader=false)
     
    virtual Bool IsListHead ()
     
    virtual Int32 GetType () const
     
    virtual Int32 GetInstanceType () const
     
    Bool ReadObject (HyperFile *hf, Bool readheader)
     
    Bool WriteObject (HyperFile *hf, Int32 type)
     
    Bool CopyTo (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trans)
     
    virtual Bool GetDParameter (const DescID &id, GeData &data)
     
    virtual Bool SetDParameter (const DescID &id, const GeData &data)
     
    Bool GetParameter (Int32 id, GeData &data)
     
    Bool SetParameter (Int32 id, const GeData &data)
     
    Bool GetParameter (const DescID &id, GeData &data)
     
    Bool SetParameter (const DescID &id, const GeData &data)
     
    virtual Int32 GetChunkLevel ()
     
    - Public Member Functions inherited from GeTempPublicNode2D< PrivateChunk >
    PrivateChunkGetNext () const
     
    PrivateChunkGetPrev () const
     
    void InsertBefore (PrivateChunk *n)
     
    void InsertAfter (PrivateChunk *n)
     
    void Remove ()
     

    Protected Member Functions

    virtual Bool CopyToX (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trans)
     
    virtual GeListNodeGetClone (COPYFLAGS flags, AliasTrans *trans)
     
    virtual Bool TranslateDescID (const DescID &id, DescID &res_id, GeListNode *&res_at)
     

    Protected Attributes

    GeAliasGoal m_xgoal
     
    UInt32 m_bits [4]
     
    RootList2Dt_rootlist_parent
     
    RootList2Dm_children
     
    BaseDocumentparent_doc
     
    void * unknownData
     
    Int unknownDataSize
     
    Int32 unknownDataLevel
     
    Int32 pluginID
     

    Friends

    class BaseList2D
     
    class RootList2D
     
    class FieldlayerRootNode
     
    class TakeSystemHook
     
    void BaseLink::SetLink (GeListNode *bl)
     

    Detailed Description

    Represents a node in a 4D list.

    Member Typedef Documentation

    ◆ SUPER

    Constructor & Destructor Documentation

    ◆ GeListNode()

    Default constructor.

    ◆ ~GeListNode()

    ~GeListNode ( )

    Default destructor.

    Since
    17.008

    Member Function Documentation

    ◆ IsInstanceOf()

    ◆ CopyToX()

    ◆ GetClone()

    ◆ TranslateDescID()

    virtual Bool TranslateDescID ( const DescID id,
    DescID res_id,
    GeListNode *&  res_at 
    )
    protectedvirtual

    Reimplemented in BaseList2D.

    ◆ HandleSubChunk()

    ◆ Write()

    ◆ IsBaseList()

    virtual Bool IsBaseList ( )
    virtual

    Checks if the node is a BaseList2D or BaseList4D.

    Returns
    true if the node is a base list, otherwise false.

    Reimplemented in BaseList2D.

    ◆ GetNBit()

    virtual Bool GetNBit ( Int32  bit) const
    virtual

    Gets the bit state for the node state bit.

    Parameters
    [in]bitBit: NBIT.
    Returns
    The bit state.

    ◆ ChangeNBit()

    virtual Bool ChangeNBit ( NBIT  bit,
    NBITCONTROL  bitmode 
    )
    virtual

    Changes the bit state depending on the passed node state bit and the bitmode.

    Parameters
    [in]bitBit.
    [in]bitmodeBit mode.
    Returns
    true if successful, otherwise false.

    Reimplemented in CKey.

    ◆ GetDocument()

    BaseDocument* GetDocument ( )

    Gets the document for the base list.

    Since
    17.008
    Returns
    The document, or nullptr if the base list is not in a document. The pointed document owns the list head that possesses the base list.

    ◆ GetInfo()

    ◆ GetDiskType()

    virtual Int32 GetDiskType ( ) const
    virtual

    ◆ GetPred()

    GeListNode* GetPred ( )

    Private.

    ◆ GetNext()

    GeListNode* GetNext ( )

    Private.

    ◆ GetUp()

    GeListNode* GetUp ( )

    Private.

    ◆ GetDown()

    GeListNode* GetDown ( )

    Private.

    ◆ GetDownLast()

    GeListNode* GetDownLast ( )

    Private.

    ◆ InsertBefore()

    void InsertBefore ( GeListNode op)

    Private.

    ◆ InsertAfter()

    void InsertAfter ( GeListNode op)

    Private.

    ◆ Remove()

    void Remove ( )

    Private.

    ◆ InsertUnder()

    void InsertUnder ( GeListNode op)

    Private.

    ◆ InsertUnderLast()

    void InsertUnderLast ( GeListNode op)

    Private.

    ◆ GetListHead()

    RootList2D* GetListHead ( )

    Private.

    ◆ GetNodeID()

    Int32 GetNodeID ( Int32  index = 0) const

    Private.

    Friends And Related Function Documentation

    ◆ BaseList2D

    friend class BaseList2D
    friend

    ◆ RootList2D

    friend class RootList2D
    friend

    ◆ FieldlayerRootNode

    friend class FieldlayerRootNode
    friend

    ◆ TakeSystemHook

    friend class TakeSystemHook
    friend

    ◆ BaseLink::SetLink

    void BaseLink::SetLink ( GeListNode bl)
    friend

    Member Data Documentation

    ◆ m_xgoal

    GeAliasGoal m_xgoal
    protected

    ◆ m_bits

    UInt32 m_bits[4]
    protected

    ◆ t_rootlist_parent

    RootList2D* t_rootlist_parent
    protected

    ◆ m_children

    RootList2D* m_children
    protected

    ◆ parent_doc

    BaseDocument* parent_doc
    protected

    ◆ unknownData

    void* unknownData
    protected

    ◆ unknownDataSize

    Int unknownDataSize
    protected

    ◆ unknownDataLevel

    Int32 unknownDataLevel
    protected

    ◆ pluginID

    Int32 pluginID
    protected