Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
cetlib
cetlib
lpad.h
Go to the documentation of this file.
1
#ifndef cetlib_lpad_h
2
#define cetlib_lpad_h
3
4
// ======================================================================
5
//
6
// lpad: Left-pad a string to the wanted size, unless already longer
7
//
8
// ======================================================================
9
10
#include <string>
11
12
namespace
cet
{
13
std::string
lpad
(
std::string
const
& pad_me,
14
std::string::size_type wanted_size,
15
char
char_to_pad_with =
' '
);
16
}
17
18
#endif
/* cetlib_lpad_h */
19
20
// Local Variables:
21
// mode: c++
22
// End:
string
std::string string
Definition:
nybbler.cc:12
cet::lpad
std::string lpad(std::string const &pad_me, std::string::size_type wanted_size, char char_to_pad_with= ' ')
Definition:
lpad.cc:10
cet
Definition:
PluginSymbolResolvers.h:8
Generated by
1.8.11