|
IBAMR
IBAMR version 0.19.
|
#include <tbox/NullDatabase.h>

Public Types | |
| enum | DataType { SAMRAI_INVALID, SAMRAI_DATABASE, SAMRAI_BOOL, SAMRAI_CHAR, SAMRAI_INT, SAMRAI_COMPLEX, SAMRAI_DOUBLE, SAMRAI_FLOAT, SAMRAI_STRING, SAMRAI_BOX } |
Public Member Functions | |
| NullDatabase () | |
| virtual | ~NullDatabase () |
| virtual bool | create (const std::string &name) |
| virtual bool | open (const std::string &name) |
| virtual bool | close () |
| virtual bool | keyExists (const std::string &key) |
| virtual Array< std::string > | getAllKeys () |
| virtual enum DataType | getArrayType (const std::string &key) |
| virtual int | getArraySize (const std::string &key) |
| virtual bool | isDatabase (const std::string &key) |
| virtual Pointer< Database > | putDatabase (const std::string &key) |
| virtual Pointer< Database > | getDatabase (const std::string &key) |
| virtual bool | isBool (const std::string &key) |
| virtual void | putBoolArray (const std::string &key, const bool *const data, const int nelements) |
| virtual Array< bool > | getBoolArray (const std::string &key) |
| virtual bool | isDatabaseBox (const std::string &key) |
| virtual void | putDatabaseBoxArray (const std::string &key, const DatabaseBox *const data, const int nelements) |
| virtual Array< DatabaseBox > | getDatabaseBoxArray (const std::string &key) |
| virtual bool | isChar (const std::string &key) |
| virtual void | putCharArray (const std::string &key, const char *const data, const int nelements) |
| virtual Array< char > | getCharArray (const std::string &key) |
| virtual bool | isComplex (const std::string &key) |
| virtual void | putComplexArray (const std::string &key, const dcomplex *const data, const int nelements) |
| virtual Array< dcomplex > | getComplexArray (const std::string &key) |
| virtual bool | isDouble (const std::string &key) |
| virtual void | putDoubleArray (const std::string &key, const double *const data, const int nelements) |
| virtual Array< double > | getDoubleArray (const std::string &key) |
| virtual bool | isFloat (const std::string &key) |
| virtual void | putFloatArray (const std::string &key, const float *const data, const int nelements) |
| virtual Array< float > | getFloatArray (const std::string &key) |
| virtual bool | isInteger (const std::string &key) |
| virtual void | putIntegerArray (const std::string &key, const int *const data, const int nelements) |
| virtual Array< int > | getIntegerArray (const std::string &key) |
| virtual bool | isString (const std::string &key) |
| virtual void | putStringArray (const std::string &key, const std::string *const data, const int nelements) |
| virtual Array< std::string > | getStringArray (const std::string &key) |
| virtual std::string | getName () |
| virtual void | printClassData (std::ostream &os=pout) |
| virtual void | putBoolArray (const std::string &key, const Array< bool > &data) |
| virtual void | putBoolArray (const std::string &key, const bool *const data, const int nelements)=0 |
| virtual Array< bool > | getBoolArray (const std::string &key)=0 |
| virtual void | getBoolArray (const std::string &key, bool *data, const int nelements) |
| virtual void | putDatabaseBoxArray (const std::string &key, const Array< DatabaseBox > &data) |
| virtual void | putDatabaseBoxArray (const std::string &key, const DatabaseBox *const data, const int nelements)=0 |
| virtual Array< DatabaseBox > | getDatabaseBoxArray (const std::string &key)=0 |
| virtual void | getDatabaseBoxArray (const std::string &key, DatabaseBox *data, const int nelements) |
| virtual void | putCharArray (const std::string &key, const Array< char > &data) |
| virtual void | putCharArray (const std::string &key, const char *const data, const int nelements)=0 |
| virtual Array< char > | getCharArray (const std::string &key)=0 |
| virtual void | getCharArray (const std::string &key, char *data, const int nelements) |
| virtual void | putComplexArray (const std::string &key, const Array< dcomplex > &data) |
| virtual void | putComplexArray (const std::string &key, const dcomplex *const data, const int nelements)=0 |
| virtual Array< dcomplex > | getComplexArray (const std::string &key)=0 |
| virtual void | getComplexArray (const std::string &key, dcomplex *data, const int nelements) |
| virtual void | putFloatArray (const std::string &key, const Array< float > &data) |
| virtual void | putFloatArray (const std::string &key, const float *const data, const int nelements)=0 |
| virtual Array< float > | getFloatArray (const std::string &key)=0 |
| virtual void | getFloatArray (const std::string &key, float *data, const int nelements) |
| virtual void | putDoubleArray (const std::string &key, const Array< double > &data) |
| virtual void | putDoubleArray (const std::string &key, const double *const data, const int nelements)=0 |
| virtual Array< double > | getDoubleArray (const std::string &key)=0 |
| virtual void | getDoubleArray (const std::string &key, double *data, const int nelements) |
| virtual void | putIntegerArray (const std::string &key, const Array< int > &data) |
| virtual void | putIntegerArray (const std::string &key, const int *const data, const int nelements)=0 |
| virtual Array< int > | getIntegerArray (const std::string &key)=0 |
| virtual void | getIntegerArray (const std::string &key, int *data, const int nelements) |
| virtual void | putStringArray (const std::string &key, const Array< std::string > &data) |
| virtual void | putStringArray (const std::string &key, const std::string *const data, const int nelements)=0 |
| virtual Array< std::string > | getStringArray (const std::string &key)=0 |
| virtual void | getStringArray (const std::string &key, std::string *data, const int nelements) |
| virtual void | putBool (const std::string &key, const bool &data) |
| virtual void | putBoolArray (const std::string &key, const Array< bool > &data) |
| virtual bool | getBool (const std::string &key) |
| virtual bool | getBoolWithDefault (const std::string &key, const bool &defaultvalue) |
| virtual void | getBoolArray (const std::string &key, bool *data, const int nelements) |
| virtual void | putDatabaseBox (const std::string &key, const DatabaseBox &data) |
| virtual void | putDatabaseBoxArray (const std::string &key, const Array< DatabaseBox > &data) |
| virtual DatabaseBox | getDatabaseBox (const std::string &key) |
| virtual DatabaseBox | getDatabaseBoxWithDefault (const std::string &key, const DatabaseBox &defaultvalue) |
| virtual void | getDatabaseBoxArray (const std::string &key, DatabaseBox *data, const int nelements) |
| virtual void | putChar (const std::string &key, const char &data) |
| virtual void | putCharArray (const std::string &key, const Array< char > &data) |
| virtual char | getChar (const std::string &key) |
| virtual char | getCharWithDefault (const std::string &key, const char &defaultvalue) |
| virtual void | getCharArray (const std::string &key, char *data, const int nelements) |
| virtual void | putComplex (const std::string &key, const dcomplex &data) |
| virtual void | putComplexArray (const std::string &key, const Array< dcomplex > &data) |
| virtual dcomplex | getComplex (const std::string &key) |
| virtual dcomplex | getComplexWithDefault (const std::string &key, const dcomplex &defaultvalue) |
| virtual void | getComplexArray (const std::string &key, dcomplex *data, const int nelements) |
| virtual void | putDouble (const std::string &key, const double &data) |
| virtual void | putDoubleArray (const std::string &key, const Array< double > &data) |
| virtual double | getDouble (const std::string &key) |
| virtual double | getDoubleWithDefault (const std::string &key, const double &defaultvalue) |
| virtual void | getDoubleArray (const std::string &key, double *data, const int nelements) |
| virtual void | putFloat (const std::string &key, const float &data) |
| virtual void | putFloatArray (const std::string &key, const Array< float > &data) |
| virtual float | getFloat (const std::string &key) |
| virtual float | getFloatWithDefault (const std::string &key, const float &defaultvalue) |
| virtual void | getFloatArray (const std::string &key, float *data, const int nelements) |
| virtual void | putInteger (const std::string &key, const int &data) |
| virtual void | putIntegerArray (const std::string &key, const Array< int > &data) |
| virtual int | getInteger (const std::string &key) |
| virtual int | getIntegerWithDefault (const std::string &key, const int &defaultvalue) |
| virtual void | getIntegerArray (const std::string &key, int *data, const int nelements) |
| virtual void | putString (const std::string &key, const std::string &data) |
| virtual void | putStringArray (const std::string &key, const Array< std::string > &data) |
| virtual std::string | getString (const std::string &key) |
| virtual std::string | getStringWithDefault (const std::string &key, const std::string &defaultvalue) |
| virtual void | getStringArray (const std::string &key, std::string *data, const int nelements) |
| void | getScalar (const std::string &key, bool &scalar) |
| void | getScalar (const std::string &key, char &scalar) |
| void | getScalar (const std::string &key, dcomplex &scalar) |
| void | getScalar (const std::string &key, float &scalar) |
| void | getScalar (const std::string &key, double &scalar) |
| void | getScalar (const std::string &key, int &scalar) |
| void | putScalar (const std::string &key, const bool scalar) |
| void | putScalar (const std::string &key, const char scalar) |
| void | putScalar (const std::string &key, const dcomplex scalar) |
| void | putScalar (const std::string &key, const float scalar) |
| void | putScalar (const std::string &key, const double scalar) |
| void | putScalar (const std::string &key, const int scalar) |
| void | getArray (const std::string &key, Array< bool > &array) |
| void | getArray (const std::string &key, Array< char > &array) |
| void | getArray (const std::string &key, Array< dcomplex > &array) |
| void | getArray (const std::string &key, Array< float > &array) |
| void | getArray (const std::string &key, Array< double > &array) |
| void | getArray (const std::string &key, Array< int > &array) |
| void | putArray (const std::string &key, const Array< bool > array) |
| void | putArray (const std::string &key, const Array< char > array) |
| void | putArray (const std::string &key, const Array< dcomplex > array) |
| void | putArray (const std::string &key, const Array< float > array) |
| void | putArray (const std::string &key, const Array< double > array) |
| void | putArray (const std::string &key, const Array< int > array) |
Private Member Functions | |
| NullDatabase (const NullDatabase &) | |
| void | operator= (const NullDatabase &) |
The NullDatabase provides an implementation of the Database interface with empty methods for the purpose of reducing the the number of guards necessary in methods from other classes that use databases.
See the Database class documentation for a description of the generic database interface.
|
inherited |
Enumerated type indicating what type of values is stored in a database entry. Returned from getType() method.
Note: The SAMRAI_ prefix is needed since some poorly written packages do "#define CHAR" etc.
| Enumerator | |
|---|---|
| SAMRAI_INVALID | |
| SAMRAI_DATABASE | |
| SAMRAI_BOOL | |
| SAMRAI_CHAR | |
| SAMRAI_INT | |
| SAMRAI_COMPLEX | |
| SAMRAI_DOUBLE | |
| SAMRAI_FLOAT | |
| SAMRAI_STRING | |
| SAMRAI_BOX | |
| SAMRAI::tbox::NullDatabase::NullDatabase | ( | ) |
The null database constructor creates an empty database with the name "null".
|
virtual |
The input database destructor deallocates the data in the database.
|
private |
|
virtual |
Create a new database file.
Returns true if successful.
| name | name of database. Normally a filename. |
Implements SAMRAI::tbox::Database.
|
virtual |
Open an existing database file.
Returns true if successful.
| name | name of database. Normally a filename. |
Implements SAMRAI::tbox::Database.
|
virtual |
Close the database.
Returns true if successful.
If the database is currently open then close it. This should flush all data to the file (if the database is on disk).
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Return an empty Array<string>.
Implements SAMRAI::tbox::Database.
|
virtual |
Return INVALID.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns 0.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns a pointer to the null database.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns a pointer to the null database.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
Returns an empty Array<bool>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns an empty Array<box>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns an empty Array<char>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns an empty Array<dcomplex>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
Returns an empty Array<double>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always return true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns an empty Array<float>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
Returns an empty Array<int>.
Implements SAMRAI::tbox::Database.
|
virtual |
Always returns true.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Returns an empty Array<std::string>.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
virtual |
Does nothing.
Implements SAMRAI::tbox::Database.
|
private |
| virtual void SAMRAI::tbox::Database::putBoolArray |
Create a boolean array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putBoolArray |
Create a boolean array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Get a boolean entry from the database with the specified key name. If the specified key does not exist in the database or is not a boolean array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getBoolArray |
Get a boolean entry from the database with the specified key name. If the specified key does not exist in the database or is not a boolean array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putDatabaseBoxArray |
Create a box array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putDatabaseBoxArray |
Create a box array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual Array<DatabaseBox> SAMRAI::tbox::Database::getDatabaseBoxArray |
Get a box entry from the database with the specified key name. If the specified key does not exist in the database or is not a box array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getDatabaseBoxArray |
Get a box entry from the database with the specified key name. If the specified key does not exist in the database or is not a box array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putCharArray |
Create a character array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putCharArray |
Create a character array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual Array<char> SAMRAI::tbox::Database::getCharArray |
Get a character entry from the database with the specified key name. If the specified key does not exist in the database or is not a character array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getCharArray |
Get a character entry from the database with the specified key name. If the specified key does not exist in the database or is not a character array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putComplexArray |
Create a complex array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putComplexArray |
Create a complex array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Get a complex entry from the database with the specified key name. If the specified key does not exist in the database or is not a complex array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getComplexArray |
Get a complex entry from the database with the specified key name. If the specified key does not exist in the database or is not a complex array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putFloatArray |
Create a float array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putFloatArray |
Create a float array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual Array<float> SAMRAI::tbox::Database::getFloatArray |
Get a float entry from the database with the specified key name. If the specified key does not exist in the database or is not a float array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getFloatArray |
Get a float entry from the database with the specified key name. If the specified key does not exist in the database or is not a float array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putDoubleArray |
Create a double array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putDoubleArray |
Create a double array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Get a double entry from the database with the specified key name. If the specified key does not exist in the database or is not a double array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getDoubleArray |
Get a double entry from the database with the specified key name. If the specified key does not exist in the database or is not a double array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putIntegerArray |
Create an integer array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putIntegerArray |
Create an integer array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Get an integer entry from the database with the specified key name. If the specified key does not exist in the database or is not an integer array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getIntegerArray |
Get an integer entry from the database with the specified key name. If the specified key does not exist in the database or is not an integer array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual void SAMRAI::tbox::Database::putStringArray |
Create a string array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| virtual void SAMRAI::tbox::Database::putStringArray |
Create a string array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
| virtual Array<std::string> SAMRAI::tbox::Database::getStringArray |
Get a string entry from the database with the specified key name. If the specified key does not exist in the database or is not a string array, then an error message is printed and the program exits.
| key | Key name in database. |
| virtual void SAMRAI::tbox::Database::getStringArray |
Get a string entry from the database with the specified key name. If the specified key does not exist in the database or is not a string array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
|
virtualinherited |
Create a boolean scalar entry in the database with the specified key name. If thoe key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a boolean array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a boolean entry in the database with the specified key name. If the specified key does not exist in the database or is not a boolean scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a boolean entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a boolean scalar, then an error message is printed and the program exits.
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a boolean entry from the database with the specified key name. If the specified key does not exist in the database or is not a boolean array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a box scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a box array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a box entry in the database with the specified key name. If the specified key does not exist in the database or is not a box scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a box entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a box scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a box entry from the database with the specified key name. If the specified key does not exist in the database or is not a box array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a character scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a character array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a character entry in the database with the specified key name. If the specified key does not exist in the database or is not an character scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a character entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a character scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a character entry from the database with the specified key name. If the specified key does not exist in the database or is not a character array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a complex scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a complex array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a complex entry in the database with the specified key name. If the specified key does not exist in the database or is not a complex scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a complex entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a complex scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a complex entry from the database with the specified key name. If the specified key does not exist in the database or is not a complex array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a double scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a double array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a double entry in the database with the specified key name. If the specified key does not exist in the database or is not a double scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a double entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a double scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a double entry from the database with the specified key name. If the specified key does not exist in the database or is not a double array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a float scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a float array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a float entry in the database with the specified key name. If the specified key does not exist in the database or is not a float scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a float entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a float scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a float entry from the database with the specified key name. If the specified key does not exist in the database or is not a float array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create an integer scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create an integer array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get an integer entry in the database with the specified key name. If the specified key does not exist in the database or is not an integer scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get an integer entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not an integer scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get an integer entry from the database with the specified key name. If the specified key does not exist in the database or is not an integer array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a string scalar entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Value to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Create a string array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| data | Array with data to put into database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a string entry in the database with the specified key name. If the specified key does not exist in the database or is not an string scalar, then an error message is printed and the program exits.
| key | Key name in database. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a string entry in the database with the specified key name. If the specified key does not exist in the database, then the default value is returned. If the key exists but is not a string scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| defaultvalue | Default value to return if not found. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
virtualinherited |
Get a string entry from the database with the specified key name. If the specified key does not exist in the database or is not a string array, then an error message is printed and the program exits. The specified number of elements must match exactly the number of elements in the array in the database.
| key | Key name in database. |
| data | Array with data to put into database. |
| nelements | Number of elements to write from array. |
Reimplemented in SAMRAI::tbox::MemoryDatabase.
|
inherited |
Get a bool entry in the database with the specified key name. If the specified key does not exist in the database or is not an bool scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a char entry in the database with the specified key name. If the specified key does not exist in the database or is not an char scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a complex entry in the database with the specified key name. If the specified key does not exist in the database or is not an complex scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a float entry in the database with the specified key name. If the specified key does not exist in the database or is not an float scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a double entry in the database with the specified key name. If the specified key does not exist in the database or is not an double scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a integer entry in the database with the specified key name. If the specified key does not exist in the database or is not an integer scalar, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Returns scalar that was read. |
|
inherited |
Get a bool entry from the database with the specified key name. If the specified key does not exist in the database or is not a bool array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
|
inherited |
Get a char entry from the database with the specified key name. If the specified key does not exist in the database or is not a char array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
|
inherited |
Get a complex entry from the database with the specified key name. If the specified key does not exist in the database or is not a complex array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
|
inherited |
Get a float entry from the database with the specified key name. If the specified key does not exist in the database or is not a float array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
|
inherited |
Get a double entry from the database with the specified key name. If the specified key does not exist in the database or is not a double array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
|
inherited |
Get a integer entry from the database with the specified key name. If the specified key does not exist in the database or is not a integer array, then an error message is printed and the program exits.
| key | Key name in database. |
| scalar | Value to put into database. |
Get a bool entry from the database with the specified key name. If the specified key does not exist in the database or is not a bool array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
|
inherited |
Get a char entry from the database with the specified key name. If the specified key does not exist in the database or is not a char array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
|
inherited |
Get a complex entry from the database with the specified key name. If the specified key does not exist in the database or is not a complex array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
|
inherited |
Get a float entry from the database with the specified key name. If the specified key does not exist in the database or is not a float array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
|
inherited |
Get a double entry from the database with the specified key name. If the specified key does not exist in the database or is not a double array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
Get a integer entry from the database with the specified key name. If the specified key does not exist in the database or is not a integer array, then an error message is printed and the program exits.
| key | Key name in database. |
| array | Returns array that was read. |
|
inherited |
Create an bool array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
|
inherited |
Create an char array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
|
inherited |
Create an complex array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
|
inherited |
Create an float array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
|
inherited |
Create an double array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
|
inherited |
Create an integer array entry in the database with the specified key name. If the key already exists in the database, then the old key record is deleted and the new one is silently created in its place.
| key | Key name in database. |
| array | Array to put into database. |
1.8.17