Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
i
j
m
n
o
p
r
s
t
u
x
+
Functions
a
b
c
d
e
i
j
m
o
p
r
s
t
u
x
Variables
Typedefs
Enumerations
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
x
+
Variables
a
c
f
h
i
k
l
m
n
o
p
r
s
t
x
Typedefs
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
xml_common.h
1
/*
2
@copyright Russell Standish 2000-2013
3
@author Russell Standish
4
This file is part of Classdesc
5
6
Open source licensed under the MIT license. See LICENSE for details.
7
*/
8
9
#ifndef XML_COMMON_H
10
#define XML_COMMON_H
11
namespace
classdesc
12
{
14
inline
std::string
idx
(
const
std::string& prefix,
size_t
i)
15
{
16
std::ostringstream s;
17
s<<prefix<<
"#"
<<i;
18
return
s.str();
19
}
20
}
21
22
#endif
classdesc::idx
std::string idx(const std::string &prefix, size_t i)
utility for generating index keys (for use with arrays)
Definition:
xml_common.h:14
classdesc
Contains definitions related to classdesc functionality.
Definition:
arrays.h:2514
include
xml_common.h
Generated by
1.8.13