UserAry.h

Go to the documentation of this file.
00001 /***********************************************************************
00002 *
00003 * KRYPTOS - Educational software for teaching cryptography
00004 * For more information, see http://www.kryptosproject.org/
00005 * Submissions may be sent to kryptos@gmu.edu (see web site for details)
00006 * 
00007 * 
00008 * Copyright (c) 2002-2004 George Mason University
00009 * 
00010 * Permission is hereby granted, free of charge, to any person obtaining
00011 * a copy of this software and associated documentation files (the
00012 * "Software"), to deal in the Software without restriction, including
00013 * without limitation the rights to use, copy, modify, merge, publish,
00014 * distribute, sublicense, and/or sell copies of the Software, and to
00015 * permit persons to whom the Software is furnished to do so, subject
00016 * to the following conditions:
00017 *
00018 * The above copyright notice and this permission notice shall be
00019 * included in all copies or substantial portions of the Software.
00020 *
00021 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00022 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00023 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00024 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00025 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00026 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00027 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00028 *
00029 ***********************************************************************/
00030 #include "user1.h"
00031 #if !defined(AFX_USERARY_H__5C52C0C0_49B1_4B09_BDDB_774793D1BE9B__INCLUDED_)
00032 #define AFX_USERARY_H__5C52C0C0_49B1_4B09_BDDB_774793D1BE9B__INCLUDED_
00033 
00034 #if _MSC_VER > 1000
00035 #pragma once
00036 #endif // _MSC_VER > 1000
00037 
00038 class CUserAry  : public CObject
00039 {
00040 public:
00041         void DeleteAll();
00042         DECLARE_SERIAL( CUserAry )
00043         CUserAry();
00044 
00045         CUser * rec;
00046         int len;
00047         int max;
00048         void Delete1(int x);
00049         void Add1(CUser x);
00050 
00051         virtual void Serialize(CArchive &ar);
00052 
00053         virtual ~CUserAry();
00054 
00055 };
00056 
00057 #endif // !defined(AFX_USERARY_H__5C52C0C0_49B1_4B09_BDDB_774793D1BE9B__INCLUDED_)

Generated on Sun Dec 17 14:54:15 2006 for Kryptos by  doxygen 1.5.1-p1