![]()
|
Top: Basic types: Lists: strlist: Constructors/destructors #include <ptypes.h> enum slflags { SL_SORTED = 0x0001, SL_DUPLICATES = 0x0002, SL_CASESENS = 0x0004, SL_OWNOBJECTS = 0x0008 }; strlist::strlist(); strlist::strlist(slflags iflags); virtual strlist::~strlist(); strlist::strlist() -- default constructor; creates an unsorted string list which does not own objects. strlist::strlist(slflags iflags) -- with this constructor additional options can be specified:
These features are set only during construction of a string list object and can not be changed later. strlist::~strlist() -- destroys member objects if SL_OWNOBJECTS was specified during creation of this string list, or otherwise only destroys the array and the strings. See also: Manipulation, Search PTypes home |