00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef PALUDIS_GUARD_PALUDIS_ARGS_ARGS_DUMPER_HH
00021 #define PALUDIS_GUARD_PALUDIS_ARGS_ARGS_DUMPER_HH 1
00022
00023 #include <iosfwd>
00024 #include <paludis/args/args_visitor.hh>
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 namespace paludis
00037 {
00038 namespace args
00039 {
00040 class ArgsOption;
00041 class SwitchArg;
00042 class StringArg;
00043 class IntegerArg;
00044 class AliasArg;
00045 class EnumArg;
00046
00047
00048
00049
00050
00051
00052 class PALUDIS_VISIBLE ArgsDumper
00053 {
00054 private:
00055 std::ostream & _os;
00056
00057 void generic_visit(const ArgsOption &);
00058
00059 public:
00060
00061
00062
00063 ArgsDumper(std::ostream & os);
00064
00065
00066 void visit(const SwitchArg &);
00067
00068
00069 void visit(const StringArg &);
00070
00071
00072 void visit(const IntegerArg &);
00073
00074
00075 void visit(const AliasArg &);
00076
00077
00078 void visit(const EnumArg &);
00079
00080
00081 void visit(const StringSetArg &);
00082
00083
00084 void visit(const StringSequenceArg &);
00085 };
00086 }
00087 }
00088
00089 #endif