ScummVM API documentation
Titanic::TTnode Class Reference
Inheritance diagram for Titanic::TTnode:
Titanic::TTparserNode Titanic::TTsentenceNode Titanic::TTstringNode Titanic::TTsynonym

Public Member Functions

void addToHead (TTnode *newNode)
 
void addToTail (TTnode *newNode)
 
void detach ()
 
void deleteSiblings ()
 
TTnodegetHead ()
 
TTnodegetTail ()
 

Public Attributes

TTnode_priorP
 
TTnode_nextP
 

Member Function Documentation

◆ addToHead()

void Titanic::TTnode::addToHead ( TTnode newNode)

Adds a new node at the beginning of the linked list

◆ addToTail()

void Titanic::TTnode::addToTail ( TTnode newNode)

Links the passed node to this node as a linked list

◆ detach()

void Titanic::TTnode::detach ( )

Detaches a node from any predecessor and/or successor

◆ deleteSiblings()

void Titanic::TTnode::deleteSiblings ( )

Delete any sibling chain attached to this node

◆ getHead()

TTnode* Titanic::TTnode::getHead ( )

Returns the first node at the beginning of a linked list of nodes

◆ getTail()

TTnode* Titanic::TTnode::getTail ( )

Returns the final node at the end of the linked list of nodes


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