repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::CppVisitor Struct Reference

#include <cpp.h>

Collaboration diagram for librepr::CppVisitor:
[legend]

Public Member Functions

template<category::has_members T>
auto operator() (T info)
 
template<typename T >
requires librepr::category::has_enumerator_names<T>
auto operator() (T info)
 
template<typename T >
requires category::has_extent<T>
auto operator() (T info)
 
template<typename T >
auto operator() (T info)
 

Public Attributes

std::size_t indent_level = 0
 
std::size_t indent_amount = 4
 
std::size_t unnamed_count = 0
 
detail::StringBuffer result
 

Member Function Documentation

◆ operator()() [1/4]

template<category::has_members T>
auto librepr::CppVisitor::operator() ( info)
inline

◆ operator()() [2/4]

auto librepr::CppVisitor::operator() ( info)
inline

◆ operator()() [3/4]

template<typename T >
requires category::has_extent<T>
auto librepr::CppVisitor::operator() ( info)
inline

◆ operator()() [4/4]

template<typename T >
auto librepr::CppVisitor::operator() ( info)
inline

Member Data Documentation

◆ indent_amount

std::size_t librepr::CppVisitor::indent_amount = 4

◆ indent_level

std::size_t librepr::CppVisitor::indent_level = 0

◆ result

detail::StringBuffer librepr::CppVisitor::result

◆ unnamed_count

std::size_t librepr::CppVisitor::unnamed_count = 0

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