pad.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8// psrchive/Util/units/pad.h
9
10#ifndef __UTILS_UNITS_PAD_H
11#define __UTILS_UNITS_PAD_H
12
13#include <string>
14
15// Pad text with spaces up to length, to the right or left of the original
16std::string pad (unsigned length, const std::string& text, bool right = true);
17
18#endif

Generated using doxygen 1.14.0