#include <Storage.h>
Public Member Functions | |
Storage (const Storage &storage) | |
Storage & | operator= (const Storage &storage) |
bool | isDatabase () |
bool | isFile () |
bool | isMemory () |
std::string | getPassword () |
std::string | getLocation () |
std::string | getUserName () |
std::string | getLogicalName () |
bool | hasDetails () |
int | hashCode () |
bool | operator== (const Storage storage) |
bool | operator!= (const Storage storage) |
bool | equals (Storage Storage) |
int | getType () |
Static Public Member Functions | |
Storage | getDatabase (const std::string location, const std::string userName, const std::string password) |
Storage | getDatabase (const std::string logicalName) |
Static Public Attributes | |
const Storage | MEMORY |
const Storage | DATABASE |
const Storage | FILE |
Protected Member Functions | |
Storage (int type) | |
Storage (const int type, const std::string logicalName) | |
Storage (const std::string location, const std::string userName, const std::string password) | |
Static Protected Attributes | |
const int | M = 1 |
const int | D = 2 |
const int | F = 4 |
Storage::MEMORY
Storage::DATABASE
Storage::DATABASE(location, user, password)
Storage.FILE
|
copy constructor |
|
Creates a new Storage object.
|
|
Creates a new Storage object.
|
|
Creates a new DATABASE StorageLocation object.
|
|
Compares this StorageLocation to the specified location.
|
|
Gets a DATABASE Storage object for the specified database.
|
|
Gets a DATABASE StorageLocation object for the specified database.
|
|
Gets the location for this storage system.
|
|
Gets the user name for this storage system.
|
|
Gets the password for this storage system.
|
|
Gets the user name for this storage system.
|
|
Determines if this Storage contains storage details.
|
|
Returns a hash code value for this Storage object.
|
|
Determines if this storage system is a database.
|
|
Determines if this storage system is a file.
|
|
Determines if this storage system is memory.
|
|
Compares this StorageLocation to the specified location.
|
|
assignment operator |
|
Compares this StorageLocation to the specified location.
|
|
The database storage location. |
|
The default DATABASE storage location. |
|
The file storage location. |
|
The default FILE storage location. |
|
The memory storage location. |
|
The default MEMORY storage location. |