RootLayer Class Reference

#include <c4d_rootlayer.h>

Inheritance diagram for RootLayer:

Public Types

typedef RootList2D SUPER
 
- Public Types inherited from RootList2D
typedef GeListNode SUPER
 
- Public Types inherited from GeListNode
typedef PrivateChunk SUPER
 

Public Member Functions

virtual Bool IsInstanceOf (cineware::Int32 id) const
 
 RootLayer ()
 
virtual LayerObjectAllocObject ()
 
virtual Bool CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trn)
 
virtual Bool HandleSubChunk (HyperFile *hf, Int32 id, Int32 level)
 
virtual Bool Write (HyperFile *hf)
 
- Public Member Functions inherited from RootList2D
 RootList2D ()
 
 ~RootList2D ()
 
void SetParent (GeListNode *main)
 
GeListNodeGetParent () const
 
Bool Insert (GeListNode *bl)
 
Bool InsertBefore (GeListNode *bl, GeListNode *next)
 
Bool InsertAfter (GeListNode *bl, GeListNode *pred)
 
Bool InsertLast (GeListNode *bl)
 
void Remove (GeListNode *bl)
 
virtual Bool IsListHead ()
 
void FlushAll ()
 
GeListNodeGetFirst ()
 
GeListNodeGetLast ()
 
- Public Member Functions inherited from GeListNode
 GeListNode ()
 
 ~GeListNode ()
 
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 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 ()
 

Friends

class LayerObject
 

Additional Inherited Members

- Protected Member Functions inherited from GeListNode
virtual GeListNodeGetClone (COPYFLAGS flags, AliasTrans *trans)
 
virtual Bool TranslateDescID (const DescID &id, DescID &res_id, GeListNode *&res_at)
 
- Protected Attributes inherited from RootList2D
GeListNodet_real_parent
 
- Protected Attributes inherited from GeListNode
GeAliasGoal m_xgoal
 
UInt32 m_bits [4]
 
RootList2Dt_rootlist_parent
 
RootList2Dm_children
 
BaseDocumentparent_doc
 
void * unknownData
 
Int unknownDataSize
 
Int32 unknownDataLevel
 
Int32 pluginID
 

Detailed Description

Almost private except AllocObject().

Member Typedef Documentation

◆ SUPER

typedef RootList2D SUPER

Constructor & Destructor Documentation

◆ RootLayer()

RootLayer ( )

Default constructor.

Member Function Documentation

◆ IsInstanceOf()

virtual Bool IsInstanceOf ( cineware::Int32  id) const
virtual

Reimplemented from RootList2D.

◆ AllocObject()

virtual LayerObject* AllocObject ( )
virtual

Overload this method to allocate a layer for the root/list.
Example:

LayerObject *AlienRootLayer::AllocObject()
{
LayerObject* layer = nullptr;
layer = NewObj(AlienLayer);
return layer;
}
Returns
The allocated layer.

◆ CopyToX()

virtual Bool CopyToX ( PrivateChunk dst,
COPYFLAGS  flags,
AliasTrans trn 
)
virtual

Private.

Reimplemented from RootList2D.

◆ HandleSubChunk()

virtual Bool HandleSubChunk ( HyperFile hf,
Int32  id,
Int32  level 
)
virtual

Private.

Reimplemented from RootList2D.

◆ Write()

virtual Bool Write ( HyperFile hf)
virtual

Private.

Reimplemented from RootList2D.

Friends And Related Function Documentation

◆ LayerObject

friend class LayerObject
friend
NewObj
#define NewObj(T,...)
Definition: c4d_system.h:224
cineware::RootLayer::LayerObject
friend class LayerObject
Definition: c4d_rootlayer.h:25