|
Sen API
Sen Libraries
|
Namespaces | |
| namespace | impl |
Classes | |
| struct | CppTemplateSet |
| A template for each supported user type. More... | |
| struct | JsonTemplateSet |
| A template for each supported user type. More... | |
| struct | MkDocsTemplates |
| A template for each supported user type. More... | |
| class | Node |
| struct | PlantUmlTemplateSet |
| A template for each supported user type. More... | |
| struct | PythonTemplateSet |
| A template for each supported user type. More... | |
| struct | TemplateVisitorResult |
| struct | TypeGroups |
| struct | TypeScriptTemplateSet |
| One template per supported user type, plus the file shell. More... | |
| class | TypeStorage |
Functions | |
| void | configureEnv (inja::Environment &env) |
| Registers inja helper callbacks used by generator templates. | |
| std::vector< std::string > | tokenize (const std::string &str, const char delim) |
| Splits a string into substrings by a delimiter, skipping empty results. | |
| std::string | prepend (const std::string &prefix, const std::string str) |
| Appends a prefix to the beginning of a given string. | |
| std::string | append (const std::string &lhs, const std::string rhs) |
| Appends a suffix to the end of a given string. | |
| std::string | capitalize (const std::string &str) |
| Transform a string to uppercase. | |
| std::string | capitalize (std::string_view str) |
| Transform a string_view to uppercase. | |
| std::string | computeCppNamespace (const std::vector< std::string > &package) |
| Computes C++ namespace from a string package. | |
| std::string | computeCppNamespace (const sen::lang::TypeSet &set) |
| Computes C++ namespace from a type set. | |
| std::string | computeCppNamespace (const sen::CustomType &type) |
| Computes C++ namespace from a custom type. | |
| std::vector< const sen::lang::TypeSet * > | collectAllTypeSets (const sen::lang::TypeSetContext &typeSets) |
| Walks the given context's type sets and their imports depth-first, returning unique sets in insertion order. Insertion order (rather than pointer order) keeps generator output stable across builds for generators that emit a single consolidated file or rely on iteration order for dependency layering. | |
| template<typename T> | |
| std::string | intToHex (T i) |
| template<typename T> | |
| std::string | intToHex2 (T i) |
| CppTemplateSet | makeCppBaseHeaderTemplates (inja::Environment &env) noexcept |
| Templates for the type header. | |
| CppTemplateSet | makeCppImplTemplates (inja::Environment &env) noexcept |
| Templates for the implementation source file. | |
| inja::Template | makeCppPackageExportTemplate (inja::Environment &env) |
| The template for generating stl package exports. | |
| inja::Template | makeCppBaseHeaderFileTemplate (inja::Environment &env) |
| Returns the template of the Base Header File. | |
| inja::Template | makeCppImplFileTemplate (inja::Environment &env) |
| Returns the template of the Implementation File. | |
| JsonTemplateSet | makeJsonTypeTemplates (inja::Environment &env) noexcept |
| Templates for the type header. | |
| MkDocsTemplates | makeMkDocsTemplates (inja::Environment &env) |
| Templates for the type header. | |
| PlantUmlTemplateSet | makePlantumlTypeTemplates (inja::Environment &env) |
| PythonTemplateSet | makePythonTypeTemplates (inja::Environment &env) |
| TypeScriptTemplateSet | makeTypeScriptTypeTemplates (inja::Environment &env) |
| inja::Template | makeTypeScriptFileTemplate (inja::Environment &env) |
| File-level template that wraps per-type rendered output with imports + header. | |
| struct sen::gen::detail::CppTemplateSet |
| struct sen::gen::detail::JsonTemplateSet |
| struct sen::gen::detail::MkDocsTemplates |
| struct sen::gen::detail::PlantUmlTemplateSet |
| struct sen::gen::detail::PythonTemplateSet |
| struct sen::gen::detail::TemplateVisitorResult |
| Class Members | ||
|---|---|---|
| string | enumerationsDoc | |
| string | structuresDoc | |
| string | variantsDoc | |
| string | sequencesDoc | |
| string | quantitiesDoc | |
| string | aliasesDoc | |
| string | classesDoc | |
| string | optionalsDoc | |
| vector< Node > | rootClasses | |
| TypeGroups | groups | |
| struct sen::gen::detail::TypeGroups |
| struct sen::gen::detail::TypeScriptTemplateSet |
| void sen::gen::detail::configureEnv | ( | inja::Environment & | env | ) |
Registers inja helper callbacks used by generator templates.
|
nodiscard |
Splits a string into substrings by a delimiter, skipping empty results.
|
nodiscard |
Appends a prefix to the beginning of a given string.
|
nodiscard |
Appends a suffix to the end of a given string.
|
nodiscard |
Transform a string to uppercase.
|
nodiscard |
Transform a string_view to uppercase.
|
nodiscard |
Computes C++ namespace from a string package.
|
nodiscard |
Computes C++ namespace from a type set.
|
nodiscard |
Computes C++ namespace from a custom type.
|
nodiscard |
Walks the given context's type sets and their imports depth-first, returning unique sets in insertion order. Insertion order (rather than pointer order) keeps generator output stable across builds for generators that emit a single consolidated file or rely on iteration order for dependency layering.
|
nodiscard |
|
nodiscard |
|
noexcept |
Templates for the type header.
|
noexcept |
Templates for the implementation source file.
| inja::Template sen::gen::detail::makeCppPackageExportTemplate | ( | inja::Environment & | env | ) |
The template for generating stl package exports.
| inja::Template sen::gen::detail::makeCppBaseHeaderFileTemplate | ( | inja::Environment & | env | ) |
Returns the template of the Base Header File.
| inja::Template sen::gen::detail::makeCppImplFileTemplate | ( | inja::Environment & | env | ) |
Returns the template of the Implementation File.
|
noexcept |
Templates for the type header.
| MkDocsTemplates sen::gen::detail::makeMkDocsTemplates | ( | inja::Environment & | env | ) |
Templates for the type header.
| PlantUmlTemplateSet sen::gen::detail::makePlantumlTypeTemplates | ( | inja::Environment & | env | ) |
| PythonTemplateSet sen::gen::detail::makePythonTypeTemplates | ( | inja::Environment & | env | ) |
| TypeScriptTemplateSet sen::gen::detail::makeTypeScriptTypeTemplates | ( | inja::Environment & | env | ) |
| inja::Template sen::gen::detail::makeTypeScriptFileTemplate | ( | inja::Environment & | env | ) |
File-level template that wraps per-type rendered output with imports + header.