![]() |
wxMaxima
|
Manages building a list of cells, keeping the head and tail of the list. More...
#include <CellList.h>
Public Member Functions | |
operator bool () const | |
Returns true if the tree is non-empty. | |
operator std::unique_ptr< T > () && | |
Passes on the ownership of the list head. | |
T * | ReleaseHead () |
std::unique_ptr< T > | TakeHead () |
Passes on the ownership of the list head. | |
T * | GetTail () const |
Provides the last cell in the list (if any). | |
T * | GetLastAppended () const |
Provides the most cell passed to the most recent Append call. | |
T * | Append (T *cells) |
Appends one or more cells. | |
T * | DynamicAppend (Cell *cells) |
T * | DynamicAppend (std::unique_ptr< Cell > &&cells) |
T * | Append (std::unique_ptr< T > &&cells) |
Appends one or more cells. | |
void | ClearLastAppended () |
Clears the pointer to the last appended cell. Useful when tree building. | |
Manages building a list of cells, keeping the head and tail of the list.
|
inline |
Appends one or more cells if they are all of the correct type, otherwise deletes them.
|
inline |
Appends one or more cells if they are all of the correct type, otherwise deletes them.
|
inline |