wxMaxima
Protected Member Functions | Protected Attributes | List of all members
CellListBuilderBase Class Reference
Inheritance diagram for CellListBuilderBase:
Inheritance graph
[legend]
Collaboration diagram for CellListBuilderBase:
Collaboration graph
[legend]

Protected Member Functions

void base_Append (std::unique_ptr< Cell > &&cells)
 Appends one or more cells.
 
Cellbase_DynamicAppend (std::unique_ptr< Cell > &&cells, Cell *(*caster)(Cell *))
 
void ClearLastAppended ()
 Clears the pointer to the last appended cell. Useful when tree building.
 

Protected Attributes

std::unique_ptr< Cellm_head
 
Cellm_tail = {}
 
Cellm_lastAppended = {}
 

Member Function Documentation

◆ base_DynamicAppend()

Cell * CellListBuilderBase::base_DynamicAppend ( std::unique_ptr< Cell > &&  cells,
Cell *(*)(Cell *)  caster 
)
protected

Appends one or more cells if they are of the correct type, otherwise deletes them

Returns
the appended cells, or null if they weren't appended.

The documentation for this class was generated from the following files: