paludis  Version 2.6.0
unformatted_pretty_printer.hh
1 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
2 
3 /*
4  * Copyright (c) 2010, 2011 Ciaran McCreesh
5  *
6  * This file is part of the Paludis package manager. Paludis is free software;
7  * you can redistribute it and/or modify it under the terms of the GNU General
8  * Public License version 2, as published by the Free Software Foundation.
9  *
10  * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
11  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17  * Place, Suite 330, Boston, MA 02111-1307 USA
18  */
19 
20 #ifndef PALUDIS_GUARD_PALUDIS_UNFORMATTED_PRETTY_PRINTER_HH
21 #define PALUDIS_GUARD_PALUDIS_UNFORMATTED_PRETTY_PRINTER_HH 1
22 
23 #include <paludis/pretty_printer.hh>
24 
25 namespace paludis
26 {
28  public PrettyPrinter
29  {
30  public:
32 
33  virtual const std::string indentify(const int) const;
34  virtual const std::string newline() const;
35 
36  virtual const std::string prettify(const PackageDepSpec &) const;
37  virtual const std::string prettify(const BlockDepSpec &) const;
38  virtual const std::string prettify(const ConditionalDepSpec &) const;
39  virtual const std::string prettify(const NamedSetDepSpec &) const;
40  virtual const std::string prettify(const SimpleURIDepSpec &) const;
41  virtual const std::string prettify(const PlainTextDepSpec &) const;
42  virtual const std::string prettify(const LicenseDepSpec &) const;
43  virtual const std::string prettify(const FetchableURIDepSpec &) const;
44  virtual const std::string prettify(const URILabelsDepSpec &) const;
45  virtual const std::string prettify(const DependenciesLabelsDepSpec &) const;
46  virtual const std::string prettify(const PlainTextLabelDepSpec &) const;
47 
48  virtual const std::string prettify(const std::shared_ptr<const PackageID> &) const;
49 
50  virtual const std::string prettify(const bool) const;
51 
52  virtual const std::string prettify(const long) const;
53 
54  virtual const std::string prettify(const std::string &) const;
55 
56  virtual const std::string prettify(const std::pair<const std::string, std::string> &) const;
57 
58  virtual const std::string prettify(const FSPath &) const;
59 
60  virtual const std::string prettify(const KeywordName &) const;
61 
62  virtual const std::string prettify(const Maintainer &) const;
63  };
64 }
65 
66 #endif
Definition: unformatted_pretty_printer.hh:27
Definition: about_metadata-fwd.hh:23
Definition: dep_spec.hh:529
Definition: dep_spec.hh:477
Definition: dep_spec.hh:570
Definition: dep_spec-fwd.hh:50
Definition: pretty_printer.hh:35
Definition: dep_spec.hh:611
Definition: maintainer.hh:43
Definition: dep_spec.hh:345
Definition: dep_spec.hh:696
Definition: wrapped_value-fwd.hh:29
Definition: fs_path.hh:33
Definition: dep_spec.hh:504
Definition: dep_spec.hh:457
Definition: dep_spec.hh:201
#define PALUDIS_VISIBLE
Definition: attributes.hh:59