Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Snapshot.h

Go to the documentation of this file.
00001 // /******************************************************************************\
00002 // *
00003 // * File:          Snapshot.h
00004 // * Creation date: May 17, 2001 19:02
00005 // * Author:        ClassBuilder
00006 // *                XXXX
00007 // * Purpose:       Declaration of class 'DOSnapshot'
00008 // *
00009 // * Modifications: @INSERT_MODIFICATIONS(* )
00010 // * May 25, 2001 15:27 WERS
00011 // *     Updated interface of method 'CommitAdd'
00012 // * May 25, 2001 15:21 WERS
00013 // *     Added member 'm_LastInsertId'
00014 // * May 25, 2001 14:48 WERS
00015 // *     Updated interface of method 'Let'
00016 // * May 25, 2001 14:47 WERS
00017 // *     Added method 'Let'
00018 // *     Added method 'Let'
00019 // * May 18, 2001 10:12 WERS
00020 // *     Updated interface of method 'DOSnapshot'
00021 // *     Updated inheritance 'DOQuery'
00022 // *     Updated member 'm_pNewData'
00023 // * May 17, 2001 20:47 WERS
00024 // *     Updated interface of method 'CommitEdit'
00025 // *     Updated interface of method 'CommitAdd'
00026 // * May 17, 2001 19:31 WERS
00027 // *     Added method 'Edit'
00028 // *     Added method 'CommitEdit'
00029 // *     Added method 'CommitAdd'
00030 // * May 17, 2001 19:22 WERS
00031 // *     Added method 'Let'
00032 // *     Added method 'Let'
00033 // * May 17, 2001 19:13 WERS
00034 // *     Updated member 'm_pNewData'
00035 // * May 17, 2001 19:09 WERS
00036 // *     Added method 'AddNew'
00037 // *     Added member 'm_pNewData'
00038 // * May 17, 2001 19:02 WERS
00039 // *     Added method 'DestructorInclude'
00040 // *     Added method 'ConstructorInclude'
00041 // *     Added method '~DOSnapshot'
00042 // *     Added method 'DOSnapshot'
00043 // *     Added inheritance 'DOQuery'
00044 // *
00045 // *
00046 // \******************************************************************************/
00047 #ifndef _SNAPSHOT_H
00048 #define _SNAPSHOT_H
00049 
00050 //@START_USER1
00055 /* --------------------------------------------------------------
00056 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00057 
00058 This program is free software; you can redistribute it and/or
00059 modify it under the terms of the GNU General Public License
00060 as published by the Free Software Foundation; either
00061 version 2 of the License, or (at your option) any later
00062 version.
00063 
00064 This program is distributed in the hope that it will be useful,
00065 but WITHOUT ANY WARRANTY; without even the implied warranty of
00066 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00067 GNU General Public License for more details.
00068 
00069 You should have received a copy of the GNU General Public License
00070 along with this program; if not, write to the Free Software
00071 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00072 -------------------------------------------------------------- */
00073 //@END_USER1
00074 
00075 
00079 class DOSnapshot
00080     : public DOQuery
00081 {
00082 
00083 //@START_USER2
00084 //@END_USER2
00085 
00086 // Members
00087 private:
00088     CString** m_pNewData;
00089 
00090 protected:
00091 
00092 public:
00093     int m_LastInsertId;
00094 
00095 // Methods
00096 private:
00097     void ConstructorInclude();
00098     void DestructorInclude();
00099 
00100 protected:
00101 
00102 public:
00103     DOSnapshot(DOConnection* pConnection, const char* tableName);
00104     virtual ~DOSnapshot();
00105     void AddNew();
00106     void CommitAdd(bool refresh = true, bool delayedAllowed = true);
00107     void CommitEdit(bool refresh = true);
00108     void Edit();
00109     void Let(const char* fldName, const char* value);
00110     void Let(const unsigned int fldNum, const char* value);
00111     void Let(const char* fldName, int value);
00112     void Let(const unsigned int fldNum, int value);
00113 };
00114 
00115 #endif
00116 
00117 
00118 #ifdef CB_INLINES
00119 #ifndef _SNAPSHOT_H_INLINES
00120 #define _SNAPSHOT_H_INLINES
00121 
00122 //@START_USER3
00123 //@END_USER3
00124 
00125 #endif
00126 #endif
00127 

This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.