Modernized GAlib  3.0.0 current
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
GAListBASE Class Reference
Inheritance diagram for GAListBASE:
[legend]
Collaboration diagram for GAListBASE:
[legend]

Public Types

enum  Location { HEAD = 0 , TAIL , BEFORE , AFTER }
 
enum  { NO_ERR = 0 , ERR = -1 }
 

Public Member Functions

 GAListBASE (GANodeBASE *n)
 
int size () const
 

Protected Member Functions

GANodeBASEremove (GANodeBASE *n)
 
int insert (GANodeBASE *n, GANodeBASE *idx, Location where=AFTER)
 
int swapnode (GANodeBASE *a, GANodeBASE *b)
 

Protected Attributes

int sz
 
int csz
 
GANodeBASEhd
 

Friends

class GAListIterBASE
 

Member Function Documentation

◆ insert()

int GAListBASE::insert ( GANodeBASE n,
GANodeBASE idx,
Location  where = AFTER 
)
protected
Parameters
n
idx
where
Returns
int

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