slice_index_base.hpp

См. документацию.
00001 /*
00002 
00003 Copyright (c) 2002-2005, Yauheni Akhotnikau
00004 All rights reserved.
00005 
00006 Redistribution and use in source and binary forms, with or without
00007 modification, are permitted provided that the following conditions are met:
00008 
00009 - Redistributions of source code must retain the above copyright notice, this
00010 list of conditions and the following disclaimer.
00011 
00012 - Redistributions in binary form must reproduce the above copyright notice, this
00013 list of conditions and the following disclaimer in the documentation and/or
00014 other materials provided with the distribution.
00015 
00016 - The name of the author may not be used to endorse or promote products derived
00017 from this software without specific prior written permission.
00018 
00019 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
00020 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00021 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
00022 EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00023 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
00024 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00025 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00026 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
00027 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
00028 OF SUCH DAMAGE.
00029 
00030 */
00031 
00032 /*
00033   ObjESSty-1
00034 */
00035 
00042 #if !defined( _OESS_1__DB__CLN__SLICE_INDEX_BASE_HPP_ )
00043 #define _OESS_1__DB__CLN__SLICE_INDEX_BASE_HPP_
00044 
00045 #include <oess_1/db/h/declspec.hpp>
00046 
00047 #include <oess_1/db/cln/h/db.hpp>
00048 #include <oess_1/db/cln/h/slice_image_base.hpp>
00049 
00050 namespace oess_1
00051 {
00052 
00053 namespace db
00054 {
00055 
00056 namespace cln
00057 {
00058 
00063 class OESS_1__DB__TYPE  slice_index_base_t
00064 {
00065 public:
00066   slice_index_base_t();
00067     virtual ~slice_index_base_t();
00068 
00073   virtual void
00074   on_clear() = 0;
00075 
00080   virtual void
00081   on_insert(
00082     const oess_1::ent_id_t & id,
00083     const oess_1::stdsn::serializable_t & o ) = 0;
00084 
00086   virtual void
00087   on_erase(
00088     const oess_1::ent_id_t & id ) = 0;
00089 
00091   virtual void
00092   on_update(
00093     const oess_1::ent_id_t & id,
00094     const oess_1::stdsn::serializable_t & o ) = 0;
00095 
00097   virtual void
00098   on_attach() = 0;
00099 
00101   virtual void
00102   on_detach() = 0;
00103 
00106 private :
00109   slice_index_base_t(
00110     const slice_index_base_t & o );
00111   slice_index_base_t &
00112   operator=(
00113     const slice_index_base_t & o );
00115 };
00116 
00117 } /* namespace cln */
00118 
00119 } /* namespace db */
00120 
00121 } /* namespace oess_1 */
00122 
00123 #endif

Документация по ObjESSty. Последние изменения: Fri Oct 13 18:35:35 2006. Создано системой  doxygen 1.4.7
Hosted by uCoz