[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/docbook/GNUeModuleGuide/chapters businesso...
From: |
Neil Tiffin |
Subject: |
gnue/docbook/GNUeModuleGuide/chapters businesso... |
Date: |
Sun, 27 May 2001 19:22:22 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/05/27 19:22:17
Modified files:
docbook/GNUeModuleGuide/chapters: businessobjects.sgml
Log message:
Remove not implemented yet from EXTEND and make minor format
corrections.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml.diff?cvsroot=OldCVS&tr1=1.17&tr2=1.18&r1=text&r2=text
Patches:
Index: gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml
diff -u gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.17
gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.18
--- gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml:1.17 Sun May
27 18:24:06 2001
+++ gnue/docbook/GNUeModuleGuide/chapters/businessobjects.sgml Sun May 27
19:22:17 2001
@@ -7,7 +7,7 @@
Introduction
</title>
<para>
- This chapter is $Id: businessobjects.sgml,v 1.17
2001/05/28 01:24:06 ntiffin Exp $.
+ This chapter is $Id: businessobjects.sgml,v 1.18
2001/05/28 02:22:17 ntiffin Exp $.
</para>
<para>
Quick links to the various sections.
@@ -146,61 +146,35 @@
</para>
<programlisting>
-# $RCSfile: businessobjects.sgml,v $: Common definitions for human beings and
androids.
-#
-# Copyright (C) 2001 Free Software Foundation, Inc.
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# GNU Enterprise is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Enterprise; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
-#
-# This file originally written by Neil Tiffin (address@hidden).
-#
-# $Revision: 1.17 $ $Date: 2001/05/28 01:24:06 $ $Author: ntiffin $
-#
-
module person
{
- # -------------------------------------------
- # common definitions for persons
- # -------------------------------------------
- type person
- {
- char surname<35>;
- char given_names<35>;
- };
-
- # -------------------------------------------
- # types of persons
- # -------------------------------------------
- class type
- {
- char code<8>;
- char description<35>;
- };
-
- # -------------------------------------------
- # employees
- # -------------------------------------------
- class employee
- {
- person person;
- type *type;
- };
+ # -------------------------------------------
+ # common definitions for persons
+ # -------------------------------------------
+ type person
+ {
+ char surname<35>;
+ char given_names<35>;
+ };
+
+ # -------------------------------------------
+ # types of persons
+ # -------------------------------------------
+ class type
+ {
+ char code<8>;
+ char description<35>;
+ };
+
+ # -------------------------------------------
+ # employees
+ # -------------------------------------------
+ class employee
+ {
+ person::person *person;
+ person::type *type;
+ };
}; # end of module
@@ -220,13 +194,13 @@
</para>
<programlisting>
- MODULE module_name
- {
+ MODULE module_name
+ {
CLASS class_name
{
# class body goes here.
- };
};
+ };
Where:
module_name - the name of the module (or name space).
@@ -245,7 +219,7 @@
</sect2>
<sect2 id=extend>
<title id=extend.title>
- EXTEND (NOT IMPLEMENTED YET)
+ EXTEND
</title>
<para>
A class may be extended by using the EXTEND keyword. EXTEND allows a
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/04
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/07
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/19
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/19
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/19
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/24
- gnue/docbook/GNUeModuleGuide/chapters businesso...,
Neil Tiffin <=
- gnue/docbook/GNUeModuleGuide/chapters businesso..., Neil Tiffin, 2001/05/31