Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
ParentChildSiblingBase.h
Go to the documentation of this file.
1
// created by Bobby Philip 05092001
2
#ifndef _PARENTCHILDSIBLINGBASE_H_
3
#define _PARENTCHILDSIBLINGBASE_H_
4
5
#include "
GenericDataBase.h
"
6
#include "
MappedGrid.h
"
7
8
// this header file contains the declaration of the base class for the
9
// ParentInfo, ChildInfo, and SiblingInfo objects
10
class
ParentChildSiblingBase
11
{
12
protected
:
14
int
gridIndex
;
16
aString
className
;
17
public
:
19
ParentChildSiblingBase
();
21
ParentChildSiblingBase
(
const
ParentChildSiblingBase
&X,
const
CopyType
ct =
DEEP
);
23
ParentChildSiblingBase
(
const
int
);
25
ParentChildSiblingBase
&
operator=
(
const
ParentChildSiblingBase
&X );
27
virtual
~ParentChildSiblingBase
();
29
virtual
inline
aString
getClassName
(
void
) {
return
className
; }
31
virtual
Integer
get
(
const
GenericDataBase
& db,
const
aString
&name );
33
virtual
Integer
put
(
const
GenericDataBase
& db,
const
aString
&name )
const
;
35
virtual
void
consistencyCheck
(
void
)
const
;
36
38
inline
const
int
getGridIndex
(
void
)
const
{
return
gridIndex
; }
39
inline
void
setGridIndex
(
const
int
index ) {
gridIndex
= index; }
41
friend
ostream&
operator<<
(ostream&
s
,
const
ParentChildSiblingBase
&pcsBase );
42
};
43
44
#endif // _PARENTCHILDSIBLINGBASE_H_
Generated on Fri Jan 4 2013 10:17:57 for Overture by
1.8.3