#include <c4d_baselist.h>

Represents a C4DAtom that resides in a 4D list.
Private Member Functions | |
| GeListNode () | |
| ~GeListNode () | |
Navigation | |
| GeListNode * | GetNext () |
| GeListNode * | GetPred () |
| GeListNode * | GetDown () |
| GeListNode * | GetUp () |
| GeListNode * | GetDownLast () |
Insertion | |
| void | InsertBefore (GeListNode *bl) |
| void | InsertAfter (GeListNode *bl) |
| void | InsertUnder (GeListNode *bl) |
| void | InsertUnderLast (GeListNode *bl) |
| void | Remove () |
Miscellaneous | |
| GeListHead * | GetListHead () |
| Int32 | GetNodeID (Int32 index=0) const |
| template<typename CAST > | |
| const CAST * | GetNodeData (Int32 index=0) const |
| template<typename CAST > | |
| CAST * | GetNodeData (Int32 index=0) |
| void | SetCustomData (GeListNode *node) |
| GeListNode * | GetCustomData () |
| BaseDocument * | GetDocument () |
| Int32 | GetBranchInfo (BranchInfo *info, Int32 max, GETBRANCHINFO flags) |
| Bool | IsDocumentRelated () |
| Int32 | GetInfo () const |
Nbit | |
| Bool | GetNBit (NBIT bit) const |
| UInt32 | GetNBitMask (Int32 index) const |
| Bool | ChangeNBit (NBIT bit, NBITCONTROL bitmode) |
|
private |
|
private |
| GeListNode* GetNext | ( | ) |
Gets the next node in the list.
| GeListNode* GetPred | ( | ) |
Gets the previous node in the list.
| GeListNode* GetDown | ( | ) |
Gets the first child node.
| GeListNode* GetUp | ( | ) |
Gets the parent node.
| GeListNode* GetDownLast | ( | ) |
Gets the last child node.
| void InsertBefore | ( | GeListNode * | bl | ) |
Inserts the node before bl.
| [in] | bl | The node to insert before. The caller owns the pointed node. |
| void InsertAfter | ( | GeListNode * | bl | ) |
Inserts the node after bl.
| [in] | bl | The node to insert after. The caller owns the pointed node. |
| void InsertUnder | ( | GeListNode * | bl | ) |
Inserts the node under bl as the first child.
| [in] | bl | The node to insert under. The caller owns the pointed node. |
| void InsertUnderLast | ( | GeListNode * | bl | ) |
Inserts the node as the last child of bl.
| [in] | bl | The node to insert under as last child. The caller owns the pointed node. |
| void Remove | ( | ) |
Removal Removes the node from its list.
| GeListHead* GetListHead | ( | ) |
Retrieves the list head for the node.
Gets the ID of the node optionally for the given level index.
| [in] | index | For multi-nodes (two or more nodes virtually linked together) retrieve the ID for every level index. For example GvNode is a level 2 multi-nodes. They consist of one list element (GeListNode or BaseList2D) and two virtual NodeData derivate: one is private and one is used by the operator. |
| const CAST* GetNodeData | ( | Int32 | index = 0 | ) | const |
Retrieves the data for the node.
template <typename CAST> CAST*. | [in] | index | For multi-nodes (two or more nodes virtually linked together) retrieve the ID for every level index. For example GvNode objects are level 2 multi-nodes. They consist of one list element (GeListNode or BaseList2D) and two virtual NodeData derivate: one is private and one is used by the operator. |
| CAST* GetNodeData | ( | Int32 | index = 0 | ) |
Retrieves the data for the node.
template <typename CAST> CAST*. | [in] | index | For multi-nodes (two or more nodes virtually linked together) retrieve the ID for every level index. For example GvNode objects are level 2 multi-nodes. They consist of one list element (GeListNode or BaseList2D) and two virtual NodeData derivate: one is private and one is used by the operator. |
| void SetCustomData | ( | GeListNode * | node | ) |
Sets the custom data for the node.
| [in] | node | The new custom data. |
| GeListNode* GetCustomData | ( | ) |
| BaseDocument* GetDocument | ( | ) |
Retrieves the document for the node.
| Int32 GetBranchInfo | ( | BranchInfo * | info, |
| Int32 | max, | ||
| GETBRANCHINFO | flags | ||
| ) |
Gets information about which other node types the node contains.
For example objects contain tags.
Example: Pass an array of BranchInfo objects and its size, the function returns the number of filled elements:
| [in,out] | info | An array of max BranchInfo structures. The caller owns the pointed array. |
| [in] | max | The number of elements in info. |
| [in] | flags | Flags: GETBRANCHINFO |
| Bool IsDocumentRelated | ( | ) |
Checks if the node is of a type that can be inserted into a document.
| Bool ChangeNBit | ( | NBIT | bit, |
| NBITCONTROL | bitmode | ||
| ) |
Sets bits in the node state.
| [in] | bit | The bit index: NBIT |
| [in] | bitmode | The bit mode: NBITCONTROL |
| Int32 GetInfo | ( | ) | const |
Private.