class
DoomReader
(Return to index)
Encapsulates reading from the DOOM data base.
This class reads an object from the DOOM data base and gives access
to its data.
Type: |
Instantiable |
Include file: |
./AbstractObjects/DoomReader.hh |
Synopsis (including inherited members):
Documentation:
- Public members:
-
DoomReader
(const string&)
;
- Constructor.
Constructs a reader object for the MAD Object name. It
reads the data from the DOOM data base and stores them internally.
-
DoomReader
(const string&,int[])
;
- Constructor.
Like DoomReader(name), but use keyList to further
identify the object.
-
string getBaseName
()const
;
- Return base name.
This is the name of the MAD exemplar object from which the object
is ultimately derived.
-
int getInt
(int)const
;
- Return integer value.
Identified by index.
-
int getIntSize
()const
;
- Number of integer values.
Return number of integer values stored in this reader.
-
string getParentName
()const
;
- Return parent name.
This is the name of the MAD class object from which the object
is derived directly.
-
double getReal
(int)const
;
- Return real value.
Identified by index.
-
int getRealSize
()const
;
- Number of real values.
Return number of real values stored in this reader.
-
string getString
(int)const
;
- Return string value.
Identified by index.
-
int getStringSize
()const
;
- Number of string values.
Return number of string values stored in this reader.
-
string getTypeName
()const
;
- Return type name.
This is the DOOM object type like "ELEMENT", "ACTION", etc.
Documentation generated by fci on Mon Feb 7 12:29:49 2000