Definition at line 101 of file recordstreams.h.
typedef std::map<RecordStreamInfo::Oid, RecordStreamInfo> OSB_LIB::RecordStreams::Cont |
typedef std::set<RecordStreamInfo::Oid> OSB_LIB::RecordStreams::RsIdSet |
void OSB_LIB::RecordStreams::clear | ( | ) |
Clear the list of record streams.
bool OSB_LIB::RecordStreams::empty | ( | ) | const |
const RecordStreamInfo* OSB_LIB::RecordStreams::find | ( | const RecordStreamInfo::Oid & | rsId | ) | const |
Find a record stream by its id.
RecordStreamInfo* OSB_LIB::RecordStreams::find | ( | const RecordStreamInfo::Oid & | rsId | ) |
Find a record stream by its id.
RsIdSet OSB_LIB::RecordStreams::getChildren | ( | const RecordStreamInfo::Oid & | rsId | ) | const |
Get all existing children of a record stream.
long OSB_LIB::RecordStreams::read | ( | const OSB_DB::Session & | session, | |
const RecordStreamFilter & | filter, | |||
bool | readAll | |||
) |
Read the record streams.
session | Database session to use. | |
filter | Record stream filter to use. | |
readAll | Flag to read the parent and childs of the matched streams. |
long OSB_LIB::RecordStreams::refresh | ( | const OSB_DB::Session & | session | ) |
Refresh the list of record streams from the database.
session | Database session to use. |
void OSB_LIB::RecordStreams::replace | ( | const RecordStreamInfo & | rs, | |
bool | isMatched | |||
) |
Replace a record stream.
rs | Record stream to add or replace. | |
isMatched | Flag if the stream of matched by the filter (true) or is a secondary stream (false). |
size_t OSB_LIB::RecordStreams::size | ( | ) | const |
Primary record streams.
These are the ones matched by the filter used to call read() one or several times.
Definition at line 183 of file recordstreams.h.