use pt::Stream instead of a template stream argument

Use pt::Stream instead of a template StreamType argument for Generator, Blocks,
Cache, Functions, FunInfo, Objects and OutStreams classes.
This commit is contained in:
2024-12-06 11:54:58 +01:00
parent d9ffe9b00a
commit 1fa9305867
12 changed files with 777 additions and 707 deletions

View File

@@ -85,6 +85,24 @@ void Blocks::ClearCache()
void Blocks::CacheObjects(Objects & obj)
{
BlocksTable::iterator i = blocks_tab.begin();
for( ; i != blocks_tab.end() ; ++i)
Cache(obj, i->second);
}
void Blocks::CacheFunctions(Functions & fun)
{
BlocksTable::iterator i = blocks_tab.begin();
for( ; i != blocks_tab.end() ; ++i)
Cache(fun, i->second);
}
void Blocks::CacheBlocks(Blocks & blocks)
{
BlocksTable::iterator i = blocks_tab.begin();
@@ -95,4 +113,5 @@ void Blocks::CacheBlocks(Blocks & blocks)
} // namespace