libUTL++
StringSet.h
1
#pragma once
2
4
5
#include <libutl/RBtree.h>
6
#include <libutl/String.h>
7
9
10
UTL_NS_BEGIN;
11
13
21
23
class
StringSet
:
public
TRBtree
<String>
24
{
25
UTL_CLASS_DECL
(
StringSet
,
TRBtree<String>
);
26
27
public
:
32
StringSet
(
bool
owner);
33
39
bool
add(
const
String
& str);
40
46
String
* find(
const
String
& key)
const
;
47
48
private
:
49
void
init
(
bool
owner =
true
);
50
void
51
deInit
()
52
{
53
}
54
};
55
57
58
UTL_NS_END;
utl::deInit
void deInit()
De-initialize UTL++.
UTL_CLASS_DECL
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Definition:
macros.h:688
utl::String
Character string.
Definition:
String.h:31
utl::TRBtree
Template version of RBtree.
Definition:
TRBtree.h:25
utl::StringSet
Set of strings.
Definition:
StringSet.h:23
utl::init
void init()
Initialize UTL++.
ucc
StringSet.h
Generated on Tue Feb 7 2017 20:11:33 for libUTL++ by
1.8.13