1 | // Copyright (c) 2014, Andreas Schuh |
2 | // All rights reserved. |
3 | // |
4 | // Redistribution and use in source and binary forms, with or without |
5 | // modification, are permitted provided that the following conditions are |
6 | // met: |
7 | // |
8 | // * Redistributions of source code must retain the above copyright |
9 | // notice, this list of conditions and the following disclaimer. |
10 | // * Redistributions in binary form must reproduce the above |
11 | // copyright notice, this list of conditions and the following disclaimer |
12 | // in the documentation and/or other materials provided with the |
13 | // distribution. |
14 | // * Neither the name of Google Inc. nor the names of its |
15 | // contributors may be used to endorse or promote products derived from |
16 | // this software without specific prior written permission. |
17 | // |
18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 | |
30 | // ----------------------------------------------------------------------------- |
31 | // Imports the gflags library symbols into an alternative/deprecated namespace. |
32 | |
33 | #ifndef GFLAGS_GFLAGS_H_ |
34 | # error The internal header gflags_gflags.h may only be included by gflags.h |
35 | #endif |
36 | |
37 | #ifndef GFLAGS_NS_GFLAGS_H_ |
38 | #define GFLAGS_NS_GFLAGS_H_ |
39 | |
40 | |
41 | namespace gflags { |
42 | |
43 | |
44 | using GFLAGS_NAMESPACE::int32; |
45 | using GFLAGS_NAMESPACE::uint32; |
46 | using GFLAGS_NAMESPACE::int64; |
47 | using GFLAGS_NAMESPACE::uint64; |
48 | |
49 | using GFLAGS_NAMESPACE::RegisterFlagValidator; |
50 | using GFLAGS_NAMESPACE::CommandLineFlagInfo; |
51 | using GFLAGS_NAMESPACE::GetAllFlags; |
52 | using GFLAGS_NAMESPACE::ShowUsageWithFlags; |
53 | using GFLAGS_NAMESPACE::ShowUsageWithFlagsRestrict; |
54 | using GFLAGS_NAMESPACE::DescribeOneFlag; |
55 | using GFLAGS_NAMESPACE::SetArgv; |
56 | using GFLAGS_NAMESPACE::GetArgvs; |
57 | using GFLAGS_NAMESPACE::GetArgv; |
58 | using GFLAGS_NAMESPACE::GetArgv0; |
59 | using GFLAGS_NAMESPACE::GetArgvSum; |
60 | using GFLAGS_NAMESPACE::ProgramInvocationName; |
61 | using GFLAGS_NAMESPACE::ProgramInvocationShortName; |
62 | using GFLAGS_NAMESPACE::ProgramUsage; |
63 | using GFLAGS_NAMESPACE::VersionString; |
64 | using GFLAGS_NAMESPACE::GetCommandLineOption; |
65 | using GFLAGS_NAMESPACE::GetCommandLineFlagInfo; |
66 | using GFLAGS_NAMESPACE::GetCommandLineFlagInfoOrDie; |
67 | using GFLAGS_NAMESPACE::FlagSettingMode; |
68 | using GFLAGS_NAMESPACE::SET_FLAGS_VALUE; |
69 | using GFLAGS_NAMESPACE::SET_FLAG_IF_DEFAULT; |
70 | using GFLAGS_NAMESPACE::SET_FLAGS_DEFAULT; |
71 | using GFLAGS_NAMESPACE::SetCommandLineOption; |
72 | using GFLAGS_NAMESPACE::SetCommandLineOptionWithMode; |
73 | using GFLAGS_NAMESPACE::FlagSaver; |
74 | using GFLAGS_NAMESPACE::CommandlineFlagsIntoString; |
75 | using GFLAGS_NAMESPACE::ReadFlagsFromString; |
76 | using GFLAGS_NAMESPACE::AppendFlagsIntoFile; |
77 | using GFLAGS_NAMESPACE::ReadFromFlagsFile; |
78 | using GFLAGS_NAMESPACE::BoolFromEnv; |
79 | using GFLAGS_NAMESPACE::Int32FromEnv; |
80 | using GFLAGS_NAMESPACE::Uint32FromEnv; |
81 | using GFLAGS_NAMESPACE::Int64FromEnv; |
82 | using GFLAGS_NAMESPACE::Uint64FromEnv; |
83 | using GFLAGS_NAMESPACE::DoubleFromEnv; |
84 | using GFLAGS_NAMESPACE::StringFromEnv; |
85 | using GFLAGS_NAMESPACE::SetUsageMessage; |
86 | using GFLAGS_NAMESPACE::SetVersionString; |
87 | using GFLAGS_NAMESPACE::ParseCommandLineNonHelpFlags; |
88 | using GFLAGS_NAMESPACE::HandleCommandLineHelpFlags; |
89 | using GFLAGS_NAMESPACE::AllowCommandLineReparsing; |
90 | using GFLAGS_NAMESPACE::ReparseCommandLineNonHelpFlags; |
91 | using GFLAGS_NAMESPACE::ShutDownCommandLineFlags; |
92 | using GFLAGS_NAMESPACE::FlagRegisterer; |
93 | |
94 | #ifndef SWIG |
95 | using GFLAGS_NAMESPACE::ParseCommandLineFlags; |
96 | #endif |
97 | |
98 | |
99 | } // namespace gflags |
100 | |
101 | |
102 | #endif // GFLAGS_NS_GFLAGS_H_ |
103 | |