Definition at line 65 of file asn1writer.h.
typedef std::list<Asn1Buffer*> OSB_LIB::Asn1BufferCache::Buffers [private] |
STL container for the buffers.
A std::set<Asn1Buffer*> would allow better control over the buffers in use.
However performance tests have shown that rebalancing of the set's tree after insert/erase is too expensive. (Old logic should be available in older versions of the file.)
Definition at line 75 of file asn1writer.h.
OSB_LIB::Asn1BufferCache::Asn1BufferCache | ( | ) |
Default constructor.
OSB_LIB::Asn1BufferCache::~Asn1BufferCache | ( | ) |
Destructor: deletes the buffers in the cache.
OSB_LIB::Asn1BufferCache::Asn1BufferCache | ( | const Asn1BufferCache & | ) | [private] |
Prevent copying until needed: not implemented.
Asn1Buffer* OSB_LIB::Asn1BufferCache::get | ( | ) | [private] |
Get a buffer from the cache.
Asn1BufferCache& OSB_LIB::Asn1BufferCache::operator= | ( | const Asn1BufferCache & | ) | [private] |
Prevent assignment until needed: not implemented.
void OSB_LIB::Asn1BufferCache::put | ( | Asn1Buffer * | buf | ) | [private] |
friend class Asn1Buffer [friend] |
bool OSB_LIB::Asn1BufferCache::indtor_ [private] |
Buffers OSB_LIB::Asn1BufferCache::pool_ [private] |