Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

submit_group.hh

00001 /*
00002 *  Name:      submit_group.hh
00003 *  Author:    Angel Jimenez Jimenez
00004 *             Rafael Jesus Alcantara Perez
00005 *  Summary:   HTML submit group
00006 *  Date:      $Date: 2003/04/14 00:18:34 $
00007 *  Revision:  $Revision: 1.1 $
00008 *
00009 *  Copyright (C) 1994-2002  Rafael Jesus Alcantara Perez <rafa@dedalo-ing.com>
00010 *
00011 *  This program is free software; you can redistribute it and/or modify
00012 *  it under the terms of the GNU General Public License as published by
00013 *  the Free Software Foundation; either version 2 of the License, or
00014 *  (at your option) any later version.
00015 *
00016 *  This program is distributed in the hope that it will be useful,
00017 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019 *  GNU General Public License for more details.
00020 *
00021 *  You should have received a copy of the GNU General Public License
00022 *  along with this program; if not, write to the Free Software
00023 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024 *  MA 02111-1307, USA.
00025 */
00026 
00027 #ifndef _MPCL_TEXT_HTML_SUBMIT_GROUP__
00028 #define _MPCL_TEXT_HTML_SUBMIT_GROUP__
00029 
00030 #include "container.hh"
00031 #include "submit.hh"
00032 
00033 
00035 namespace mpcl
00036 {
00037 
00039   namespace text
00040   {
00041 
00043     namespace html
00044     {
00045 
00047       class TSubmitGroup : public TContainer
00048       {
00049 
00050         public:
00051 
00052           //
00053           //  C O N S T R U C T O R S
00054           //
00055 
00056           TSubmitGroup ( const char* pkcIDENTIFIER           ,
00057                          const char* pkcVALUE = ""           ,
00058                          const char* pkcALIGN = "horizontal" ) :
00059             TContainer (pkcIDENTIFIER, pkcVALUE, pkcALIGN)     {}
00060 
00061           void insertUpdating (const QTTag& rkqtTAG)
00062           {
00063             (*rkqtTAG) ("identifier") = identifier();
00064             insertAs (identifier(), rkqtTAG, end());
00065           }
00066 
00067           void insertUpdating (const QTTag& rkqtTAG, iterator tINDEX)
00068           {
00069             (*rkqtTAG) ("identifier") = identifier();
00070             insertAs (identifier(), rkqtTAG, tINDEX);
00071           }
00072 
00073       };  // class TSubmitGroup
00074 
00075     }  // namespace html
00076 
00077   }  // namespace text
00078 
00079 }  // namespace mpcl
00080 
00081 
00082 #endif  // not _MPCL_TEXT_HTML_SUBMIT_GROUP__

Generated on Mon Oct 13 02:35:24 2003 for MPCL by doxygen1.2.18