format_it.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2003 by Haydon Knight
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9#ifndef __format_it_h_
10#define __format_it_h_
11
12#include <string>
13#include <vector>
14
15// See format.C to see how to use these functions
16
17// Formats a file into a set of lines
18std::vector<std::string>
19format_file (std::string filename, unsigned extra_spaces,
20 std::vector<unsigned>* rjustify_columns=0);
21
22// Formats a set of lines
23void format_it (std::vector<std::string>& lines, unsigned extra_spaces,
24 std::vector<unsigned>* rjustify_columns=0);
25
26#endif

Generated using doxygen 1.14.0