![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/flags/usage.h"
#include "absl/log/initialize.h"
#include "absl/strings/string_view.h"
Go to the source code of this file.
Namespaces | |
namespace |
Functions | |
void | google::InitGoogleLogging (absl::string_view usage) |
void | google::ShutdownGoogleLogging () |
void | InitGoogle (absl::string_view usage, int *argc, char ***argv, bool deprecated) |
void | InitGoogle (const char *usage, int *argc, char ***argv, bool deprecated) |
|
inline |
Initializes misc google-related things in the binary.
Typically called early on in main() and must be called before other threads start using functions from this file.
'usage' provides a short usage message passed to absl::SetProgramUsageMessage(). Most callers provide the name of the app as 'usage' ?! 'argc' and 'argv' are the command line flags to parse. There is no requirement for an element (*argv)[*argc] to exist or to have any particular value, unlike the similar array that is passed to the main function.
Definition at line 49 of file init_google.h.
|
inline |
Definition at line 55 of file init_google.h.