Classdesc
3.D29
Main Page
Namespaces
Classes
Files
File List
File Members
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
xml_common.h
Generated by
1.8.6