Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Types | Private Attributes | List of all members
cMemorySettingsRepository::sValue Struct Reference

Public Member Functions

bool getBoolValue () const
 
Int64 getIntValue () const
 
AString getStringValue () const
 
 sValue (AString value)
 
 sValue (bool value)
 
 sValue (Int64 value)
 

Private Types

enum class  eType { String , Int64 , Bool }
 

Private Attributes

union {
   bool   m_boolValue
 
   Int64   m_intValue
 
}; 
 
AString m_stringValue
 
enum cMemorySettingsRepository::sValue::eType m_Type
 

Detailed Description

Definition at line 52 of file MemorySettingsRepository.h.

Member Enumeration Documentation

◆ eType

Enumerator
String 
Int64 
Bool 

Definition at line 85 of file MemorySettingsRepository.h.

Constructor & Destructor Documentation

◆ sValue() [1/3]

cMemorySettingsRepository::sValue::sValue ( AString  value)
inline

Definition at line 54 of file MemorySettingsRepository.h.

◆ sValue() [2/3]

cMemorySettingsRepository::sValue::sValue ( Int64  value)
inline

Definition at line 62 of file MemorySettingsRepository.h.

◆ sValue() [3/3]

cMemorySettingsRepository::sValue::sValue ( bool  value)
inline

Definition at line 70 of file MemorySettingsRepository.h.

Member Function Documentation

◆ getBoolValue()

bool cMemorySettingsRepository::sValue::getBoolValue ( ) const
inline

Definition at line 80 of file MemorySettingsRepository.h.

◆ getIntValue()

Int64 cMemorySettingsRepository::sValue::getIntValue ( ) const
inline

Definition at line 79 of file MemorySettingsRepository.h.

◆ getStringValue()

AString cMemorySettingsRepository::sValue::getStringValue ( ) const
inline

Definition at line 78 of file MemorySettingsRepository.h.

Member Data Documentation

◆ 

union { ... }

◆ m_boolValue

bool cMemorySettingsRepository::sValue::m_boolValue

Definition at line 97 of file MemorySettingsRepository.h.

◆ m_intValue

Int64 cMemorySettingsRepository::sValue::m_intValue

Definition at line 96 of file MemorySettingsRepository.h.

◆ m_stringValue

AString cMemorySettingsRepository::sValue::m_stringValue
private

Definition at line 93 of file MemorySettingsRepository.h.

◆ m_Type

enum cMemorySettingsRepository::sValue::eType cMemorySettingsRepository::sValue::m_Type
private

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