![]()  | 
  
      Apache Ignite C++
    
   | 
 
Cache entry class template. More...
#include <cache_entry.h>
  
 Public Member Functions | |
| CacheEntry () | |
| Default constructor.  More... | |
| CacheEntry (const K &key, const V &val) | |
| Constructor.  More... | |
| CacheEntry (const CacheEntry &other) | |
| Copy constructor.  More... | |
| CacheEntry (const std::pair< K, V > &p) | |
| Constructor.  More... | |
| virtual | ~CacheEntry () | 
| Destructor.  | |
| CacheEntry & | operator= (const CacheEntry &other) | 
| Assignment operator.  More... | |
| const K & | GetKey () const | 
| Get key.  More... | |
| const V & | GetValue () const | 
| Get value.  More... | |
| bool | HasValue () const | 
| Check if the value exists.  More... | |
Protected Attributes | |
| K | key | 
| Key.  More... | |
| V | val | 
| Value.  More... | |
| bool | hasValue | 
| Indicates whether value exists.  | |
Cache entry class template.
Both key and value types should be default-constructable, copy-constructable and assignable.
      
  | 
  inline | 
Default constructor.
Creates instance with both key and value default-constructed.
      
  | 
  inline | 
Constructor.
| key | Key. | 
| val | Value. | 
      
  | 
  inline | 
Copy constructor.
| other | Other instance. | 
      
  | 
  inline | 
Constructor.
| p | Pair. | 
      
  | 
  inline | 
Get key.
      
  | 
  inline | 
Get value.
      
  | 
  inline | 
Check if the value exists.
      
  | 
  inline | 
Assignment operator.
| other | Other instance. | 
      
  | 
  protected | 
Key.
      
  | 
  protected | 
Value.
 1.8.13