Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
basic_format_arg< Context > Class Template Reference

#include <core.h>

Classes

class  handle
 

Public Member Functions

constexpr basic_format_arg ()
 
FMT_INLINE auto format_custom (const char_type *parse_begin, typename Context::parse_context_type &parse_ctx, Context &ctx) -> bool
 
auto is_arithmetic () const -> bool
 
auto is_integral () const -> bool
 
constexpr operator bool () const noexcept
 
auto type () const -> detail::type
 

Private Types

using char_type = typename Context::char_type
 

Private Member Functions

 basic_format_arg (const detail::named_arg_info< char_type > *args, size_t size)
 

Private Attributes

detail::type type_
 
detail::value< Context > value_
 

Friends

class basic_format_args< Context >
 
template<typename T , typename Char , size_t NUM_ARGS, size_t NUM_NAMED_ARGS>
struct detail::arg_data
 
template<typename ContextType , typename T >
FMT_CONSTEXPR auto detail::make_arg (T &value) -> basic_format_arg< ContextType >
 
class dynamic_format_arg_store< Context >
 
template<typename Visitor , typename Ctx >
FMT_CONSTEXPR auto visit_format_arg (Visitor &&vis, const basic_format_arg< Ctx > &arg) -> decltype(vis(0))
 

Detailed Description

template<typename Context>
class basic_format_arg< Context >

Definition at line 1080 of file core.h.

Member Typedef Documentation

◆ char_type

template<typename Context >
using basic_format_arg< Context >::char_type = typename Context::char_type
private

Definition at line 1644 of file core.h.

Constructor & Destructor Documentation

◆ basic_format_arg() [1/2]

template<typename Context >
basic_format_arg< Context >::basic_format_arg ( const detail::named_arg_info< char_type > *  args,
size_t  size 
)
inlineprivate

Definition at line 1649 of file core.h.

◆ basic_format_arg() [2/2]

template<typename Context >
constexpr basic_format_arg< Context >::basic_format_arg ( )
inlineconstexpr

Definition at line 1666 of file core.h.

Member Function Documentation

◆ format_custom()

template<typename Context >
FMT_INLINE auto basic_format_arg< Context >::format_custom ( const char_type parse_begin,
typename Context::parse_context_type &  parse_ctx,
Context &  ctx 
) -> bool
inline

Definition at line 1679 of file core.h.

◆ is_arithmetic()

template<typename Context >
auto basic_format_arg< Context >::is_arithmetic ( ) const -> bool
inline

Definition at line 1675 of file core.h.

◆ is_integral()

template<typename Context >
auto basic_format_arg< Context >::is_integral ( ) const -> bool
inline

Definition at line 1674 of file core.h.

◆ operator bool()

template<typename Context >
constexpr basic_format_arg< Context >::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 1668 of file core.h.

◆ type()

template<typename Context >
auto basic_format_arg< Context >::type ( ) const -> detail::type
inline

Definition at line 1672 of file core.h.

Friends And Related Function Documentation

◆ basic_format_args< Context >

template<typename Context >
friend class basic_format_args< Context >
friend

Definition at line 1641 of file core.h.

◆ detail::arg_data

template<typename Context >
template<typename T , typename Char , size_t NUM_ARGS, size_t NUM_NAMED_ARGS>
friend struct detail::arg_data
friend

Definition at line 1647 of file core.h.

◆ detail::make_arg

template<typename Context >
template<typename ContextType , typename T >
FMT_CONSTEXPR auto detail::make_arg ( T &  value) -> basic_format_arg< ContextType >
friend

◆ dynamic_format_arg_store< Context >

template<typename Context >
friend class dynamic_format_arg_store< Context >
friend

Definition at line 1642 of file core.h.

◆ visit_format_arg

template<typename Context >
template<typename Visitor , typename Ctx >
FMT_CONSTEXPR auto visit_format_arg ( Visitor &&  vis,
const basic_format_arg< Ctx > &  arg 
) -> decltype(vis(0))
friend

Member Data Documentation

◆ type_

template<typename Context >
detail::type basic_format_arg< Context >::type_
private

Definition at line 1630 of file core.h.

◆ value_

template<typename Context >
detail::value<Context> basic_format_arg< Context >::value_
private

Definition at line 1629 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:28