#include <c4d_graphview.h>
Manages a list of GvPortListEntry representing ports on a GvNode. 
- Note
 - Has to be created with Alloc() and destroyed with Free(). Use AutoAlloc to automate the allocation and destruction based on scope. 
 
 
◆ GvPortList()
◆ ~GvPortList()
◆ Alloc()
Allocates a port list. Destroy the allocated port list with Free(). Use AutoAlloc to automate the allocation and destruction based on scope. 
- Returns
 - The allocated port list, or nullptr if the allocation failed. 
 
 
 
◆ Free()
Destructs port lists allocated with Alloc(). Use AutoAlloc to automate the allocation and destruction based on scope. 
- Parameters
 - 
  
    | [in,out] | list | The port lists to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards.  | 
  
   
 
 
◆ GetCount()
Gets the number of port entries. 
- Returns
 - The number of entries. 
 
 
 
◆ Append()
Appends an entry to the end of the list. 
- Parameters
 - 
  
    | [in] | e | The entry to append. The list takes over the ownership of the pointed entry.  | 
  
   
- Returns
 - true if the port was appended, otherwise false. 
 
 
 
◆ Remove()
Removes the entry given by e. 
- Note
 - e is compared by pointer, so it must be either the pointer originally given to Append() or one returned from GetIndex(). 
 
- Parameters
 - 
  
    | [in] | e | The entry to remove. If the removal succeed, the ownership is transfered to the caller.  | 
  
   
- Returns
 - true if the entry was found and removed, otherwise false. 
 
 
 
◆ GetIndex()
Retrieves an entry by index. 
- Parameters
 - 
  
  
 
- Returns
 - The retrieved entry. The list owns the pointed entry. 
 
 
 
◆ FlushAll()