16 #ifndef ABSL_FLAGS_INTERNAL_REGISTRY_H_ 17 #define ABSL_FLAGS_INTERNAL_REGISTRY_H_ 30 namespace flags_internal {
73 void GetAllFlags(std::vector<CommandLineFlagInfo>* OUTPUT);
128 template <
typename T>
131 flags_internal::FlagMarshallingOps<T>,
156 void operator=(
const FlagSaver&) =
delete;
168 #endif // ABSL_FLAGS_INTERNAL_REGISTRY_H_
std::string default_value
void ForEachFlagUnlocked(std::function< void(CommandLineFlag *)> visitor)
class FlagSaverImpl * impl_
void GetAllFlags(std::vector< CommandLineFlagInfo > *OUTPUT)
void *(*)(FlagOp, const void *, void *) FlagOpFn
void *(*)(FlagOp, const void *, void *, void *) FlagMarshallingOpFn
CommandLineFlag * FindCommandLineFlag(absl::string_view name)
void FillCommandLineFlagInfo(CommandLineFlag *flag, CommandLineFlagInfo *result)
std::string current_value
CommandLineFlag * FindCommandLineV1Flag(const void *flag_ptr)
bool Retire(FlagOpFn ops, FlagMarshallingOpFn marshalling_ops, const char *name)
CommandLineFlag * FindRetiredFlag(absl::string_view name)
bool IsRetiredFlag(absl::string_view name, bool *type_is_bool)
bool RetiredFlag(const char *flag_name)
bool RegisterCommandLineFlag(CommandLineFlag *flag, const void *ptr)
void ForEachFlag(std::function< void(CommandLineFlag *)> visitor)