Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
absl::flags_internal::FlagRegistry Class Reference

List of all members.

Public Member Functions

CommandLineFlagFindFlagLocked (absl::string_view name)
CommandLineFlagFindFlagViaPtrLocked (const void *flag_ptr)
CommandLineFlagFindRetiredFlagLocked (absl::string_view name)
 FlagRegistry ()
void Lock () EXCLUSIVE_LOCK_FUNCTION(lock_)
void RegisterFlag (CommandLineFlag *flag, const void *ptr)
void Unlock () UNLOCK_FUNCTION(lock_)
 ~FlagRegistry ()

Static Public Member Functions

static FlagRegistryGlobalRegistry ()

Private Member Functions

 FlagRegistry (const FlagRegistry &)
FlagRegistryoperator= (const FlagRegistry &)

Private Attributes

FlagPtrMap flag_ptr_map_
FlagMap flags_
absl::Mutex lock_

Friends

class FlagSaverImpl
void ForEachFlagUnlocked (std::function< void(CommandLineFlag *)> visitor)

Detailed Description

Definition at line 110 of file registry.cc.


Constructor & Destructor Documentation

Definition at line 113 of file registry.cc.


Member Function Documentation

Definition at line 233 of file registry.cc.

Definition at line 256 of file registry.cc.

Definition at line 247 of file registry.cc.

Definition at line 160 of file registry.cc.

Definition at line 124 of file registry.cc.

FlagRegistry& absl::flags_internal::FlagRegistry::operator= ( const FlagRegistry ) [private]
void absl::flags_internal::FlagRegistry::RegisterFlag ( CommandLineFlag flag,
const void *  ptr 
)

Definition at line 178 of file registry.cc.

Definition at line 125 of file registry.cc.


Friends And Related Function Documentation

friend class FlagSaverImpl [friend]

Definition at line 141 of file registry.cc.

void ForEachFlagUnlocked ( std::function< void(CommandLineFlag *)>  visitor) [friend]

Definition at line 451 of file registry.cc.


Member Data Documentation

Definition at line 151 of file registry.cc.

Definition at line 149 of file registry.cc.

Definition at line 153 of file registry.cc.


The documentation for this class was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16