KDbUtils::StaticSetOfStrings

Search for usage in LXR

KDbUtils::StaticSetOfStrings Class Reference

#include <KDbUtils.h>

Public Member Functions

 StaticSetOfStrings (const char *const array[])
 
bool contains (const QByteArray &string) const
 
bool isEmpty () const
 
void setStrings (const char *const array[])
 

Detailed Description

A set created from static (0-terminated) array of raw null-terminated strings.

Definition at line 387 of file KDbUtils.h.

Constructor & Destructor Documentation

◆ StaticSetOfStrings() [1/2]

StaticSetOfStrings::StaticSetOfStrings ( )

Definition at line 337 of file KDbUtils.cpp.

◆ StaticSetOfStrings() [2/2]

StaticSetOfStrings::StaticSetOfStrings ( const char *const array[])
explicit

Definition at line 342 of file KDbUtils.cpp.

◆ ~StaticSetOfStrings()

StaticSetOfStrings::~StaticSetOfStrings ( )

Definition at line 348 of file KDbUtils.cpp.

Member Function Documentation

◆ contains()

bool StaticSetOfStrings::contains ( const QByteArray & string) const
Returns
true if string can be found within set, comparison is case sensitive

Definition at line 365 of file KDbUtils.cpp.

◆ isEmpty()

bool StaticSetOfStrings::isEmpty ( ) const

Definition at line 360 of file KDbUtils.cpp.

◆ setStrings()

void StaticSetOfStrings::setStrings ( const char *const array[])

Definition at line 353 of file KDbUtils.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.