welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::naming::uniform< Kind > Struct Template Reference

A single-convention style: reshape every kind to convention Kind, whatever the source spelling. More...

#include <welder/naming.hpp>

Static Public Member Functions

static consteval std::string transform_class (std::meta::info e)
static consteval std::string transform_enum (std::meta::info e)
static consteval std::string transform_enumerator (std::meta::info e)
static consteval std::string transform_method (std::meta::info e)
static consteval std::string transform_static_method (std::meta::info e)
static consteval std::string transform_function (std::meta::info e)
static consteval std::string transform_field (std::meta::info e)
static consteval std::string transform_variable (std::meta::info e)
static consteval std::string transform_submodule (std::meta::info e)

Static Private Member Functions

static consteval std::string in (std::meta::info e)

Detailed Description

template<case_kind Kind>
struct welder::naming::uniform< Kind >

A single-convention style: reshape every kind to convention Kind, whatever the source spelling.

The base behind the named aliases below, and a handy base for a language style that reshapes most kinds one way (override the exceptions).

Template Parameters
Kindthe convention every name is rendered in.

Definition at line 201 of file naming.hpp.

Member Function Documentation

◆ in()

◆ transform_class()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_class ( std::meta::info e)
inlinestaticconsteval

Definition at line 202 of file naming.hpp.

◆ transform_enum()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_enum ( std::meta::info e)
inlinestaticconsteval

Definition at line 203 of file naming.hpp.

◆ transform_enumerator()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_enumerator ( std::meta::info e)
inlinestaticconsteval

Definition at line 204 of file naming.hpp.

◆ transform_field()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_field ( std::meta::info e)
inlinestaticconsteval

Definition at line 208 of file naming.hpp.

◆ transform_function()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_function ( std::meta::info e)
inlinestaticconsteval

Definition at line 207 of file naming.hpp.

◆ transform_method()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_method ( std::meta::info e)
inlinestaticconsteval

Definition at line 205 of file naming.hpp.

◆ transform_static_method()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_static_method ( std::meta::info e)
inlinestaticconsteval

Definition at line 206 of file naming.hpp.

◆ transform_submodule()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_submodule ( std::meta::info e)
inlinestaticconsteval

Definition at line 210 of file naming.hpp.

◆ transform_variable()

template<case_kind Kind>
consteval std::string welder::naming::uniform< Kind >::transform_variable ( std::meta::info e)
inlinestaticconsteval

Definition at line 209 of file naming.hpp.


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