Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
absl::flags_internal::HelpText Class Reference

#include <commandlineflag.h>

Public Member Functions

std::string GetHelpText () const
 
 HelpText ()=delete
 
 HelpText (const HelpText &)=default
 
 HelpText (HelpText &&)=default
 

Static Public Member Functions

static constexpr HelpText FromFunctionPointer (const HelpGenFunc fn)
 
static constexpr HelpText FromStaticCString (const char *msg)
 

Private Member Functions

constexpr HelpText (const HelpGenFunc fn, const char *msg)
 

Private Attributes

HelpGenFunc help_function_
 
const char * help_message_
 

Detailed Description

Definition at line 171 of file commandlineflag.h.

Constructor & Destructor Documentation

◆ HelpText() [1/4]

absl::flags_internal::HelpText::HelpText ( )
delete

◆ HelpText() [2/4]

absl::flags_internal::HelpText::HelpText ( const HelpText )
default

◆ HelpText() [3/4]

absl::flags_internal::HelpText::HelpText ( HelpText &&  )
default

◆ HelpText() [4/4]

constexpr absl::flags_internal::HelpText::HelpText ( const HelpGenFunc  fn,
const char *  msg 
)
inlineexplicitprivate

Definition at line 187 of file commandlineflag.h.

Member Function Documentation

◆ FromFunctionPointer()

static constexpr HelpText absl::flags_internal::HelpText::FromFunctionPointer ( const HelpGenFunc  fn)
inlinestatic

Definition at line 173 of file commandlineflag.h.

◆ FromStaticCString()

static constexpr HelpText absl::flags_internal::HelpText::FromStaticCString ( const char *  msg)
inlinestatic

Definition at line 176 of file commandlineflag.h.

◆ GetHelpText()

std::string absl::flags_internal::HelpText::GetHelpText ( ) const

Definition at line 173 of file commandlineflag.cc.

Member Data Documentation

◆ help_function_

HelpGenFunc absl::flags_internal::HelpText::help_function_
private

Definition at line 190 of file commandlineflag.h.

◆ help_message_

const char* absl::flags_internal::HelpText::help_message_
private

Definition at line 191 of file commandlineflag.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23