Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/itemtype.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download) (as text)
Wed May 18 10:00:17 2005 UTC (18 years, 10 months ago) by aga4096
Branch: MAIN
CVS Tags: AL_PORTING, MergePnt_20051116, REL20051226, XOONIPS_RC1, REL20060323, tag20060615, tag20070307current, tag20061115, MergePnt_20051220, tag20061130, merge_to_20060605, tag20070307, REL20060213, RELENG_2_0_0a_RELEASE, tag20060622, merge_to_20060411, HEAD
Branch point for: XOONIPS_STABLE_32, XOONIPS_STABLE, XOONIPS_STABLE_3, XOONIPS_STABLE_2
Changes since 1.3: +8 -1 lines
File MIME type: text/x-chdr
・モジュール統合に対応.

1 youi 1.1 /*
2 tani 1.3 * --------------------------------------------------------------------------
3     * XooNiPs Xoops modules for Neuroinformatics Platforms
4     * Copyright (C) 2005 RIKEN, Japan. All rights reserved.
5     * http://sourceforge.jp/projects/xoonips/
6     * --------------------------------------------------------------------------
7     * This program is free software; you can redistribute it and/or
8     * modify it under the terms of the GNU General Public License
9     * as published by the Free Software Foundation; either version 2
10     * of the License, or (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20     * --------------------------------------------------------------------------
21 youi 1.1 *
22 tani 1.3 *
23 aga4096 1.4 * $Revision: 1.3 $
24 youi 1.2 * $Log: itemtype.h,v $
25 aga4096 1.4 * Revision 1.3 2005/03/15 04:49:40 tani
26     * 鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申.
27     *
28 tani 1.3 * Revision 1.2 2005/01/24 10:51:11 youi
29     * 鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申ID鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申.
30     *
31 youi 1.2 * Revision 1.1 2005/01/14 04:28:07 youi
32     * initial version
33     *
34 youi 1.1 *
35     */
36     #if !defined( ITEMTYPE_H )
37     #define ITEMTYPE_H
38    
39 youi 1.2 #define XNP_ITEMTYPE_NAME_LEN 30
40     #define XNP_ITEMTYPE_DISPLAY_NAME_LEN 30
41 aga4096 1.4 #define XNP_ITEMTYPE_VIEWPHP_LEN 255
42 youi 1.1
43     typedef int itemop_t;
44     typedef unsigned int itemtypeid_t;
45     class itemtype{
46     public:
47     itemtype();
48     ~itemtype();
49    
50     itemtypeid_t getItemTypeID() const;
51 youi 1.2 unsigned int getModuleID() const;
52     const char* getName() const;
53     const char* getDisplayName() const;
54 aga4096 1.4 const char* getViewphp() const;
55 youi 1.1
56     void setItemTypeID( itemtypeid_t x );
57 youi 1.2 void setModuleID( unsigned int x );
58     void setName( const char* x );
59     void setDisplayName( const char* x );
60 aga4096 1.4 void setViewphp( const char* x );
61 youi 1.1 private:
62     itemtypeid_t item_type_id;
63 youi 1.2 unsigned int mid;
64     char name[ XNP_ITEMTYPE_NAME_LEN + 1 ];
65     char display_name[ XNP_ITEMTYPE_DISPLAY_NAME_LEN + 1 ];
66 aga4096 1.4 char viewphp[ XNP_ITEMTYPE_VIEWPHP_LEN + 1 ];
67 youi 1.1 };
68     typedef itemtype itemtype_t;
69     #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26