#include <typelib/typedisplay.hh>
Public Member Functions | |
TypeDisplayVisitor (std::ostream &stream, std::string const &base_indent) | |
Protected Member Functions | |
bool | visit_ (NullType const &type) |
bool | visit_ (OpaqueType const &type) |
bool | visit_ (Compound const &type) |
bool | visit_ (Compound const &type, Field const &field) |
bool | visit_ (Numeric const &type) |
bool | visit_ (Enum const &type) |
bool | visit_ (Pointer const &type) |
bool | visit_ (Array const &type) |
stream << type
and stream << type_display(type, indent)
instead TypeDisplayVisitor::TypeDisplayVisitor | ( | std::ostream & | stream, | |
std::string const & | base_indent | |||
) |
bool TypeDisplayVisitor::visit_ | ( | NullType const & | type | ) | [protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
bool TypeDisplayVisitor::visit_ | ( | OpaqueType const & | type | ) | [protected, virtual] |
bool TypeDisplayVisitor::visit_ | ( | Compound const & | type | ) | [protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Type::getName(), Typelib::Type::getSize(), and Typelib::TypeVisitor::visit_().
Reimplemented from Typelib::TypeVisitor.
References Typelib::Field::getOffset(), and Typelib::TypeVisitor::visit_().
bool TypeDisplayVisitor::visit_ | ( | Numeric const & | type | ) | [protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Numeric::Float, Typelib::Numeric::getNumericCategory(), Typelib::Type::getSize(), Typelib::Numeric::SInt, and Typelib::Numeric::UInt.
bool TypeDisplayVisitor::visit_ | ( | Enum const & | type | ) | [protected, virtual] |
bool TypeDisplayVisitor::visit_ | ( | Pointer const & | type | ) | [protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Indirect::getIndirection(), and Typelib::Type::getName().
bool TypeDisplayVisitor::visit_ | ( | Array const & | type | ) | [protected, virtual] |
Reimplemented from Typelib::TypeVisitor.
References Typelib::Array::getDimension(), and Typelib::TypeVisitor::visit_().