Hormiga 1.0

Type Class Reference

#include <type.h>

Collaboration diagram for Type:

List of all members.

Public Member Functions

 Type (const T_STRING &name, Unit *unit)
T_STRING getName () const
UnitgetPrimaryUnit () const

Protected Attributes

T_STRING name
Unitunit

Detailed Description

Definition at line 53 of file type.h.


Constructor & Destructor Documentation

Type::Type ( const T_STRING &  name,
Unit unit 
)

Type

Definition at line 49 of file type.cpp.


Member Function Documentation

T_STRING Type::getName ( ) const

Definition at line 55 of file type.cpp.

Unit * Type::getPrimaryUnit ( ) const

Definition at line 60 of file type.cpp.


Member Data Documentation

T_STRING Type::name [protected]

Definition at line 60 of file type.h.

Unit* Type::unit [protected]

Definition at line 61 of file type.h.


The documentation for this class was generated from the following files: