The Battle for Wesnoth  1.19.0-dev
Private Types | Private Member Functions | Private Attributes | Friends | List of all members
game_config::fake_transaction Class Reference

Holds a fake cache transaction if no real one is used. More...

#include <config_cache.hpp>

Private Types

typedef std::unique_ptr< config_cache_transactionvalue_type
 

Private Member Functions

 fake_transaction (const fake_transaction &)=delete
 
fake_transactionoperator= (const fake_transaction &)=delete
 
 fake_transaction ()
 

Private Attributes

value_type trans_
 

Friends

class config_cache
 

Detailed Description

Holds a fake cache transaction if no real one is used.

Definition at line 262 of file config_cache.hpp.

Member Typedef Documentation

◆ value_type

Definition at line 269 of file config_cache.hpp.

Constructor & Destructor Documentation

◆ fake_transaction() [1/2]

game_config::fake_transaction::fake_transaction ( const fake_transaction )
privatedelete

◆ fake_transaction() [2/2]

game_config::fake_transaction::fake_transaction ( )
inlineprivate

Definition at line 272 of file config_cache.hpp.

References game_config::config_cache_transaction::is_active(), and trans_.

Member Function Documentation

◆ operator=()

fake_transaction& game_config::fake_transaction::operator= ( const fake_transaction )
privatedelete

Friends And Related Function Documentation

◆ config_cache

friend class config_cache
friend

Definition at line 267 of file config_cache.hpp.

Member Data Documentation

◆ trans_

value_type game_config::fake_transaction::trans_
private

Definition at line 270 of file config_cache.hpp.

Referenced by fake_transaction().


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