Get a single variable from the cache. Get the first element in the cache by default. */
| 374 | Get the first element in the cache by default. |
| 375 | */ |
| 376 | const Var_type *get(uint index= 0) const |
| 377 | { |
| 378 | if (index >= m_cache.elements()) |
| 379 | return NULL; |
| 380 | |
| 381 | const Var_type *p= &m_cache.at(index); |
| 382 | return p; |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | Number of elements in the cache. |