HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detail Namespace Reference

Namespaces

 dragonbox
 

Classes

struct  null
 
struct  codecvt_result
 
struct  std_string_view
 
struct  compile_string
 
struct  is_compile_string
 
struct  is_string
 
struct  char_t_impl
 
struct  char_t_impl< S, enable_if_t< is_string< S >::value > >
 
struct  type_constant
 
struct  error_handler
 
class  compile_parse_context
 
class  buffer
 
struct  buffer_traits
 
class  fixed_buffer_traits
 
class  iterator_buffer
 
class  iterator_buffer< T *, T, fixed_buffer_traits >
 
class  iterator_buffer< T *, T >
 
class  iterator_buffer< std::back_insert_iterator< Container >, enable_if_t< is_contiguous< Container >::value, typename Container::value_type > >
 
class  counting_buffer
 
struct  view
 
struct  named_arg
 
struct  named_arg_info
 
struct  arg_data
 
struct  arg_data< T, Char, NUM_ARGS, 0 >
 
struct  is_named_arg
 
struct  is_statically_named_arg
 
struct  is_named_arg< named_arg< Char, T > >
 
struct  unformattable
 
struct  unformattable_char
 
struct  unformattable_pointer
 
struct  string_value
 
struct  named_arg_value
 
struct  custom_value
 
class  value
 
struct  format_as_result
 
struct  has_format_as
 
struct  arg_mapper
 
struct  is_output_iterator
 
struct  is_output_iterator< It, T, void_t< typename std::iterator_traits< It >::iterator_category, decltype(*std::declval< It >()=std::declval< T >())> >
 
struct  is_back_insert_iterator
 
struct  is_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_contiguous_back_insert_iterator
 
struct  is_contiguous_back_insert_iterator< std::back_insert_iterator< Container > >
 
struct  is_contiguous_back_insert_iterator< appender >
 
class  locale_ref
 
struct  fill_t
 
struct  arg_ref
 
struct  dynamic_format_specs
 
struct  dynamic_spec_id_handler
 
struct  strip_named_arg
 
struct  strip_named_arg< T, true >
 
class  format_string_checker
 
struct  vformat_args
 
struct  vformat_args< char >
 
struct  singleton
 
struct  string_literal
 
class  formatbuf
 
class  uint128_fallback
 
struct  is_integral
 
struct  is_integral< int128_opt >
 
struct  is_integral< uint128_t >
 
class  file_access
 
struct  streamed_view
 

Typedefs

template<typename T >
using buffer_appender = conditional_t< std::is_same< T, char >::value, appender, std::back_insert_iterator< buffer< T >>>
 
using long_type = conditional_t< long_short, int, long long >
 
using ulong_type = conditional_t< long_short, unsigned, unsigned long long >
 
template<typename T >
using format_as_t = typename format_as_result< T >::type
 
template<typename T , typename Context >
using mapped_type_constant = type_constant< decltype(arg_mapper< Context >().map(std::declval< const T & >())), typename Context::char_type >
 
template<typename... >
using void_t = void
 
using uint128_t = conditional_t< FMT_USE_INT128, uint128_opt, uint128_fallback >
 
using uintptr_t = uint128_t
 
template<typename T >
using iterator_t = decltype(std::begin(std::declval< T & >()))
 
template<typename T >
using sentinel_t = decltype(std::end(std::declval< T & >()))
 
template<typename T >
using checked_ptr = T *
 
template<typename OutputIt >
using reserve_iterator = remove_reference_t< decltype(reserve(std::declval< OutputIt & >(), 0))>
 
template<typename T >
using is_signed = std::integral_constant< bool, std::numeric_limits< T >::is_signed||std::is_same< T, int128_opt >::value >
 
template<typename T >
using is_integer = bool_constant< is_integral< T >::value &&!std::is_same< T, bool >::value &&!std::is_same< T, char >::value &&!std::is_same< T, wchar_t >::value >
 
using float128 = void
 
template<typename T >
using is_float128 = std::is_same< T, float128 >
 
template<typename T >
using is_floating_point = bool_constant< std::is_floating_point< T >::value||is_float128< T >::value >
 

Enumerations

enum  int128_opt
 
enum  uint128_opt
 
enum  type {
  type::none_type, type::int_type, type::uint_type, type::long_long_type,
  type::ulong_long_type, type::int128_type, type::uint128_type, type::bool_type,
  type::char_type, type::last_integer_type = char_type, type::float_type, type::double_type,
  type::long_double_type, type::last_numeric_type = long_double_type, type::cstring_type, type::string_type,
  type::pointer_type, type::custom_type
}
 
enum  {
  sint_set, uint_set, bool_set = set(type::bool_type), char_set = set(type::char_type),
  float_set, string_set = set(type::string_type), cstring_set = set(type::cstring_type), pointer_set = set(type::pointer_type)
}
 
enum  { long_short = sizeof(long) == sizeof(int) }
 
enum  { packed_arg_bits = 4 }
 
enum  { max_packed_args = 62 / packed_arg_bits }
 
enum  : unsigned long long { is_unpacked_bit = 1ULL << 63 }
 
enum  : unsigned long long { has_named_args_bit = 1ULL << 62 }
 
enum  arg_id_kind { arg_id_kind::none, arg_id_kind::index, arg_id_kind::name }
 
enum  state {
  state::start, state::align, state::sign, state::hash,
  state::zero, state::width, state::precision, state::locale
}
 
enum  char8_type : unsigned char
 

Functions

null localtime_r FMT_NOMACRO (...)
 
null localtime_s (...)
 
null gmtime_r (...)
 
null gmtime_s (...)
 
const std::localeget_classic_locale ()
 
template<typename CodeUnit >
void write_codecvt (codecvt_result< CodeUnit > &out, string_view in_buf, const std::locale &loc)
 
template<typename OutputIt >
auto write_encoded_tm_str (OutputIt out, string_view in, const std::locale &loc) -> OutputIt
 
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto write_tm_str (OutputIt out, string_view sv, const std::locale &loc) -> OutputIt
 
template<typename Char >
void do_write (buffer< Char > &buf, const std::tm &time, const std::locale &loc, char format, char modifier)
 
template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto write (OutputIt out, const std::tm &time, const std::locale &loc, char format, char modifier=0) -> OutputIt
 
template<typename... T>
FMT_CONSTEXPR void ignore_unused (const T &...)
 
constexpr FMT_INLINE auto is_constant_evaluated (bool default_value=false) noexcept-> bool
 
template<typename T >
constexpr FMT_INLINE auto const_check (T value) -> T
 
FMT_NORETURN FMT_API void assert_fail (const char *file, int line, const char *message)
 
template<typename T >
auto convert_for_visit (T) -> monostate
 
template<typename Int >
FMT_CONSTEXPR auto to_unsigned (Int value) -> typename std::make_unsigned< Int >::type
 
FMT_CONSTEXPR auto is_utf8 () -> bool
 
template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) >
FMT_INLINE auto to_string_view (const Char *s) -> basic_string_view< Char >
 
template<typename Char , typename Traits , typename Alloc >
auto to_string_view (const std::basic_string< Char, Traits, Alloc > &s) -> basic_string_view< Char >
 
template<typename Char >
constexpr auto to_string_view (basic_string_view< Char > s) -> basic_string_view< Char >
 
template<typename Char , FMT_ENABLE_IF(!std::is_empty< std_string_view< Char >>::value) >
auto to_string_view (std_string_view< Char > s) -> basic_string_view< Char >
 
template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
constexpr auto to_string_view (const S &s) -> basic_string_view< typename S::char_type >
 
void to_string_view (...)
 
 FMT_TYPE_CONSTANT (int, int_type)
 
 FMT_TYPE_CONSTANT (unsigned, uint_type)
 
 FMT_TYPE_CONSTANT (long long, long_long_type)
 
 FMT_TYPE_CONSTANT (unsigned long long, ulong_long_type)
 
 FMT_TYPE_CONSTANT (int128_opt, int128_type)
 
 FMT_TYPE_CONSTANT (uint128_opt, uint128_type)
 
 FMT_TYPE_CONSTANT (bool, bool_type)
 
 FMT_TYPE_CONSTANT (Char, char_type)
 
 FMT_TYPE_CONSTANT (float, float_type)
 
 FMT_TYPE_CONSTANT (double, double_type)
 
 FMT_TYPE_CONSTANT (long double, long_double_type)
 
 FMT_TYPE_CONSTANT (const Char *, cstring_type)
 
 FMT_TYPE_CONSTANT (basic_string_view< Char >, string_type)
 
 FMT_TYPE_CONSTANT (const void *, pointer_type)
 
constexpr bool is_integral_type (type t)
 
constexpr bool is_arithmetic_type (type t)
 
constexpr auto set (type rhs) -> int
 
constexpr auto in (type t, int set) -> bool
 
FMT_NORETURN FMT_API void throw_format_error (const char *message)
 
template<typename Context , typename T >
constexpr auto has_const_formatter_impl (T *) -> decltype(typename Context::template formatter_type< T >().format(std::declval< const T & >(), std::declval< Context & >()), true)
 
template<typename Context >
constexpr auto has_const_formatter_impl (...) -> bool
 
template<typename T , typename Context >
constexpr auto has_const_formatter () -> bool
 
template<typename Container >
auto get_container (std::back_insert_iterator< Container > it) -> Container &
 
template<typename Char , typename InputIt , typename OutputIt >
FMT_CONSTEXPR auto copy_str (InputIt begin, InputIt end, OutputIt out) -> OutputIt
 
template<typename Char , typename T , typename U , FMT_ENABLE_IF(std::is_same< remove_const_t< T >, U >::value &&is_char< U >::value) >
FMT_CONSTEXPR auto copy_str (T *begin, T *end, U *out) -> U *
 
template<typename T , typename OutputIt >
auto get_buffer (OutputIt out) -> iterator_buffer< OutputIt, T >
 
template<typename T , typename Buf , FMT_ENABLE_IF(std::is_base_of< buffer< char >, Buf >::value) >
auto get_buffer (std::back_insert_iterator< Buf > out) -> buffer< char > &
 
template<typename Buf , typename OutputIt >
FMT_INLINE auto get_iterator (Buf &buf, OutputIt) -> decltype(buf.out())
 
template<typename T , typename OutputIt >
auto get_iterator (buffer< T > &, OutputIt out) -> OutputIt
 
template<typename Char >
void init_named_args (named_arg_info< Char > *, int, int)
 
template<typename Char , typename T , typename... Tail, FMT_ENABLE_IF(!is_named_arg< T >::value) >
void init_named_args (named_arg_info< Char > *named_args, int arg_count, int named_arg_count, const T &, const Tail &...args)
 
template<typename... Args>
FMT_CONSTEXPR FMT_INLINE void init_named_args (std::nullptr_t, int, int, const Args &...)
 
template<bool B = false>
constexpr auto count () -> size_t
 
template<bool B1, bool B2, bool... Tail>
constexpr auto count () -> size_t
 
template<typename... Args>
constexpr auto count_named_args () -> size_t
 
template<typename... Args>
constexpr auto count_statically_named_args () -> size_t
 
template<typename Context , typename T >
FMT_CONSTEXPR auto make_arg (T &&value) -> basic_format_arg< Context >
 
template<typename Char , typename InputIt >
auto copy_str (InputIt begin, InputIt end, appender out) -> appender
 
template<typename Char , typename R , typename OutputIt >
FMT_CONSTEXPR auto copy_str (R &&rng, OutputIt out) -> OutputIt
 
template<typename >
constexpr auto encode_types () -> unsigned long long
 
template<typename Context , typename Arg , typename... Args>
constexpr auto encode_types () -> unsigned long long
 
template<typename Context , typename T >
FMT_CONSTEXPR FMT_INLINE auto make_value (T &&val) -> value< Context >
 
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) >
FMT_CONSTEXPR FMT_INLINE auto make_arg (T &&val) -> value< Context >
 
template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) >
FMT_CONSTEXPR auto make_arg (T &&value) -> basic_format_arg< Context >
 
template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr auto to_ascii (Char c) -> char
 
template<typename Char >
FMT_CONSTEXPR auto code_point_length (const Char *begin) -> int
 
template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR auto find (Ptr first, Ptr last, T value, Ptr &out) -> bool
 
template<>
auto find< false, char > (const char *first, const char *last, char value, const char *&out) -> bool
 
template<typename Char >
FMT_CONSTEXPR auto parse_nonnegative_int (const Char *&begin, const Char *end, int error_value) noexcept-> int
 
FMT_CONSTEXPR auto parse_align (char c) -> align_t
 
template<typename Char >
constexpr auto is_name_start (Char c) -> bool
 
template<typename Char , typename Handler >
FMT_CONSTEXPR auto do_parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE auto parse_arg_id (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<typename Char >
FMT_CONSTEXPR auto parse_dynamic_spec (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char *
 
template<typename Char >
FMT_CONSTEXPR auto parse_precision (const Char *begin, const Char *end, int &value, arg_ref< Char > &ref, basic_format_parse_context< Char > &ctx) -> const Char *
 
template<typename Char >
FMT_CONSTEXPR FMT_INLINE auto parse_format_specs (const Char *begin, const Char *end, dynamic_format_specs< Char > &specs, basic_format_parse_context< Char > &ctx, type arg_type) -> const Char *
 
template<typename Char , typename Handler >
FMT_CONSTEXPR auto parse_replacement_field (const Char *begin, const Char *end, Handler &&handler) -> const Char *
 
template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE void parse_format_string (basic_string_view< Char > format_str, Handler &&handler)
 
template<typename T , typename ParseContext >
FMT_CONSTEXPR auto parse_format_specs (ParseContext &ctx) -> decltype(ctx.begin())
 
template<typename Char >
FMT_CONSTEXPR auto check_char_specs (const format_specs< Char > &specs) -> bool
 
template<typename... Args, typename Char >
FMT_CONSTEXPR auto get_arg_index_by_name (basic_string_view< Char > name) -> int
 
template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
FMT_INLINE void check_format_string (const S &)
 
template<typename... Args, typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void check_format_string (S format_str)
 
template<typename Char >
void vformat_to (buffer< Char > &buf, basic_string_view< Char > fmt, typename vformat_args< Char >::type args, locale_ref loc={})
 
FMT_API void vprint_mojibake (std::FILE *, string_view, format_args)
 
FMT_FUNC void format_error_code (detail::buffer< char > &out, int error_code, string_view message) noexcept
 
FMT_FUNC void report_error (format_func func, int error_code, const char *message) noexcept
 
void fwrite_fully (const void *ptr, size_t size, size_t count, FILE *stream)
 
template<typename Char >
FMT_FUNC auto thousands_sep_impl (locale_ref loc) -> thousands_sep_result< Char >
 
template<typename Char >
FMT_FUNC Char decimal_point_impl (locale_ref loc)
 
FMT_FUNC auto write_loc (appender out, loc_value value, const format_specs<> &specs, locale_ref loc) -> bool
 
template<typename F >
bool operator== (basic_fp< F > x, basic_fp< F > y)
 
FMT_CONSTEXPR uint32_t rotr (uint32_t n, uint32_t r) noexcept
 
FMT_CONSTEXPR uint64_t rotr (uint64_t n, uint32_t r) noexcept
 
FMT_FUNC bool write_console (std::FILE *, string_view)
 
FMT_FUNC void print (std::FILE *f, string_view text)
 
auto is_printable (uint16_t x, const singleton *singletons, size_t singletons_size, const unsigned char *singleton_lowers, const unsigned char *normal, size_t normal_size) -> bool
 
FMT_FUNC auto is_printable (uint32_t cp) -> bool
 
FMT_CONSTEXPR void abort_fuzzing_if (bool condition)
 
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To)==sizeof(From)) >
FMT_CONSTEXPR20 auto bit_cast (const From &from) -> To
 
auto is_big_endian () -> bool
 
template<typename T >
constexpr auto max_value () -> T
 
template<typename T >
constexpr auto num_bits () -> int
 
template<>
constexpr auto num_bits< int128_opt > () -> int
 
template<>
constexpr auto num_bits< uint128_t > () -> int
 
template<typename To , typename From , FMT_ENABLE_IF(sizeof(To) > sizeof(From)) >
auto bit_cast (const From &from) -> To
 
template<typename UInt >
FMT_CONSTEXPR20 auto countl_zero_fallback (UInt n) -> int
 
FMT_CONSTEXPR20 auto countl_zero (uint32_t n) -> int
 
FMT_CONSTEXPR20 auto countl_zero (uint64_t n) -> int
 
FMT_INLINE void assume (bool condition)
 
template<typename Char >
auto get_data (std::basic_string< Char > &s) -> Char *
 
template<typename Container >
auto get_data (Container &c) -> typename Container::value_type *
 
template<typename T >
constexpr auto make_checked (T *p, size_t) -> T *
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto reserve (std::back_insert_iterator< Container > it, size_t n) -> checked_ptr< typename Container::value_type >
 
template<typename T >
auto reserve (buffer_appender< T > it, size_t n) -> buffer_appender< T >
 
template<typename Iterator >
constexpr auto reserve (Iterator &it, size_t) -> Iterator &
 
template<typename T , typename OutputIt >
constexpr auto to_pointer (OutputIt, size_t) -> T *
 
template<typename T >
auto to_pointer (buffer_appender< T > it, size_t n) -> T *
 
template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto base_iterator (std::back_insert_iterator< Container > &it, checked_ptr< typename Container::value_type >) -> std::back_insert_iterator< Container >
 
template<typename Iterator >
constexpr auto base_iterator (Iterator, Iterator it) -> Iterator
 
template<typename OutputIt , typename Size , typename T >
FMT_CONSTEXPR auto fill_n (OutputIt out, Size count, const T &value) -> OutputIt
 
template<typename T , typename Size >
FMT_CONSTEXPR20 auto fill_n (T *out, Size count, char value) -> T *
 
template<typename OutChar , typename InputIt , typename OutputIt >
FMT_CONSTEXPR FMT_NOINLINE auto copy_str_noinline (InputIt begin, InputIt end, OutputIt out) -> OutputIt
 
FMT_CONSTEXPR auto utf8_decode (const char *s, uint32_t *c, int *e) -> const char *
 
template<typename F >
FMT_CONSTEXPR void for_each_codepoint (string_view s, F f)
 
template<typename Char >
auto compute_width (basic_string_view< Char > s) -> size_t
 
FMT_CONSTEXPR size_t compute_width (string_view s)
 
auto compute_width (basic_string_view< char8_type > s) -> size_t
 
template<typename Char >
auto code_point_index (basic_string_view< Char > s, size_t n) -> size_t
 
auto code_point_index (string_view s, size_t n) -> size_t
 
auto code_point_index (basic_string_view< char8_type > s, size_t n) -> size_t
 
bool write_ostream_unicode (std::ostream &os, fmt::string_view data)
 
bool write_ostream_unicode (std::wostream &, fmt::basic_string_view< wchar_t >)
 
template<typename Char >
void write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf)
 
template<typename Char , typename T >
void format_value (buffer< Char > &buf, const T &value, locale_ref loc=locale_ref())
 
void vprint_directly (std::ostream &os, string_view format_str, format_args args)
 
template<typename PREC >
SYS_FORCE_INLINE void UTexplodeWithReflectionHint (const UT_Matrix4T< PREC > &xform, const UT_Vector3T< PREC > &reflect_hint, UT_Vector3T< PREC > &xform_r, UT_Vector3T< PREC > &xform_s, UT_Vector3T< PREC > &xform_t, const typename UT_Matrix4T< PREC >::PivotSpace &pivot_space, UT_Vector3T< PREC > *xform_sh)
 

Variables

constexpr FMT_INLINE_VARIABLE int invalid_arg_index = -1
 
constexpr FMT_INLINE_VARIABLE
uint32_t 
invalid_code_point = ~uint32_t()
 

Typedef Documentation

template<typename T >
using detail::buffer_appender = typedef conditional_t<std::is_same<T, char>::value, appender, std::back_insert_iterator<buffer<T>>>

Definition at line 1105 of file core.h.

template<typename T >
using detail::checked_ptr = typedef T*

Definition at line 565 of file format.h.

using detail::float128 = typedef void

Definition at line 856 of file format.h.

template<typename T >
using detail::format_as_t = typedef typename format_as_result<T>::type

Definition at line 1321 of file core.h.

template<typename T >
using detail::is_float128 = typedef std::is_same<T, float128>

Definition at line 858 of file format.h.

template<typename T >
using detail::is_floating_point = typedef bool_constant<std::is_floating_point<T>::value || is_float128<T>::value>

Definition at line 862 of file format.h.

template<typename T >
using detail::is_integer = typedef bool_constant<is_integral<T>::value && !std::is_same<T, bool>::value && !std::is_same<T, char>::value && !std::is_same<T, wchar_t>::value>

Definition at line 824 of file format.h.

template<typename T >
using detail::is_signed = typedef std::integral_constant<bool, std::numeric_limits<T>::is_signed || std::is_same<T, int128_opt>::value>

Definition at line 818 of file format.h.

template<typename T >
using detail::iterator_t = typedef decltype(std::begin(std::declval<T&>()))

Definition at line 544 of file format.h.

using detail::long_type = typedef conditional_t<long_short, int, long long>

Definition at line 1310 of file core.h.

template<typename T , typename Context >
using detail::mapped_type_constant = typedef type_constant<decltype(arg_mapper<Context>().map(std::declval<const T&>())), typename Context::char_type>

Definition at line 1477 of file core.h.

template<typename OutputIt >
using detail::reserve_iterator = typedef remove_reference_t<decltype(reserve(std::declval<OutputIt&>(), 0))>

Definition at line 600 of file format.h.

template<typename T >
using detail::sentinel_t = typedef decltype(std::end(std::declval<T&>()))

Definition at line 545 of file format.h.

Definition at line 474 of file format.h.

using detail::uintptr_t = typedef uint128_t

Definition at line 479 of file format.h.

using detail::ulong_type = typedef conditional_t<long_short, unsigned, unsigned long long>

Definition at line 1311 of file core.h.

template<typename... >
using detail::void_t = typedef void

Definition at line 1622 of file core.h.

Enumeration Type Documentation

anonymous enum
Enumerator
sint_set 
uint_set 
bool_set 
char_set 
float_set 
string_set 
cstring_set 
pointer_set 

Definition at line 616 of file core.h.

anonymous enum
Enumerator
long_short 

Definition at line 1309 of file core.h.

anonymous enum
Enumerator
packed_arg_bits 

Definition at line 1479 of file core.h.

anonymous enum
Enumerator
max_packed_args 

Definition at line 1481 of file core.h.

anonymous enum : unsigned long long
Enumerator
is_unpacked_bit 

Definition at line 1482 of file core.h.

anonymous enum : unsigned long long
Enumerator
has_named_args_bit 

Definition at line 1483 of file core.h.

enum detail::arg_id_kind
strong
Enumerator
none 
index 
name 

Definition at line 2082 of file core.h.

enum detail::char8_type : unsigned char

Definition at line 646 of file format.h.

enum detail::int128_opt
strong

Definition at line 366 of file core.h.

enum detail::state
strong
Enumerator
start 
align 
sign 
hash 
zero 
width 
precision 
locale 
Examples:
mocapstream/MocapStreamRokokoHDK.C, SOP/MSS_CustomBrushState.C, and SOP/SOP_CopRaster.C.

Definition at line 2289 of file core.h.

enum detail::type
strong
Enumerator
none_type 
int_type 
uint_type 
long_long_type 
ulong_long_type 
int128_type 
uint128_type 
bool_type 
char_type 
last_integer_type 
float_type 
double_type 
long_double_type 
last_numeric_type 
cstring_type 
string_type 
pointer_type 
custom_type 
Examples:
expr/functions.C, GUI/GUI_PrimFramework.C, and SOP/SOP_PrimVOP.C.

Definition at line 556 of file core.h.

enum detail::uint128_opt
strong

Definition at line 367 of file core.h.

Function Documentation

FMT_CONSTEXPR void detail::abort_fuzzing_if ( bool  condition)
inline

Definition at line 284 of file format.h.

FMT_FUNC void detail::assert_fail ( const char *  file,
int  line,
const char *  message 
)

Definition at line 30 of file format-inl.h.

FMT_INLINE void detail::assume ( bool  condition)

Definition at line 535 of file format.h.

template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto detail::base_iterator ( std::back_insert_iterator< Container > &  it,
checked_ptr< typename Container::value_type >   
) -> std::back_insert_iterator<Container>
inline

Definition at line 615 of file format.h.

template<typename Iterator >
constexpr auto detail::base_iterator ( Iterator  ,
Iterator  it 
) -> Iterator

Definition at line 622 of file format.h.

template<typename To , typename From , FMT_ENABLE_IF(sizeof(To)==sizeof(From)) >
FMT_CONSTEXPR20 auto detail::bit_cast ( const From &  from) -> To

Definition at line 336 of file format.h.

template<typename To , typename From , FMT_ENABLE_IF(sizeof(To) > sizeof(From)) >
auto detail::bit_cast ( const From &  from) -> To
inline

Definition at line 497 of file format.h.

template<typename Char >
FMT_CONSTEXPR auto detail::check_char_specs ( const format_specs< Char > &  specs) -> bool

Definition at line 2566 of file core.h.

template<typename... , typename S , FMT_ENABLE_IF(!is_compile_string< S >::value) >
FMT_INLINE void detail::check_format_string ( const S &  )

Definition at line 2657 of file core.h.

template<typename... Args, typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
void detail::check_format_string ( format_str)

Definition at line 2666 of file core.h.

template<typename Char >
auto detail::code_point_index ( basic_string_view< Char >  s,
size_t  n 
) -> size_t
inline

Definition at line 790 of file format.h.

auto detail::code_point_index ( string_view  s,
size_t  n 
) -> size_t
inline

Definition at line 796 of file format.h.

auto detail::code_point_index ( basic_string_view< char8_type >  s,
size_t  n 
) -> size_t
inline

Definition at line 805 of file format.h.

template<typename Char >
FMT_CONSTEXPR auto detail::code_point_length ( const Char *  begin) -> int

Definition at line 2130 of file core.h.

template<typename Char >
auto detail::compute_width ( basic_string_view< Char >  s) -> size_t
inline

Definition at line 745 of file format.h.

FMT_CONSTEXPR size_t detail::compute_width ( string_view  s)
inline

Definition at line 750 of file format.h.

auto detail::compute_width ( basic_string_view< char8_type >  s) -> size_t
inline

Definition at line 784 of file format.h.

template<typename T >
constexpr FMT_INLINE auto detail::const_check ( value) -> T

Definition at line 323 of file core.h.

template<typename T >
auto detail::convert_for_visit ( ) -> monostate

Definition at line 369 of file core.h.

template<typename Char , typename InputIt , typename OutputIt >
FMT_CONSTEXPR auto detail::copy_str ( InputIt  begin,
InputIt  end,
OutputIt  out 
) -> OutputIt

Definition at line 839 of file core.h.

template<typename Char , typename T , typename U , FMT_ENABLE_IF(std::is_same< remove_const_t< T >, U >::value &&is_char< U >::value) >
FMT_CONSTEXPR auto detail::copy_str ( T *  begin,
T *  end,
U *  out 
) -> U*

Definition at line 848 of file core.h.

template<typename Char , typename InputIt >
auto detail::copy_str ( InputIt  begin,
InputIt  end,
appender  out 
) -> appender

Definition at line 1607 of file core.h.

template<typename Char , typename R , typename OutputIt >
FMT_CONSTEXPR auto detail::copy_str ( R &&  rng,
OutputIt  out 
) -> OutputIt

Definition at line 1613 of file core.h.

template<typename OutChar , typename InputIt , typename OutputIt >
FMT_CONSTEXPR FMT_NOINLINE auto detail::copy_str_noinline ( InputIt  begin,
InputIt  end,
OutputIt  out 
) -> OutputIt

Definition at line 650 of file format.h.

template<bool B = false>
constexpr auto detail::count ( ) -> size_t

Definition at line 1195 of file core.h.

template<bool B1, bool B2, bool... Tail>
constexpr auto detail::count ( ) -> size_t

Definition at line 1196 of file core.h.

template<typename... Args>
constexpr auto detail::count_named_args ( ) -> size_t

Definition at line 1200 of file core.h.

template<typename... Args>
constexpr auto detail::count_statically_named_args ( ) -> size_t

Definition at line 1205 of file core.h.

FMT_CONSTEXPR20 auto detail::countl_zero ( uint32_t  n) -> int
inline

Definition at line 521 of file format.h.

FMT_CONSTEXPR20 auto detail::countl_zero ( uint64_t  n) -> int
inline

Definition at line 528 of file format.h.

template<typename UInt >
FMT_CONSTEXPR20 auto detail::countl_zero_fallback ( UInt  n) -> int
inline

Definition at line 514 of file format.h.

template<typename Char >
FMT_FUNC Char detail::decimal_point_impl ( locale_ref  loc)

Definition at line 101 of file format-inl.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR auto detail::do_parse_arg_id ( const Char *  begin,
const Char *  end,
Handler &&  handler 
) -> const Char*

Definition at line 2195 of file core.h.

template<typename Char >
void detail::do_write ( buffer< Char > &  buf,
const std::tm &  time,
const std::locale &  loc,
char  format,
char  modifier 
)
inline

Definition at line 406 of file chrono.h.

template<typename >
constexpr auto detail::encode_types ( ) -> unsigned long long

Definition at line 1662 of file core.h.

template<typename Context , typename Arg , typename... Args>
constexpr auto detail::encode_types ( ) -> unsigned long long

Definition at line 1667 of file core.h.

template<typename OutputIt , typename Size , typename T >
FMT_CONSTEXPR auto detail::fill_n ( OutputIt  out,
Size  count,
const T &  value 
) -> OutputIt

Definition at line 629 of file format.h.

template<typename T , typename Size >
FMT_CONSTEXPR20 auto detail::fill_n ( T *  out,
Size  count,
char  value 
) -> T*

Definition at line 635 of file format.h.

template<bool IS_CONSTEXPR, typename T , typename Ptr = const T*>
FMT_CONSTEXPR auto detail::find ( Ptr  first,
Ptr  last,
value,
Ptr &  out 
) -> bool

Definition at line 2138 of file core.h.

template<>
auto detail::find< false, char > ( const char *  first,
const char *  last,
char  value,
const char *&  out 
) -> bool
inline

Definition at line 2146 of file core.h.

null localtime_r detail::FMT_NOMACRO (   ...)
inline

Definition at line 324 of file chrono.h.

detail::FMT_TYPE_CONSTANT ( int  ,
int_type   
)
detail::FMT_TYPE_CONSTANT ( unsigned  ,
uint_type   
)
detail::FMT_TYPE_CONSTANT ( long  long,
long_long_type   
)
detail::FMT_TYPE_CONSTANT ( unsigned long  long,
ulong_long_type   
)
detail::FMT_TYPE_CONSTANT ( int128_opt  ,
int128_type   
)
detail::FMT_TYPE_CONSTANT ( uint128_opt  ,
uint128_type   
)
detail::FMT_TYPE_CONSTANT ( bool  ,
bool_type   
)
detail::FMT_TYPE_CONSTANT ( Char  ,
char_type   
)
detail::FMT_TYPE_CONSTANT ( float  ,
float_type   
)
detail::FMT_TYPE_CONSTANT ( double  ,
double_type   
)
detail::FMT_TYPE_CONSTANT ( long  double,
long_double_type   
)
detail::FMT_TYPE_CONSTANT ( const Char *  ,
cstring_type   
)
detail::FMT_TYPE_CONSTANT ( basic_string_view< Char >  ,
string_type   
)
detail::FMT_TYPE_CONSTANT ( const void ,
pointer_type   
)
template<typename F >
FMT_CONSTEXPR void detail::for_each_codepoint ( string_view  s,
f 
)

Definition at line 714 of file format.h.

FMT_FUNC void detail::format_error_code ( detail::buffer< char > &  out,
int  error_code,
string_view  message 
)
noexcept

Definition at line 43 of file format-inl.h.

template<typename Char , typename T >
void detail::format_value ( buffer< Char > &  buf,
const T &  value,
locale_ref  loc = locale_ref() 
)

Definition at line 90 of file ostream.h.

void detail::fwrite_fully ( const void ptr,
size_t  size,
size_t  count,
FILE *  stream 
)
inline

Definition at line 76 of file format-inl.h.

template<typename... Args, typename Char >
FMT_CONSTEXPR auto detail::get_arg_index_by_name ( basic_string_view< Char >  name) -> int

Definition at line 2593 of file core.h.

template<typename T , typename OutputIt >
auto detail::get_buffer ( OutputIt  out) -> iterator_buffer<OutputIt, T>

Definition at line 1109 of file core.h.

template<typename T , typename Buf , FMT_ENABLE_IF(std::is_base_of< buffer< char >, Buf >::value) >
auto detail::get_buffer ( std::back_insert_iterator< Buf >  out) -> buffer<char>&

Definition at line 1114 of file core.h.

const std::locale& detail::get_classic_locale ( )
inline

Definition at line 329 of file chrono.h.

template<typename Container >
auto detail::get_container ( std::back_insert_iterator< Container >  it) -> Container&
inline

Definition at line 828 of file core.h.

template<typename Char >
auto detail::get_data ( std::basic_string< Char > &  s) -> Char*
inline

Definition at line 549 of file format.h.

template<typename Container >
auto detail::get_data ( Container &  c) -> typename Container::value_type*
inline

Definition at line 553 of file format.h.

template<typename Buf , typename OutputIt >
FMT_INLINE auto detail::get_iterator ( Buf &  buf,
OutputIt   
) -> decltype(buf.out())

Definition at line 1119 of file core.h.

template<typename T , typename OutputIt >
auto detail::get_iterator ( buffer< T > &  ,
OutputIt  out 
) -> OutputIt

Definition at line 1123 of file core.h.

null detail::gmtime_r (   ...)
inline

Definition at line 326 of file chrono.h.

null detail::gmtime_s (   ...)
inline

Definition at line 327 of file chrono.h.

template<typename T , typename Context >
constexpr auto detail::has_const_formatter ( ) -> bool

Definition at line 822 of file core.h.

template<typename Context , typename T >
constexpr auto detail::has_const_formatter_impl ( T *  ) -> decltype(typename Context::template formatter_type<T>().format( std::declval<const T&>(), std::declval<Context&>()), true)

Definition at line 811 of file core.h.

template<typename Context >
constexpr auto detail::has_const_formatter_impl (   ...) -> bool

Definition at line 818 of file core.h.

template<typename... T>
FMT_CONSTEXPR void detail::ignore_unused ( const T &  ...)

Definition at line 302 of file core.h.

constexpr auto detail::in ( type  t,
int  set 
) -> bool
Examples:
COP2/COP2_SampleFilter.C, VOP/VOP_Switch.C, and VOP/VOP_Switch.h.

Definition at line 611 of file core.h.

template<typename Char >
void detail::init_named_args ( named_arg_info< Char > *  ,
int  ,
int   
)
inline

Definition at line 1168 of file core.h.

template<typename Char , typename T , typename... Tail, FMT_ENABLE_IF(!is_named_arg< T >::value) >
void detail::init_named_args ( named_arg_info< Char > *  named_args,
int  arg_count,
int  named_arg_count,
const T &  arg,
const Tail &...  args 
)

Definition at line 1178 of file core.h.

template<typename... Args>
FMT_CONSTEXPR FMT_INLINE void detail::init_named_args ( std::nullptr_t  ,
int  ,
int  ,
const Args &  ... 
)

Definition at line 1192 of file core.h.

constexpr bool detail::is_arithmetic_type ( type  t)

Definition at line 606 of file core.h.

auto detail::is_big_endian ( ) -> bool
inline

Definition at line 346 of file format.h.

constexpr FMT_INLINE auto detail::is_constant_evaluated ( bool  default_value = false) -> bool
noexcept

Definition at line 304 of file core.h.

constexpr bool detail::is_integral_type ( type  t)

Definition at line 603 of file core.h.

template<typename Char >
constexpr auto detail::is_name_start ( Char  c) -> bool

Definition at line 2190 of file core.h.

auto detail::is_printable ( uint16_t  x,
const singleton *  singletons,
size_t  singletons_size,
const unsigned char *  singleton_lowers,
const unsigned char *  normal,
size_t  normal_size 
) -> bool
inline

Definition at line 1495 of file format-inl.h.

FMT_FUNC auto detail::is_printable ( uint32_t  cp) -> bool

Definition at line 1527 of file format-inl.h.

FMT_CONSTEXPR auto detail::is_utf8 ( ) -> bool
inline

Definition at line 380 of file core.h.

null detail::localtime_s (   ...)
inline

Definition at line 325 of file chrono.h.

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

Definition at line 1698 of file core.h.

template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(IS_PACKED) >
FMT_CONSTEXPR FMT_INLINE auto detail::make_arg ( T &&  val) -> value<Context>

Definition at line 1710 of file core.h.

template<bool IS_PACKED, typename Context , type , typename T , FMT_ENABLE_IF(!IS_PACKED) >
FMT_CONSTEXPR auto detail::make_arg ( T &&  value) -> basic_format_arg<Context>
inline

Definition at line 1716 of file core.h.

template<typename T >
constexpr auto detail::make_checked ( T *  p,
size_t   
) -> T*

Definition at line 566 of file format.h.

template<typename Context , typename T >
FMT_CONSTEXPR FMT_INLINE auto detail::make_value ( T &&  val) -> value<Context>

Definition at line 1673 of file core.h.

template<typename T >
constexpr auto detail::max_value ( ) -> T

Definition at line 484 of file format.h.

template<typename T >
constexpr auto detail::num_bits ( ) -> int

Definition at line 487 of file format.h.

template<>
constexpr auto detail::num_bits< int128_opt > ( ) -> int

Definition at line 491 of file format.h.

template<>
constexpr auto detail::num_bits< uint128_t > ( ) -> int

Definition at line 492 of file format.h.

template<typename F >
bool detail::operator== ( basic_fp< F >  x,
basic_fp< F >  y 
)
inline

Definition at line 155 of file format-inl.h.

FMT_CONSTEXPR auto detail::parse_align ( char  c) -> align_t
inline

Definition at line 2178 of file core.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE auto detail::parse_arg_id ( const Char *  begin,
const Char *  end,
Handler &&  handler 
) -> const Char*

Definition at line 2224 of file core.h.

template<typename Char >
FMT_CONSTEXPR auto detail::parse_dynamic_spec ( const Char *  begin,
const Char *  end,
int value,
arg_ref< Char > &  ref,
basic_format_parse_context< Char > &  ctx 
) -> const Char*

Definition at line 2255 of file core.h.

template<typename Char >
FMT_CONSTEXPR FMT_INLINE auto detail::parse_format_specs ( const Char *  begin,
const Char *  end,
dynamic_format_specs< Char > &  specs,
basic_format_parse_context< Char > &  ctx,
type  arg_type 
) -> const Char*

Definition at line 2293 of file core.h.

template<typename T , typename ParseContext >
FMT_CONSTEXPR auto detail::parse_format_specs ( ParseContext &  ctx) -> decltype(ctx.begin())

Definition at line 2553 of file core.h.

template<bool IS_CONSTEXPR, typename Char , typename Handler >
FMT_CONSTEXPR FMT_INLINE void detail::parse_format_string ( basic_string_view< Char >  format_str,
Handler &&  handler 
)

Definition at line 2496 of file core.h.

template<typename Char >
FMT_CONSTEXPR auto detail::parse_nonnegative_int ( const Char *&  begin,
const Char *  end,
int  error_value 
) -> int
noexcept

Definition at line 2156 of file core.h.

template<typename Char >
FMT_CONSTEXPR auto detail::parse_precision ( const Char *  begin,
const Char *  end,
int value,
arg_ref< Char > &  ref,
basic_format_parse_context< Char > &  ctx 
) -> const Char*

Definition at line 2277 of file core.h.

template<typename Char , typename Handler >
FMT_CONSTEXPR auto detail::parse_replacement_field ( const Char *  begin,
const Char *  end,
Handler &&  handler 
) -> const Char*

Definition at line 2459 of file core.h.

FMT_API void detail::print ( std::FILE *  f,
string_view  text 
)

Definition at line 1473 of file format-inl.h.

FMT_FUNC void detail::report_error ( format_func  func,
int  error_code,
const char *  message 
)
noexcept

Definition at line 66 of file format-inl.h.

template<typename Container , FMT_ENABLE_IF(is_contiguous< Container >::value) >
auto detail::reserve ( std::back_insert_iterator< Container >  it,
size_t  n 
) -> checked_ptr<typename Container::value_type>
inline

Definition at line 578 of file format.h.

template<typename T >
auto detail::reserve ( buffer_appender< T >  it,
size_t  n 
) -> buffer_appender<T>
inline

Definition at line 587 of file format.h.

template<typename Iterator >
constexpr auto detail::reserve ( Iterator &  it,
size_t   
) -> Iterator&

Definition at line 594 of file format.h.

FMT_CONSTEXPR uint32_t detail::rotr ( uint32_t  n,
uint32_t  r 
)
inlinenoexcept

Definition at line 160 of file format-inl.h.

FMT_CONSTEXPR uint64_t detail::rotr ( uint64_t  n,
uint32_t  r 
)
inlinenoexcept

Definition at line 164 of file format-inl.h.

template<typename Char >
FMT_FUNC auto detail::thousands_sep_impl ( locale_ref  loc) -> thousands_sep_result<Char>

Definition at line 95 of file format-inl.h.

FMT_FUNC void detail::throw_format_error ( const char *  message)

Definition at line 39 of file format-inl.h.

template<typename Char , FMT_ENABLE_IF(std::is_integral< Char >::value) >
constexpr auto detail::to_ascii ( Char  c) -> char

Definition at line 2120 of file core.h.

template<typename T , typename OutputIt >
constexpr auto detail::to_pointer ( OutputIt  ,
size_t   
) -> T*

Definition at line 603 of file format.h.

template<typename T >
auto detail::to_pointer ( buffer_appender< T >  it,
size_t  n 
) -> T*

Definition at line 606 of file format.h.

template<typename Char , FMT_ENABLE_IF(is_char< Char >::value) >
FMT_INLINE auto detail::to_string_view ( const Char *  s) -> basic_string_view<Char>

Definition at line 517 of file core.h.

template<typename Char , typename Traits , typename Alloc >
auto detail::to_string_view ( const std::basic_string< Char, Traits, Alloc > &  s) -> basic_string_view<Char>
inline

Definition at line 521 of file core.h.

template<typename Char >
constexpr auto detail::to_string_view ( basic_string_view< Char >  s) -> basic_string_view<Char>

Definition at line 526 of file core.h.

template<typename Char , FMT_ENABLE_IF(!std::is_empty< std_string_view< Char >>::value) >
auto detail::to_string_view ( std_string_view< Char >  s) -> basic_string_view<Char>
inline

Definition at line 532 of file core.h.

template<typename S , FMT_ENABLE_IF(is_compile_string< S >::value) >
constexpr auto detail::to_string_view ( const S &  s) -> basic_string_view<typename S::char_type>

Definition at line 536 of file core.h.

void detail::to_string_view (   ...)
template<typename Int >
FMT_CONSTEXPR auto detail::to_unsigned ( Int  value) -> typename std::make_unsigned<Int>::type

Definition at line 374 of file core.h.

template<typename PREC >
SYS_FORCE_INLINE void detail::UTexplodeWithReflectionHint ( const UT_Matrix4T< PREC > &  xform,
const UT_Vector3T< PREC > &  reflect_hint,
UT_Vector3T< PREC > &  xform_r,
UT_Vector3T< PREC > &  xform_s,
UT_Vector3T< PREC > &  xform_t,
const typename UT_Matrix4T< PREC >::PivotSpace &  pivot_space,
UT_Vector3T< PREC > *  xform_sh 
)

Definition at line 1359 of file UT_TransformUtil.h.

FMT_CONSTEXPR auto detail::utf8_decode ( const char *  s,
uint32_t *  c,
int e 
) -> const char*
inline

Definition at line 672 of file format.h.

template<typename Char >
void detail::vformat_to ( buffer< Char > &  buf,
basic_string_view< Char >  fmt,
typename vformat_args< Char >::type  args,
locale_ref  loc = {} 
)
void detail::vprint_directly ( std::ostream &  os,
string_view  format_str,
format_args  args 
)
inline

Definition at line 149 of file ostream.h.

void detail::vprint_mojibake ( std::FILE *  ,
string_view  ,
format_args   
)
inline

Definition at line 2687 of file core.h.

template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto detail::write ( OutputIt  out,
const std::tm &  time,
const std::locale &  loc,
char  format,
char  modifier = 0 
) -> OutputIt

Definition at line 419 of file chrono.h.

template<typename Char >
void detail::write_buffer ( std::basic_ostream< Char > &  os,
buffer< Char > &  buf 
)

Definition at line 76 of file ostream.h.

template<typename CodeUnit >
void detail::write_codecvt ( codecvt_result< CodeUnit > &  out,
string_view  in_buf,
const std::locale &  loc 
)

Definition at line 343 of file chrono.h.

FMT_API bool detail::write_console ( std::FILE *  ,
string_view   
)

Definition at line 1449 of file format-inl.h.

template<typename OutputIt >
auto detail::write_encoded_tm_str ( OutputIt  out,
string_view  in,
const std::locale &  loc 
) -> OutputIt

Definition at line 362 of file chrono.h.

FMT_FUNC auto detail::write_loc ( appender  out,
loc_value  value,
const format_specs<> &  specs,
locale_ref  loc 
) -> bool

Definition at line 115 of file format-inl.h.

bool detail::write_ostream_unicode ( std::ostream &  os,
fmt::string_view  data 
)
inline

Definition at line 46 of file ostream.h.

bool detail::write_ostream_unicode ( std::wostream &  ,
fmt::basic_string_view< wchar_t >   
)
inline

Definition at line 68 of file ostream.h.

template<typename Char , typename OutputIt , FMT_ENABLE_IF(!std::is_same< Char, char >::value) >
auto detail::write_tm_str ( OutputIt  out,
string_view  sv,
const std::locale &  loc 
) -> OutputIt

Definition at line 391 of file chrono.h.

Variable Documentation

constexpr FMT_INLINE_VARIABLE int detail::invalid_arg_index = -1

Definition at line 2577 of file core.h.

constexpr FMT_INLINE_VARIABLE uint32_t detail::invalid_code_point = ~uint32_t()

Definition at line 709 of file format.h.