#include <typelib/typemodel.hh>


Public Types | |
| enum | NumericCategory { SInt = Type::ValidCategories, UInt, Float } |
Public Member Functions | |
| NumericCategory | getNumericCategory () const |
| Numeric (const std::string &name, size_t size, NumericCategory category) | |
| virtual std::set< Type const * > | dependsOn () const |
Static Public Attributes | |
| static const int | ValidCategories = Float + 1 |
| Typelib::Numeric::Numeric | ( | const std::string & | name, | |
| size_t | size, | |||
| NumericCategory | category | |||
| ) |
Creates a basic type from name, size and category
| Numeric::NumericCategory Typelib::Numeric::getNumericCategory | ( | ) | const |
The category of this numeric type
Referenced by Typelib::ValueVisitor::TypeDispatch::visit_(), and Typelib::TypeDisplayVisitor::visit_().
| virtual std::set<Type const*> Typelib::Numeric::dependsOn | ( | ) | const [inline, virtual] |
The set of types this type depends upon
Implements Typelib::Type.
const int Typelib::Numeric::ValidCategories = Float + 1 [static] |
Reimplemented from Typelib::Type.
1.5.6