| // Copyright (c) 2014, Andreas Schuh |
| // All rights reserved. |
| // |
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| // |
| // * Redistributions of source code must retain the above copyright |
| // notice, this list of conditions and the following disclaimer. |
| // * Redistributions in binary form must reproduce the above |
| // copyright notice, this list of conditions and the following disclaimer |
| // in the documentation and/or other materials provided with the |
| // distribution. |
| // * Neither the name of Google Inc. nor the names of its |
| // contributors may be used to endorse or promote products derived from |
| // this software without specific prior written permission. |
| // |
| // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| |
| // ----------------------------------------------------------------------------- |
| // Imports the gflags library symbols into an alternative/deprecated namespace. |
| |
| #ifndef GFLAGS_GFLAGS_H_ |
| # error The internal header gflags_gflags.h may only be included by gflags.h |
| #endif |
| |
| #ifndef GFLAGS_NS_GFLAGS_H_ |
| #define GFLAGS_NS_GFLAGS_H_ |
| |
| |
| namespace gflags { |
| |
| |
| using GFLAGS_NAMESPACE::int32; |
| using GFLAGS_NAMESPACE::uint32; |
| using GFLAGS_NAMESPACE::int64; |
| using GFLAGS_NAMESPACE::uint64; |
| |
| using GFLAGS_NAMESPACE::RegisterFlagValidator; |
| using GFLAGS_NAMESPACE::CommandLineFlagInfo; |
| using GFLAGS_NAMESPACE::GetAllFlags; |
| using GFLAGS_NAMESPACE::ShowUsageWithFlags; |
| using GFLAGS_NAMESPACE::ShowUsageWithFlagsRestrict; |
| using GFLAGS_NAMESPACE::DescribeOneFlag; |
| using GFLAGS_NAMESPACE::SetArgv; |
| using GFLAGS_NAMESPACE::GetArgvs; |
| using GFLAGS_NAMESPACE::GetArgv; |
| using GFLAGS_NAMESPACE::GetArgv0; |
| using GFLAGS_NAMESPACE::GetArgvSum; |
| using GFLAGS_NAMESPACE::ProgramInvocationName; |
| using GFLAGS_NAMESPACE::ProgramInvocationShortName; |
| using GFLAGS_NAMESPACE::ProgramUsage; |
| using GFLAGS_NAMESPACE::VersionString; |
| using GFLAGS_NAMESPACE::GetCommandLineOption; |
| using GFLAGS_NAMESPACE::GetCommandLineFlagInfo; |
| using GFLAGS_NAMESPACE::GetCommandLineFlagInfoOrDie; |
| using GFLAGS_NAMESPACE::FlagSettingMode; |
| using GFLAGS_NAMESPACE::SET_FLAGS_VALUE; |
| using GFLAGS_NAMESPACE::SET_FLAG_IF_DEFAULT; |
| using GFLAGS_NAMESPACE::SET_FLAGS_DEFAULT; |
| using GFLAGS_NAMESPACE::SetCommandLineOption; |
| using GFLAGS_NAMESPACE::SetCommandLineOptionWithMode; |
| using GFLAGS_NAMESPACE::FlagSaver; |
| using GFLAGS_NAMESPACE::CommandlineFlagsIntoString; |
| using GFLAGS_NAMESPACE::ReadFlagsFromString; |
| using GFLAGS_NAMESPACE::AppendFlagsIntoFile; |
| using GFLAGS_NAMESPACE::ReadFromFlagsFile; |
| using GFLAGS_NAMESPACE::BoolFromEnv; |
| using GFLAGS_NAMESPACE::Int32FromEnv; |
| using GFLAGS_NAMESPACE::Int64FromEnv; |
| using GFLAGS_NAMESPACE::Uint64FromEnv; |
| using GFLAGS_NAMESPACE::DoubleFromEnv; |
| using GFLAGS_NAMESPACE::StringFromEnv; |
| using GFLAGS_NAMESPACE::SetUsageMessage; |
| using GFLAGS_NAMESPACE::SetVersionString; |
| using GFLAGS_NAMESPACE::ParseCommandLineNonHelpFlags; |
| using GFLAGS_NAMESPACE::HandleCommandLineHelpFlags; |
| using GFLAGS_NAMESPACE::AllowCommandLineReparsing; |
| using GFLAGS_NAMESPACE::ReparseCommandLineNonHelpFlags; |
| using GFLAGS_NAMESPACE::ShutDownCommandLineFlags; |
| using GFLAGS_NAMESPACE::FlagRegisterer; |
| |
| #ifndef SWIG |
| using GFLAGS_NAMESPACE::ParseCommandLineFlags; |
| #endif |
| |
| |
| } // namespace gflags |
| |
| |
| #endif // GFLAGS_NS_GFLAGS_H_ |