21static const int print_format_index = std::ios_base::xalloc();
26static const int long_form_index = std::ios_base::xalloc();
44 return o.iword(long_form_index);
56std::ostream &
operator<<(std::ostream &o, print_format pf)
58 o.iword(print_format_index) = pf.t_;
69 o.iword(print_format_index) = c_language_f;
80 o.iword(print_format_index) = cpp_language_f;
91 o.iword(print_format_index) = mql_language_f;
102 o.iword(print_format_index) = python_language_f;
112std::ostream &
dump(std::ostream &o)
114 o.iword(print_format_index) = dump_f;
126 o.iword(print_format_index) = graphviz_f;
139 o.iword(print_format_index) = in_line_f;
154std::ostream &
list(std::ostream &o)
156 o.iword(print_format_index) = list_f;
165std::ostream &
tree(std::ostream &o)
167 o.iword(print_format_index) = tree_f;
178 o.iword(long_form_index) =
true;
189 o.iword(long_form_index) =
false;
print_format_t
Rendering format used to print an individual.
print_format_t print_format_flag(std::ostream &o)
std::ostream & graphviz(std::ostream &o)
Used to print a graph, in dot language, representing the individual.
std::ostream & python_language(std::ostream &o)
Used to print the content of an individual in python-language format.
std::ostream & cpp_language(std::ostream &o)
Used to print the content of an individual in cpp-language format.
std::ostream & long_form(std::ostream &o)
Enable printing of every detail of the individual.
bool long_form_flag(std::ostream &o)
std::ostream & list(std::ostream &o)
Used to print a human readable representation of the individual.
std::ostream & in_line(std::ostream &o)
Used to print the individual on a single line.
std::ostream & tree(std::ostream &o)
Used to print the individual as a tree structure.
std::ostream & c_language(std::ostream &o)
Used to print the content of an individual in c-language format.
std::ostream & short_form(std::ostream &o)
Hide secondary details of the individual.
std::ostream & dump(std::ostream &o)
Used to print the complete content of an individual.
std::ostream & mql_language(std::ostream &o)
Used to print the content of an individual in MQL-language format.
Contains flags and manipulators to control the output format of individuals.
The main namespace for the project.
std::ostream & operator<<(std::ostream &o, hash_t h)
Mainly useful for debugging / testing.