Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.3.0)

E80355-01

coherence/io/pof/reflect/AbstractPofPath.hpp

00001 /*
00002 * AbstractPofPath.hpp
00003 *
00004 * Copyright (c) 2000, 2017, 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_POF_PATH_HPP
00017 #define COH_ABSTRACT_POF_PATH_HPP
00018 
00019 #include "coherence/lang.ns"
00020 
00021 #include "coherence/io/pof/PofReader.hpp"
00022 #include "coherence/io/pof/PofWriter.hpp"
00023 #include "coherence/io/pof/PortableObject.hpp"
00024 #include "coherence/io/pof/reflect/PofNavigator.hpp"
00025 #include "coherence/io/pof/reflect/PofValue.hpp"
00026 
00027 COH_OPEN_NAMESPACE4(coherence,io,pof,reflect)
00028 
00029 using coherence::io::pof::PofReader;
00030 using coherence::io::pof::PofWriter;
00031 
00032 
00033 /**
00034 * Abstract base class for static, path-based implementations of the
00035 * PofNavigator interface.
00036 *
00037 * @author as/gm  2009.03.01
00038 * @since Coherence 3.5
00039 */
00040 class COH_EXPORT AbstractPofPath
00041     : public abstract_spec<AbstractPofPath,
00042         extends<Object>,
00043         implements<PofNavigator, PortableObject> >
00044     {
00045     // ----- PofNavigator interface -----------------------------------------
00046 
00047     public:
00048         /**
00049         * {@inheritDoc}
00050         */
00051         virtual PofValue::Handle navigate(PofValue::Handle hValueOrigin) const;
00052 
00053 
00054     // ----- abstract methods -----------------------------------------------
00055 
00056     protected:
00057         /**
00058         * Return a collection of path elements.
00059         *
00060         * @return a collection of path elements
00061         */
00062         virtual Array<int32_t>::View getPathElements() const = 0;
00063     };
00064 
00065 COH_CLOSE_NAMESPACE4
00066 
00067 #endif // COH_ABSTRACT_POF_PATH_HPP
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.