/home/coin/SVN-release/OS-2.3.5/ApplicationTemplates/branchCutPrice/include/OS_user_data.hpp

Go to the documentation of this file.
00001 /* $Id: OS_user_data.hpp 2698 2009-06-09 04:14:07Z kmartin $ */
00002 // Last edit: 2/10/05
00003 //
00004 // Name:     OS_user_data.hpp
00005 // Author:   Francois Margot
00006 //           Tepper School of Business
00007 //           Carnegie Mellon University, Pittsburgh, PA 15213
00008 //           email: fmargot@andrew.cmu.edu
00009 // Date:     12/28/03
00010 //-----------------------------------------------------------------------------
00011 // Copyright (C) 2003, Francois Margot. All Rights Reserved.
00012 
00013 #ifndef _OS_UD_H
00014 #define _OS_UD_H
00015 
00016 #include "BCP_USER.hpp"
00017 
00018 class BCP_buffer;
00019 
00022 /**************************************************************************/
00023 class real_user_data {
00024 
00025   /* Add: fields for real_user_data */
00026 
00027 public:
00028 
00029   //@name Public data members */
00031 
00032 
00033   int max_card_set_zero;
00034 
00036   int card_set_zero;
00037   
00039   int *set_zero;
00041 
00044 
00045   real_user_data(const int max_size);
00046 
00048   ~real_user_data();
00050 
00052   void print() const;
00053 };
00054 
00057 /**************************************************************************/
00058 class MY_user_data : public BCP_user_data {
00059 public:
00060 
00063   int is_processed;
00064 
00066   real_user_data *p_rud;
00067 
00068 public:
00069 
00072 
00073   MY_user_data(const int max_size);
00074 
00076   MY_user_data(BCP_buffer& buf);
00077 
00079   ~MY_user_data();
00080 
00082   void pack(BCP_buffer& buf) const;
00083 
00085   void print() const;
00086 };
00087 #endif
00088 
00089 

Generated on Thu Mar 31 03:12:42 2011 by  doxygen 1.4.7