format_base Class Reference |
Public Types | |
typedef std::list < stack_value_type > | stack_type |
typedef format_element_t | stack_value_type |
typedef std::ostream | stream_type |
Public Member Functions | |
virtual void | begin_alternate (stream_type &os) |
virtual void | begin_atom (stream_type &os, const any_regular_t &) |
virtual void | begin_bag (stream_type &os, const std::string &) |
virtual void | begin_format (stream_type &os) |
virtual void | begin_sequence (stream_type &os) |
virtual std::size_t | depth () |
virtual void | end_alternate (stream_type &os) |
virtual void | end_atom (stream_type &os) |
virtual void | end_bag (stream_type &os) |
virtual void | end_format (stream_type &os) |
virtual void | end_sequence (stream_type &os) |
format_base () | |
virtual std::size_t | stack_depth () |
virtual | ~format_base () |
Protected Member Functions | |
void | down () |
void | pop_stack (stream_type &os) |
void | push_stack (stream_type &os, const stack_value_type &element=format_element_t()) |
const stack_value_type & | stack_n (std::size_t n) const |
stack_value_type & | stack_n (std::size_t n) |
stack_value_type & | stack_top () |
const stack_value_type & | stack_top () const |
void | up () |
Detailed Description
Definition at line 99 of file iomanip.hpp.
Member Typedef Documentation
typedef std::list<stack_value_type> stack_type |
Definition at line 104 of file iomanip.hpp.
typedef format_element_t stack_value_type |
Definition at line 103 of file iomanip.hpp.
typedef std::ostream stream_type |
Reimplemented in asl_cel_format, javascript_format, pdf_format, and xml_format.
Definition at line 102 of file iomanip.hpp.
Constructor & Destructor Documentation
virtual ~format_base | ( | ) | [virtual] |
Definition at line 106 of file iomanip.hpp.
format_base | ( | ) |
Definition at line 124 of file iomanip.hpp.
Member Function Documentation
virtual void begin_alternate | ( | stream_type & | os ) | [virtual] |
Definition at line 118 of file iomanip.hpp.
virtual void begin_atom | ( | stream_type & | os, |
const any_regular_t & | |||
) | [virtual] |
Reimplemented in asl_cel_format, javascript_format, pdf_format, and xml_format.
Definition at line 121 of file iomanip.hpp.
virtual void begin_bag | ( | stream_type & | os, |
const std::string & | |||
) | [virtual] |
Reimplemented in asl_cel_format, javascript_format, pdf_format, and xml_format.
Definition at line 112 of file iomanip.hpp.
virtual void begin_format | ( | stream_type & | os ) | [virtual] |
Reimplemented in asl_cel_format, javascript_format, pdf_format, and xml_format.
Definition at line 109 of file iomanip.hpp.
virtual void begin_sequence | ( | stream_type & | os ) | [virtual] |
Reimplemented in asl_cel_format, javascript_format, pdf_format, and xml_format.
Definition at line 115 of file iomanip.hpp.
virtual std::size_t depth | ( | ) | [virtual] |
Definition at line 128 of file iomanip.hpp.
void down | ( | ) | [protected] |
Definition at line 183 of file iomanip.hpp.
virtual void end_alternate | ( | stream_type & | os ) | [virtual] |
Definition at line 119 of file iomanip.hpp.
virtual void end_atom | ( | stream_type & | os ) | [virtual] |
Definition at line 122 of file iomanip.hpp.
virtual void end_bag | ( | stream_type & | os ) | [virtual] |
Definition at line 113 of file iomanip.hpp.
virtual void end_format | ( | stream_type & | os ) | [virtual] |
Definition at line 110 of file iomanip.hpp.
virtual void end_sequence | ( | stream_type & | os ) | [virtual] |
Definition at line 116 of file iomanip.hpp.
void pop_stack | ( | stream_type & | os ) | [protected] |
Definition at line 143 of file iomanip.hpp.
void push_stack | ( | stream_type & | os, |
const stack_value_type & | element = format_element_t() |
||
) | [protected] |
Definition at line 136 of file iomanip.hpp.
virtual std::size_t stack_depth | ( | ) | [virtual] |
Definition at line 131 of file iomanip.hpp.
stack_value_type& stack_n | ( | std::size_t | n ) | [protected] |
Definition at line 168 of file iomanip.hpp.
const stack_value_type& stack_n | ( | std::size_t | n ) | const [protected] |
Definition at line 156 of file iomanip.hpp.
const stack_value_type& stack_top | ( | ) | const [protected] |
Definition at line 150 of file iomanip.hpp.
stack_value_type& stack_top | ( | ) | [protected] |
Definition at line 153 of file iomanip.hpp.
void up | ( | ) | [protected] |
Definition at line 180 of file iomanip.hpp.