Class to hold RWDBStoredProc metadata for cache managers.
More...
#include <rw/db/cachemgr.h>
RWDBStoredProcEntry is a class for moving RWDBStoredProc metadata in and out of a cache manager class that inherits from RWDBCacheManager.
- Synopsis
#include <rw/db/cachemgr.h>
#include <rw/tvhmap.h>
spCache.insert(name, spEntry);
}
spCache.findValue(name, spEntry);
return spEntry;
}
private:
};
Offers powerful and convenient facilities for manipulating strings.
Definition stdcstring.h:826
Base class for user-defined metadata cache managers.
Definition cachemgr.h:637
Class to hold RWDBStoredProc metadata for cache managers.
Definition cachemgr.h:55
Maintains a collection of keys, each with an associated item stored according to a hash object.
Definition tvhdict.h:144
◆ RWDBStoredProcEntry() [1/2]
RWDBStoredProcEntry::RWDBStoredProcEntry |
( |
| ) |
|
Constructs an empty object with no metadata information.
◆ RWDBStoredProcEntry() [2/2]
Copies all metadata information from entry.
◆ clearExists()
void RWDBStoredProcEntry::clearExists |
( |
| ) |
|
Clears the value of the exists flag. After this call, hasExists() returns false
.
◆ clearParams()
void RWDBStoredProcEntry::clearParams |
( |
| ) |
|
Clears the parameter list on self. After this call hasParams() returns false
.
◆ clearReturnValue()
void RWDBStoredProcEntry::clearReturnValue |
( |
| ) |
|
Clears the return value column on self. After this call hasReturnValue() returns false
.
◆ clearText()
void RWDBStoredProcEntry::clearText |
( |
| ) |
|
Clears the text on self. After this call hasText() returns false
.
◆ getExists()
bool RWDBStoredProcEntry::getExists |
( |
| ) |
const |
Returns the value of the exists flag.
- Note
- If hasExists() returns
false
this function returns false
.
◆ getParams()
RWDBSchema RWDBStoredProcEntry::getParams |
( |
| ) |
const |
Returns the parameter list set on self.
- Note
- If hasParams() returns
false
this call returns an empty RWDBSchema.
◆ getReturnValue()
RWDBColumn RWDBStoredProcEntry::getReturnValue |
( |
| ) |
const |
◆ getText()
RWCString RWDBStoredProcEntry::getText |
( |
| ) |
const |
Returns the text set on self.
- Note
- If hasText() returns
false
this call returns an empty RWCString.
◆ hasExists()
bool RWDBStoredProcEntry::hasExists |
( |
| ) |
const |
Returns true
if the exists flag has been set on self.
◆ hasParams()
bool RWDBStoredProcEntry::hasParams |
( |
| ) |
const |
Returns true
if a parameter list has been set on self.
◆ hasReturnValue()
bool RWDBStoredProcEntry::hasReturnValue |
( |
| ) |
const |
Returns true
if the return value column has been set on self.
◆ hasText()
bool RWDBStoredProcEntry::hasText |
( |
| ) |
const |
Returns true
if the text has been set on self.
◆ operator=()
Copies all metadata information from entry.
◆ setExists()
void RWDBStoredProcEntry::setExists |
( |
bool | exists | ) |
|
Sets exists flag on self. After this call, hasExists() returns true
.
◆ setParams()
void RWDBStoredProcEntry::setParams |
( |
const RWDBSchema & | schema | ) |
|
Sets the parameter list on self. After this call hasParams() returns true
.
◆ setReturnValue()
void RWDBStoredProcEntry::setReturnValue |
( |
const RWDBColumn & | col | ) |
|
Sets the return value column on self. After this call hasReturnValue() returns true
.
◆ setText()
void RWDBStoredProcEntry::setText |
( |
const RWCString & | text | ) |
|
Sets the text on self. After this call hasText() returns true
.
◆ operator<< [1/2]
Saves the object item to an RWFile. Recursively calls the function saveGuts(), taking duplicate objects into account. See the discussion on Persistence in the Essential Tools Module User's Guide for more information.
◆ operator<< [2/2]
Saves the object item to a virtual stream. Recursively calls the function saveGuts(), taking duplicate objects into account. See the discussion on Persistence in the Essential Tools Module User's Guide for more information.
◆ operator>> [1/2]
Restores an RWDBStoredProcEntry into obj from an RWFile, replacing the previous contents of obj. Recursively calls the function restoreGuts(), taking duplicate objects into account. For more information, see the discussion on Persistence in the Essential Tools Module User's Guide.
◆ operator>> [2/2]
Restores an RWDBStoredProcEntry into obj from a virtual stream, replacing the previous contents of obj. Recursively calls the function restoreGuts(), taking duplicate objects into account. For more information, see the discussion on Persistence in the Essential Tools Module User's Guide.