|
libxr
1.0
Want to be the best embedded framework
|
Static Public Member Functions | |
| static constexpr auto | ArgumentList () |
| 返回运行期参数打包时要按字段顺序读取的参数列表。 / Returns the field-ordered argument list the runtime packer will follow. | |
| static constexpr auto | ArgumentOrder () |
| 返回每个字段对应的是第几个源参数。 / Returns, for each field, which source argument index it refers to. | |
| static constexpr auto | SourceArgumentList () |
| 返回仅供编译期类型匹配使用的源参数列表。 / Returns the source-argument list used only for compile-time type matching. | |
| static constexpr const auto & | Codes () |
返回与 codes 相同的最终字节流。 / Returns the same final byte stream as codes. | |
| static constexpr FormatProfile | Profile () |
| 返回当前编译格式携带的 writer 分支摘要。 / Returns the writer-branch summary carried by this compiled format. | |
| template<typename... Args> | |
| static consteval bool | Matches () |
判断 Args... 是否就是当前编译格式期望的那组 C++ 参数类型。 / Returns whether Args... are exactly the C++ argument types this compiled format expects. | |
Static Public Attributes | |
| static constexpr auto | codes = result.codes |
| 返回运行期 writer 最终会执行的字节流。 / Returns the final byte stream that the runtime writer will execute. | |
| static constexpr FormatProfile | profile = result.profile |
| 返回当前格式需要哪些 writer 分支的编译期摘要。 / Returns the compile-time summary of which writer branches this format needs. | |
Private Types | |
| using | Frontend = typename Printf::template Compiler<Source> |
Static Private Attributes | |
| static constexpr auto | source_analysis = Detail::PrintfCompile::Analyze<Source>() |
| static constexpr auto | result = FormatCompiler<Frontend>::Compile() |
Definition at line 148 of file printf.hpp.
|
private |
Definition at line 151 of file printf.hpp.
|
inlinestaticnodiscardconstexpr |
返回运行期参数打包时要按字段顺序读取的参数列表。 / Returns the field-ordered argument list the runtime packer will follow.
Definition at line 206 of file printf.hpp.
|
inlinestaticnodiscardconstexpr |
返回每个字段对应的是第几个源参数。 / Returns, for each field, which source argument index it refers to.
Definition at line 212 of file printf.hpp.
|
inlinestaticnodiscardconstexpr |
返回与 codes 相同的最终字节流。 / Returns the same final byte stream as codes.
Definition at line 227 of file printf.hpp.
|
inlinestaticnodiscardconsteval |
判断 Args... 是否就是当前编译格式期望的那组 C++ 参数类型。 / Returns whether Args... are exactly the C++ argument types this compiled format expects.
| Args | C++ argument types to compare. / 待比较的 C++ 实参类型列表。 |
true when the type list matches exactly, otherwise false. / 完全匹配返回 true,否则返回 false。 Definition at line 243 of file printf.hpp.
|
inlinestaticnodiscardconstexpr |
返回当前编译格式携带的 writer 分支摘要。 / Returns the writer-branch summary carried by this compiled format.
Definition at line 233 of file printf.hpp.
|
inlinestaticnodiscardconstexpr |
返回仅供编译期类型匹配使用的源参数列表。 / Returns the source-argument list used only for compile-time type matching.
Definition at line 218 of file printf.hpp.
|
inlinestaticconstexpr |
返回运行期 writer 最终会执行的字节流。 / Returns the final byte stream that the runtime writer will execute.
Definition at line 195 of file printf.hpp.
|
inlinestaticconstexpr |
返回当前格式需要哪些 writer 分支的编译期摘要。 / Returns the compile-time summary of which writer branches this format needs.
Definition at line 200 of file printf.hpp.
|
inlinestaticconstexprprivate |
Definition at line 153 of file printf.hpp.
|
inlinestaticconstexprprivate |
Definition at line 152 of file printf.hpp.