Go to the source code of this file.
|
#define | ABSL_FLAG(Type, name, default_value, help) ABSL_FLAG_IMPL(Type, name, default_value, help) |
|
#define | ABSL_FLAG_IMPL(Type, name, default_value, help) |
|
#define | ABSL_FLAG_IMPL_DECLARE_DEF_VAL_WRAPPER(name, Type, default_value) |
|
#define | ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(name, txt) |
|
#define | ABSL_FLAG_IMPL_FILENAME() __FILE__ |
|
#define | ABSL_FLAG_IMPL_FLAGHELP(txt) txt |
|
#define | ABSL_FLAG_IMPL_FLAGNAME(txt) txt |
|
#define | ABSL_FLAG_IMPL_REGISTRAR(T, flag) absl::flags_internal::FlagRegistrar<T, true>(&flag) |
|
#define | ABSL_FLAGS_INTERNAL_LOCK_FREE_EXPORT(T) extern T GetFlag(const absl::Flag<T>& flag); |
|
#define | ABSL_FLAGS_INTERNAL_LOCK_FREE_VALIDATE(BIT) |
|
#define | ABSL_RETIRED_FLAG(type, flagname, default_value, explanation) |
|
◆ ABSL_FLAG
◆ ABSL_FLAG_IMPL
#define ABSL_FLAG_IMPL |
( |
|
Type, |
|
|
|
name, |
|
|
|
default_value, |
|
|
|
help |
|
) |
| |
Value: ABSL_FLAG_IMPL_DECLARE_DEF_VAL_WRAPPER(
name, Type, default_value) \
ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER(
name, help) \
absl::Flag<Type> FLAGS_##
name( \
&AbslFlagsWrapHelp##
name, \
&absl::flags_internal::FlagMarshallingOps<Type>, \
&AbslFlagsInitFlag##name); \
extern
bool FLAGS_no##
name; \
#define ABSL_FLAG_IMPL_REGISTRAR(T, flag)
#define ABSL_FLAG_IMPL_FILENAME()
#define ABSL_FLAG_IMPL_FLAGNAME(txt)
Definition at line 242 of file flag.h.
◆ ABSL_FLAG_IMPL_DECLARE_DEF_VAL_WRAPPER
#define ABSL_FLAG_IMPL_DECLARE_DEF_VAL_WRAPPER |
( |
|
name, |
|
|
|
Type, |
|
|
|
default_value |
|
) |
| |
Value:static void* AbslFlagsInitFlag##
name() { \
return absl::flags_internal::MakeFromDefaultValue<Type>(default_value); \
}
Definition at line 232 of file flag.h.
◆ ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER
#define ABSL_FLAG_IMPL_DECLARE_HELP_WRAPPER |
( |
|
name, |
|
|
|
txt |
|
) |
| |
Value:static std::string AbslFlagsWrapHelp##
name() { \
}
#define ABSL_FLAG_IMPL_FLAGHELP(txt)
Definition at line 227 of file flag.h.
◆ ABSL_FLAG_IMPL_FILENAME
#define ABSL_FLAG_IMPL_FILENAME |
( |
| ) |
__FILE__ |
◆ ABSL_FLAG_IMPL_FLAGHELP
#define ABSL_FLAG_IMPL_FLAGHELP |
( |
|
txt | ) |
txt |
◆ ABSL_FLAG_IMPL_FLAGNAME
#define ABSL_FLAG_IMPL_FLAGNAME |
( |
|
txt | ) |
txt |
◆ ABSL_FLAG_IMPL_REGISTRAR
◆ ABSL_FLAGS_INTERNAL_LOCK_FREE_EXPORT
#define ABSL_FLAGS_INTERNAL_LOCK_FREE_EXPORT |
( |
|
T | ) |
extern T GetFlag(const absl::Flag<T>& flag); |
◆ ABSL_FLAGS_INTERNAL_LOCK_FREE_VALIDATE
#define ABSL_FLAGS_INTERNAL_LOCK_FREE_VALIDATE |
( |
|
BIT | ) |
|
Value:static_assert( \
"Do not specify explicit template parameters to absl::GetFlag");
◆ ABSL_RETIRED_FLAG
#define ABSL_RETIRED_FLAG |
( |
|
type, |
|
|
|
flagname, |
|
|
|
default_value, |
|
|
|
explanation |
|
) |
| |
Value: ([] { return type(default_value); }, \
absl::flags_internal::RetiredFlag<type>(#flagname))
#define ABSL_ATTRIBUTE_UNUSED
Definition at line 276 of file flag.h.