5 * Copyright (C) 2008 Pawel Dziepak
13 #include "interface.h"
14 #include "implementation.h"
16 #include "type_name.h"
18 #include "libs/delegate.h"
52 interface
*type_interf
;
54 delegate
<implementation
*> create_impl
;
57 typedef type_name name
;
59 type(root_type
, type_name
, type_name
, interface
, //unit_test,
60 delegate
<implementation
*>);
64 type_name
get_name() const;
66 root_type
get_root_type() const;
67 root_type
get_child_type() const;
68 type_name
get_base_type() const;
70 //unit_test *get_test() const;
71 interface
*get_interface() const;
73 component
*create_component(component
*);
75 bool operator==(type
&);
76 bool operator!=(type
&);