Transient commit.

Kite is not in a stable state, juste doing so to allow working
on automated build script.
This commit is contained in:
Jean-Paul Chaput 2010-03-16 12:28:32 +00:00
parent db8ebab4ea
commit 5c592b18ce
2 changed files with 38 additions and 0 deletions

View File

@ -566,4 +566,24 @@ namespace Kite {
{ return _base->_getRecord(); }
// -------------------------------------------------------------------
// Class : "Kite::DyKeyQueue".
DyKeyQueue::DyKeyQueue ()
: _map ()
, _requests()
{ }
DyKeyQueue::~DyKeyQueue ()
{
if ( (not _map.empty()) or (not _requests.empty()) ) {
cerr << Warning("~DyKeyQueue(): Still contains %d elements and %d requests."
,_map.size(),_requests.size()) << endl;
}
}
} // End of Kite namespace.

View File

@ -208,6 +208,24 @@ namespace Kite {
typedef GenericFilter<GCell*> GCellFilter;
// -------------------------------------------------------------------
// Class : "DyKeyQueue".
class DyKeyQueue {
public:
DyKeyQueue ();
~DyKeyQueue ();
GCell* pop ();
void push ( GCell* );
void invalidate ( GCell* );
void revalidate ();
private:
set<GCell*,GCell::CompareByKey> _map;
set<GCell*> _requests;
};
} // End of Kite namespace.