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.3 - (hide annotations) (download) (as text)
Tue Mar 15 04:49:40 2005 UTC (19 years ago) by tani
Branch: MAIN
CVS Tags: RELEASE_1_0_0, RELEASE_1_0_1
Changes since 1.2: +24 -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     * $Revision: 1.2 $
24 youi 1.2 * $Log: itemtype.h,v $
25 tani 1.3 * Revision 1.2 2005/01/24 10:51:11 youi
26     * 鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申ID鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申.
27     *
28 youi 1.2 * Revision 1.1 2005/01/14 04:28:07 youi
29     * initial version
30     *
31 youi 1.1 *
32     */
33     #if !defined( ITEMTYPE_H )
34     #define ITEMTYPE_H
35    
36 youi 1.2 #define XNP_ITEMTYPE_NAME_LEN 30
37     #define XNP_ITEMTYPE_DISPLAY_NAME_LEN 30
38 youi 1.1
39     typedef int itemop_t;
40     typedef unsigned int itemtypeid_t;
41     class itemtype{
42     public:
43     itemtype();
44     ~itemtype();
45    
46     itemtypeid_t getItemTypeID() const;
47 youi 1.2 unsigned int getModuleID() const;
48     const char* getName() const;
49     const char* getDisplayName() const;
50 youi 1.1
51     void setItemTypeID( itemtypeid_t x );
52 youi 1.2 void setModuleID( unsigned int x );
53     void setName( const char* x );
54     void setDisplayName( const char* x );
55 youi 1.1 private:
56     itemtypeid_t item_type_id;
57 youi 1.2 unsigned int mid;
58     char name[ XNP_ITEMTYPE_NAME_LEN + 1 ];
59     char display_name[ XNP_ITEMTYPE_DISPLAY_NAME_LEN + 1 ];
60 youi 1.1 };
61     typedef itemtype itemtype_t;
62     #endif

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