#include <wordlist.h>

Collaboration diagram for wordlist:

Public Member Functions

 wordlist ()
 
 wordlist (const char *k)
 
 wordlist (const wordlist &)=delete
 
wordlistoperator= (const wordlist &)=delete
 

Public Attributes

char * key
 
wordlistnext
 

Private Member Functions

 MEMPROXY_CLASS (wordlist)
 
 ~wordlist ()=default
 

Friends

char * wordlistChopHead (wordlist **)
 

Detailed Description

A list of C-strings

Deprecated:
use SBufList instead

Definition at line 19 of file wordlist.h.

Constructor & Destructor Documentation

◆ wordlist() [1/3]

wordlist::wordlist ( )
inline

Definition at line 25 of file wordlist.h.

◆ wordlist() [2/3]

wordlist::wordlist ( const char *  k)
inlineexplicit

Definition at line 27 of file wordlist.h.

◆ wordlist() [3/3]

wordlist::wordlist ( const wordlist )
delete

◆ ~wordlist()

wordlist::~wordlist ( )
privatedefault

Member Function Documentation

◆ MEMPROXY_CLASS()

wordlist::MEMPROXY_CLASS ( wordlist  )
private

◆ operator=()

wordlist & wordlist::operator= ( const wordlist )
delete

Friends And Related Function Documentation

◆ wordlistChopHead

char * wordlistChopHead ( wordlist **  )
friend

Remove and destroy the first element while preserving and returning its key

Note
the returned key must be freed by the caller using safe_free
wl is altered so that it points to the second element
Returns
nullptr if pointed-to wordlist is nullptr.

Definition at line 55 of file wordlist.cc.

Member Data Documentation

◆ key

◆ next


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors