00001 #if !defined (__COMPONENT_HPP)
00002 #define __COMPONENT_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #if !defined(__COMMON_HPP)
00025 #include <Common.hpp>
00026 #endif
00027
00028
00029 namespace corelinux
00030 {
00031
00032 DECLARE_CLASS( Visitor );
00033 DECLARE_CLASS( Component );
00034
00042 class Component : public CoreLinuxObject
00043 {
00044 public:
00045
00047
00048 Component( void );
00049
00054 Component( ComponentCref );
00055
00057
00058 virtual ~Component( void );
00059
00060
00061
00062
00069 ComponentRef operator=( ComponentCref );
00070
00077 bool operator==( ComponentCref ) const;
00078
00085 bool operator!=( ComponentCref ) const;
00086
00087
00088
00089
00090
00099 virtual void accept( VisitorPtr ) throw ( NullPointerException );
00100
00101 };
00102
00103 }
00104
00105 #endif // if !defined(__COMPONENT_HPP)
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116