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 ()
 
auto is_arithmetic () const -> bool
 
auto is_integral () const -> bool
 
constexpr operator bool () const FMT_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 (const 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 699 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 1414 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 1419 of file core.h.

◆ basic_format_arg() [2/2]

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

Definition at line 1436 of file core.h.

Member Function Documentation

◆ is_arithmetic()

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

Definition at line 1445 of file core.h.

◆ is_integral()

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

Definition at line 1444 of file core.h.

◆ operator bool()

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

Definition at line 1438 of file core.h.

◆ type()

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

Definition at line 1442 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 1411 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 1417 of file core.h.

◆ detail::make_arg

template<typename Context>
template<typename ContextType , typename T >
FMT_CONSTEXPR auto detail::make_arg ( const 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 1412 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 1400 of file core.h.

◆ value_

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

Definition at line 1399 of file core.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54