Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
00001 /* 00002 * AbstractAnnotation.hpp 00003 * 00004 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 00005 * 00006 * Oracle is a registered trademarks of Oracle Corporation and/or its 00007 * affiliates. 00008 * 00009 * This software is the confidential and proprietary information of Oracle 00010 * Corporation. You shall not disclose such confidential and proprietary 00011 * information and shall use it only in accordance with the terms of the 00012 * license agreement you entered into with Oracle. 00013 * 00014 * This notice may not be removed or altered. 00015 */ 00016 #ifndef COH_ABSTRACT_ANNOTATION_HPP 00017 #define COH_ABSTRACT_ANNOTATION_HPP 00018 00019 #include "coherence/lang/compatibility.hpp" 00020 00021 #include "coherence/lang/Annotation.hpp" 00022 #include "coherence/lang/Class.hpp" 00023 00024 00025 COH_OPEN_NAMESPACE3(coherence,lang,annotation) 00026 00027 /** 00028 * AbstractAnnotation provides a common base class for Annotations. 00029 * 00030 * @author mf 2011.03.03 00031 * 00032 * @since Coherence 3.7.1 00033 */ 00034 class COH_EXPORT AbstractAnnotation 00035 : public abstract_spec<AbstractAnnotation, 00036 extends<Object>, 00037 implements<Annotation> > 00038 { 00039 // ----- Annotation interface ------------------------------------------- 00040 00041 public: 00042 /** 00043 * {@inheritDoc} 00044 */ 00045 virtual Class::View annotationType() const; 00046 }; 00047 00048 COH_CLOSE_NAMESPACE3 00049 00050 #endif // COH_ABSTRACT_ANNOTATION_HPP