ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
源代码在线查看: object.hpp
// file : Utility/Introspection/Object.hpp // author : Boris Kolpackov // copyright : Copyright (c) 2002-2003 Boris Kolpackov // license : http://kolpackov.net/license.html #ifndef UTILITY_INTROSPECTION_OBJECT_HPP #define UTILITY_INTROSPECTION_OBJECT_HPP #include "Utility/Introspection/TypeInfo.hpp" namespace Utility { namespace Introspection { class Object { public: static TypeInfo const& static_type_info () throw (); virtual TypeInfo const& type_info () const throw (); protected: virtual ~Object (); Object () throw (); Object (Object const&) throw (); Object& operator= (Object const&) throw (); protected: virtual void type_info (TypeInfo const& tid) throw (); private: TypeInfo const* type_info_; }; } } #include "Utility/Introspection/Object.ipp" #endif // UTILITY_INTROSPECTION_OBJECT_HPP //Object.hpp,v 1.1 2005/05/24 04:33:12 turkaye Exp