Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Value Struct Reference

Public Member Functions

 Value (int value, int *counter)
 
 ~Value ()
 

Public Attributes

int fValue
 
intfCounter
 

Detailed Description

Definition at line 13 of file LRUCacheTest.cpp.

Constructor & Destructor Documentation

◆ Value()

Value::Value ( int  value,
int counter 
)
inline

Definition at line 14 of file LRUCacheTest.cpp.

15 : fValue(value)
16 , fCounter(counter) {
17 (*fCounter)++;
18 }
int * fCounter

◆ ~Value()

Value::~Value ( )
inline

Definition at line 20 of file LRUCacheTest.cpp.

20 {
21 (*fCounter)--;
22 }

Member Data Documentation

◆ fCounter

int* Value::fCounter

Definition at line 25 of file LRUCacheTest.cpp.

◆ fValue

int Value::fValue

Definition at line 24 of file LRUCacheTest.cpp.


The documentation for this struct was generated from the following file: