Classes | Public Member Functions | Public Attributes | List of all members
ImGuiStorage Struct Reference

#include <imgui.h>

Classes

struct  ImGuiStoragePair
 

Public Member Functions

IMGUI_API void BuildSortByKey ()
 
void Clear ()
 
IMGUI_API bool GetBool (ImGuiID key, bool default_val=false) const
 
IMGUI_API bool * GetBoolRef (ImGuiID key, bool default_val=false)
 
IMGUI_API float GetFloat (ImGuiID key, float default_val=0.0f) const
 
IMGUI_API float * GetFloatRef (ImGuiID key, float default_val=0.0f)
 
IMGUI_API int GetInt (ImGuiID key, int default_val=0) const
 
IMGUI_API int * GetIntRef (ImGuiID key, int default_val=0)
 
IMGUI_API voidGetVoidPtr (ImGuiID key) const
 
IMGUI_API void ** GetVoidPtrRef (ImGuiID key, void *default_val=NULL)
 
IMGUI_API void SetAllInt (int val)
 
IMGUI_API void SetBool (ImGuiID key, bool val)
 
IMGUI_API void SetFloat (ImGuiID key, float val)
 
IMGUI_API void SetInt (ImGuiID key, int val)
 
IMGUI_API void SetVoidPtr (ImGuiID key, void *val)
 

Public Attributes

ImVector< ImGuiStoragePairData
 

Detailed Description

Definition at line 1729 of file imgui.h.

Member Function Documentation

◆ BuildSortByKey()

void ImGuiStorage::BuildSortByKey ( )

Definition at line 1909 of file imgui.cpp.

◆ Clear()

void ImGuiStorage::Clear ( )
inline

Definition at line 1746 of file imgui.h.

◆ GetBool()

bool ImGuiStorage::GetBool ( ImGuiID  key,
bool  default_val = false 
) const

Definition at line 1933 of file imgui.cpp.

◆ GetBoolRef()

bool * ImGuiStorage::GetBoolRef ( ImGuiID  key,
bool  default_val = false 
)

Definition at line 1963 of file imgui.cpp.

◆ GetFloat()

float ImGuiStorage::GetFloat ( ImGuiID  key,
float  default_val = 0.0f 
) const

Definition at line 1938 of file imgui.cpp.

◆ GetFloatRef()

float * ImGuiStorage::GetFloatRef ( ImGuiID  key,
float  default_val = 0.0f 
)

Definition at line 1968 of file imgui.cpp.

◆ GetInt()

int ImGuiStorage::GetInt ( ImGuiID  key,
int  default_val = 0 
) const

Definition at line 1925 of file imgui.cpp.

◆ GetIntRef()

int * ImGuiStorage::GetIntRef ( ImGuiID  key,
int  default_val = 0 
)

Definition at line 1955 of file imgui.cpp.

◆ GetVoidPtr()

void * ImGuiStorage::GetVoidPtr ( ImGuiID  key) const

Definition at line 1946 of file imgui.cpp.

◆ GetVoidPtrRef()

void ** ImGuiStorage::GetVoidPtrRef ( ImGuiID  key,
void default_val = NULL 
)

Definition at line 1976 of file imgui.cpp.

◆ SetAllInt()

void ImGuiStorage::SetAllInt ( int  val)

Definition at line 2023 of file imgui.cpp.

◆ SetBool()

void ImGuiStorage::SetBool ( ImGuiID  key,
bool  val 
)

Definition at line 1996 of file imgui.cpp.

◆ SetFloat()

void ImGuiStorage::SetFloat ( ImGuiID  key,
float  val 
)

Definition at line 2001 of file imgui.cpp.

◆ SetInt()

void ImGuiStorage::SetInt ( ImGuiID  key,
int  val 
)

Definition at line 1985 of file imgui.cpp.

◆ SetVoidPtr()

void ImGuiStorage::SetVoidPtr ( ImGuiID  key,
void val 
)

Definition at line 2012 of file imgui.cpp.

Member Data Documentation

◆ Data

ImVector<ImGuiStoragePair> ImGuiStorage::Data

Definition at line 1741 of file imgui.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06