Crossfire Server, Trunk
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Properties
a
b
c
d
e
f
h
i
j
k
l
m
n
p
q
r
s
t
y
Related Functions
:
b
d
o
s
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
y
z
Typedefs
a
c
d
e
f
i
j
k
l
m
n
o
p
q
s
t
y
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Utils.h
Go to the documentation of this file.
1
/*
2
* Crossfire -- cooperative multi-player graphical RPG and adventure game
3
*
4
* Copyright (c) 2020-2021 the Crossfire Development Team
5
*
6
* Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7
* welcome to redistribute it under certain conditions. For details, please
8
* see COPYING and LICENSE.
9
*
10
* The authors can be reached via e-mail at <crossfire@metalforge.org>.
11
*/
12
13
#ifndef UTILS_H
14
#define UTILS_H
15
16
#include <string>
17
18
#include "
global.h
"
19
20
class
Utils
{
21
public
:
28
static
bool
endsWith
(
const
char
*
const
str
,
const
char
*
const
with);
29
36
static
void
writeLinkedChar
(
const
linked_char
*
list
,
StringBuffer
*
buf
);
37
44
static
void
writeStringArray
(
char
**items,
size_t
count
,
StringBuffer
*
buf
);
45
};
46
47
#endif
/* UTILS_H */
48
global.h
guildoracle.list
list
Definition:
guildoracle.py:87
buf
StringBuffer * buf
Definition:
readable.cpp:1565
linked_char
Definition:
global.h:96
Utils
Definition:
Utils.h:20
make_face_from_files.str
str
Definition:
make_face_from_files.py:30
disinfect.count
int count
Definition:
disinfect.py:7
StringBuffer
Definition:
stringbuffer.cpp:25
Utils::writeStringArray
static void writeStringArray(char **items, size_t count, StringBuffer *buf)
Definition:
Utils.cpp:36
Utils::endsWith
static bool endsWith(const char *const str, const char *const with)
Definition:
Utils.cpp:16
Utils::writeLinkedChar
static void writeLinkedChar(const linked_char *list, StringBuffer *buf)
Definition:
Utils.cpp:22
crossfire-crossfire-server
include
Utils.h
Generated by
1.8.17