draft backup
[platform/upstream/libzypp.git] / zypp / base / String.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/base/String.h
10  *
11 */
12 #ifndef ZYPP_BASE_STRING_H
13 #define ZYPP_BASE_STRING_H
14
15 #include <iosfwd>
16 #include <string>
17
18 ///////////////////////////////////////////////////////////////////
19 namespace zypp
20 { /////////////////////////////////////////////////////////////////
21   ///////////////////////////////////////////////////////////////////
22   namespace base
23   { /////////////////////////////////////////////////////////////////
24
25     ///////////////////////////////////////////////////////////////////
26     namespace string
27     { /////////////////////////////////////////////////////////////////
28
29       /** Printf style construction of std::string. */
30       std::string form( const char * format, ... )
31       __attribute__ ((format (printf, 1, 2)));
32
33       /////////////////////////////////////////////////////////////////
34     } // namespace string
35     ///////////////////////////////////////////////////////////////////
36
37     /////////////////////////////////////////////////////////////////
38   } // namespace base
39   ///////////////////////////////////////////////////////////////////
40   /////////////////////////////////////////////////////////////////
41 } // namespace zypp
42 ///////////////////////////////////////////////////////////////////
43 #endif // ZYPP_BASE_STRING_H