Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ImGuiTextBuffer Struct Reference

#include <imgui.h>

Public Member Functions

IMGUI_API void appendf (const char *fmt,...) IM_FMTARGS(2)
 
IMGUI_API void appendfv (const char *fmt, va_list args) IM_FMTLIST(2)
 
const char * begin () const
 
const char * c_str () const
 
void clear ()
 
bool empty ()
 
const char * end () const
 
 ImGuiTextBuffer ()
 
char operator[] (int i)
 
void reserve (int capacity)
 
int size () const
 

Public Attributes

ImVector< char > Buf
 

Static Public Attributes

static char EmptyString [1] = { 0 }
 

Detailed Description

Definition at line 1571 of file imgui.h.

Constructor & Destructor Documentation

◆ ImGuiTextBuffer()

ImGuiTextBuffer::ImGuiTextBuffer ( )
inline

Definition at line 1576 of file imgui.h.

Member Function Documentation

◆ appendf()

void ImGuiTextBuffer::appendf ( const char *  fmt,
  ... 
)

Definition at line 2112 of file imgui.cpp.

◆ appendfv()

void ImGuiTextBuffer::appendfv ( const char *  fmt,
va_list  args 
)

Definition at line 2086 of file imgui.cpp.

◆ begin()

const char* ImGuiTextBuffer::begin ( ) const
inline

Definition at line 1578 of file imgui.h.

◆ c_str()

const char* ImGuiTextBuffer::c_str ( ) const
inline

Definition at line 1584 of file imgui.h.

◆ clear()

void ImGuiTextBuffer::clear ( )
inline

Definition at line 1582 of file imgui.h.

◆ empty()

bool ImGuiTextBuffer::empty ( )
inline

Definition at line 1581 of file imgui.h.

◆ end()

const char* ImGuiTextBuffer::end ( ) const
inline

Definition at line 1579 of file imgui.h.

◆ operator[]()

char ImGuiTextBuffer::operator[] ( int  i)
inline

Definition at line 1577 of file imgui.h.

◆ reserve()

void ImGuiTextBuffer::reserve ( int  capacity)
inline

Definition at line 1583 of file imgui.h.

◆ size()

int ImGuiTextBuffer::size ( ) const
inline

Definition at line 1580 of file imgui.h.

Member Data Documentation

◆ Buf

ImVector<char> ImGuiTextBuffer::Buf

Definition at line 1573 of file imgui.h.

◆ EmptyString

char ImGuiTextBuffer::EmptyString = { 0 }
static

Definition at line 1574 of file imgui.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23