Qucs-core  0.0.19
Public Member Functions | Static Public Member Functions | Private Attributes | Friends
qucs::strlist Class Reference

#include <strlist.h>

Collaboration diagram for qucs::strlist:
Collaboration graph
[legend]

Public Member Functions

 strlist ()
 strlist (const strlist &)
 ~strlist ()
void add (const char *const)
void add (const strlist *const)
void append (const char *const)
void append (const strlist *const)
int length (void) const
int contains (const char *const) const
char * get (int) const
char * first (void) const
char * last (void) const
int index (char *)
void del (strlist *)
char * toString (const char *concat=" ")

Static Public Member Functions

static strlistjoin (strlist *, strlist *)

Private Attributes

struct strlist_troot
char * txt

Friends

class strlistiterator

Detailed Description

Definition at line 37 of file strlist.h.


Constructor & Destructor Documentation

qucs::strlist::strlist ( )

Definition at line 38 of file strlist.cpp.

qucs::strlist::strlist ( const strlist o)

Definition at line 45 of file strlist.cpp.

qucs::strlist::~strlist ( )

Definition at line 53 of file strlist.cpp.


Member Function Documentation

void qucs::strlist::add ( const char * const  str)

Definition at line 65 of file strlist.cpp.

void qucs::strlist::add ( const strlist * const  lst)

Definition at line 74 of file strlist.cpp.

void qucs::strlist::append ( const char * const  str)

Definition at line 87 of file strlist.cpp.

void qucs::strlist::append ( const strlist * const  lst)

Definition at line 81 of file strlist.cpp.

int qucs::strlist::contains ( const char * const  str) const

Definition at line 110 of file strlist.cpp.

void qucs::strlist::del ( strlist cand)

Definition at line 155 of file strlist.cpp.

char * qucs::strlist::first ( void  ) const

Definition at line 148 of file strlist.cpp.

char * qucs::strlist::get ( int  pos) const

Definition at line 132 of file strlist.cpp.

int qucs::strlist::index ( char *  str)

Definition at line 121 of file strlist.cpp.

strlist * qucs::strlist::join ( strlist pre,
strlist post 
) [static]

Definition at line 171 of file strlist.cpp.

char * qucs::strlist::last ( void  ) const

Definition at line 140 of file strlist.cpp.

int qucs::strlist::length ( void  ) const

Definition at line 103 of file strlist.cpp.

char * qucs::strlist::toString ( const char *  concat = " ")

Definition at line 180 of file strlist.cpp.


Friends And Related Function Documentation

friend class strlistiterator [friend]

Definition at line 39 of file strlist.h.


Field Documentation

struct strlist_t* qucs::strlist::root [private]

Definition at line 60 of file strlist.h.

char* qucs::strlist::txt [private]

Definition at line 61 of file strlist.h.


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