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

#include <options.h>

Collaboration diagram for librepr::Options:
[legend]

Public Types

enum  Source { RTTI , CTTI , SOURCE_LOCATION }
 

Public Member Functions

bool should_print_type (std::size_t level) const
 

Public Attributes

bool print_type = true
 
bool explicit_types = false
 
Source name_source = RTTI
 
std::size_t indent = 0
 
std::size_t max_width = librepr::get_terminal_width()
 

Member Enumeration Documentation

◆ Source

Enumerator
RTTI 
CTTI 
SOURCE_LOCATION 

Member Function Documentation

◆ should_print_type()

bool librepr::Options::should_print_type ( std::size_t  level) const
inline

Member Data Documentation

◆ explicit_types

bool librepr::Options::explicit_types = false

◆ indent

std::size_t librepr::Options::indent = 0

◆ max_width

std::size_t librepr::Options::max_width = librepr::get_terminal_width()

◆ name_source

Source librepr::Options::name_source = RTTI

◆ print_type

bool librepr::Options::print_type = true

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