lipsum-cpp 0.5.4
A basic library written in C++ for generating placeholder Lorem Ipsum text.
Loading...
Searching...
No Matches
generatorsettings.hpp
Go to the documentation of this file.
1
13#pragma once
14
15#include "core/argvec2.hpp"
16
17namespace lipsum
18{
27 {
33 bool lazy = false;
34
42
50
58
66
67#ifndef LIPSUM_MIN_BUILD
75
84
92
100
108
116
123
131
132#endif
133
147 void change_setting(const std::string& setting, const ArgVec2& value);
148
157 void toggle_lazy();
158 };
159} // namespace lipsum
Declaration of lipsum::ArgVec2.
#define LIPSUM_API
Macro for shared libraries.
Definition core.hpp:71
This is the main namespace of lipsum-cpp.
Store data for inputting into functions.
Definition argvec2.hpp:29
Settings for lipsum::Generator.
Definition generatorsettings.hpp:27
bool lazy
Whether generation will be "lazy".
Definition generatorsettings.hpp:33
ArgVec2 csvCols
The minimum and maximum possible number of columns in CSV data.
Definition generatorsettings.hpp:130
ArgVec2 fragFmt
The minimum and maximum possible number of sentence fragments in a formatted sentence.
Definition generatorsettings.hpp:99
ArgVec2 point
The minimum and maximum possible number of points in lists or statements in code blocks.
Definition generatorsettings.hpp:74
ArgVec2 sent
The minimum and maximum possible number of sentences in a paragraph.
Definition generatorsettings.hpp:57
ArgVec2 para
The minimum and maximum possible number of paragraphs in a text.
Definition generatorsettings.hpp:65
ArgVec2 frag
The minimum and maximum possible number of sentence fragments in a sentence.
Definition generatorsettings.hpp:49
ArgVec2 word
The minimum and maximum possible number of words in a sentence fragment.
Definition generatorsettings.hpp:41
ArgVec2 wordURL
The minimum and maximum possible number of words at the end of a URL, in a heading,...
Definition generatorsettings.hpp:83
ArgVec2 wordFmt
The minimum and maximum possible number of words in a sentence fragment in formatted sentences.
Definition generatorsettings.hpp:91
ArgVec2 jsonLength
The minimum and maximum possible number of items in JSON objects and arrays.
Definition generatorsettings.hpp:115
ArgVec2 level
The minimum and maximum possible heading levels, excluding the main heading.
Definition generatorsettings.hpp:107
ArgVec2 csvRows
The minimum and maximum possible number of rows in CSV data.
Definition generatorsettings.hpp:122