LMMS
Loading...
Searching...
No Matches
eel_string_context_state Class Reference

#include <eel_strings.h>

Public Member Functions

 eel_string_context_state ()
 ~eel_string_context_state ()
void clear_state (bool full)
void update_named_vars (NSEEL_VMCTX vm)
EEL_F * GetVarForFormat (int formatidx)
EEL_F * GetNamedVar (const char *s, bool createIfNotExists, EEL_F *altOut)
const char * GetStringForIndex (EEL_F val, EEL_STRING_STORAGECLASS **stringContainerOut=NULL, bool is_for_write=false)
int AddString (EEL_STRING_STORAGECLASS *ns)

Static Public Member Functions

static int cmpistr (const char **a, const char **b)
static EEL_F addNamedStringCallback (void *opaque, const char *name)
static EEL_F addStringCallback (void *opaque, struct eelStringSegmentRec *list)
static int varEnumProc (const char *name, EEL_F *val, void *ctx)

Public Attributes

WDL_PtrList< EEL_STRING_STORAGECLASSm_literal_strings
WDL_PtrList< EEL_STRING_STORAGECLASSm_unnamed_strings
WDL_PtrList< EEL_STRING_STORAGECLASSm_named_strings
WDL_StringKeyedArray< intm_named_strings_names
EEL_STRING_STORAGECLASSm_user_strings [EEL_STRING_MAX_USER_STRINGS]
WDL_AssocArray< const char *, EEL_F_PTRm_varname_cache
NSEEL_VMCTX m_vm

Constructor & Destructor Documentation

◆ eel_string_context_state()

eel_string_context_state::eel_string_context_state ( )
inline

◆ ~eel_string_context_state()

eel_string_context_state::~eel_string_context_state ( )
inline

Member Function Documentation

◆ addNamedStringCallback()

EEL_F eel_string_context_state::addNamedStringCallback ( void * opaque,
const char * name )
inlinestatic

◆ AddString()

int eel_string_context_state::AddString ( EEL_STRING_STORAGECLASS * ns)
inline

◆ addStringCallback()

EEL_F eel_string_context_state::addStringCallback ( void * opaque,
struct eelStringSegmentRec * list )
inlinestatic

◆ clear_state()

void eel_string_context_state::clear_state ( bool full)
inline

◆ cmpistr()

int eel_string_context_state::cmpistr ( const char ** a,
const char ** b )
inlinestatic

◆ GetNamedVar()

EEL_F * eel_string_context_state::GetNamedVar ( const char * s,
bool createIfNotExists,
EEL_F * altOut )
inline

◆ GetStringForIndex()

const char * eel_string_context_state::GetStringForIndex ( EEL_F val,
EEL_STRING_STORAGECLASS ** stringContainerOut = NULL,
bool is_for_write = false )
inline

◆ GetVarForFormat()

EEL_F * eel_string_context_state::GetVarForFormat ( int formatidx)
inline

◆ update_named_vars()

void eel_string_context_state::update_named_vars ( NSEEL_VMCTX vm)
inline

◆ varEnumProc()

int eel_string_context_state::varEnumProc ( const char * name,
EEL_F * val,
void * ctx )
inlinestatic

Member Data Documentation

◆ m_literal_strings

WDL_PtrList<EEL_STRING_STORAGECLASS> eel_string_context_state::m_literal_strings

◆ m_named_strings

WDL_PtrList<EEL_STRING_STORAGECLASS> eel_string_context_state::m_named_strings

◆ m_named_strings_names

WDL_StringKeyedArray<int> eel_string_context_state::m_named_strings_names

◆ m_unnamed_strings

WDL_PtrList<EEL_STRING_STORAGECLASS> eel_string_context_state::m_unnamed_strings

◆ m_user_strings

EEL_STRING_STORAGECLASS* eel_string_context_state::m_user_strings[EEL_STRING_MAX_USER_STRINGS]

◆ m_varname_cache

WDL_AssocArray<const char *, EEL_F_PTR> eel_string_context_state::m_varname_cache

◆ m_vm

NSEEL_VMCTX eel_string_context_state::m_vm

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