SAGA API  v9.6
api_translator.cpp File Reference
#include "api_core.h"
#include "table.h"

Go to the source code of this file.

Macros

#define COMPARE(Index, Text)   (m_bCmpNoCase ? m_Translations[Index]->m_Text.CmpNoCase(Text) : m_Translations[Index]->m_Text.Cmp(Text))
 

Functions

CSG_TranslatorSG_Get_Translator (void)
 
const SG_CharSG_Translate (const CSG_String &Text)
 

Variables

CSG_Translator gSG_Translator
 

Macro Definition Documentation

◆ COMPARE

#define COMPARE (   Index,
  Text 
)    (m_bCmpNoCase ? m_Translations[Index]->m_Text.CmpNoCase(Text) : m_Translations[Index]->m_Text.Cmp(Text))

Definition at line 235 of file api_translator.cpp.

Function Documentation

◆ SG_Get_Translator()

CSG_Translator& SG_Get_Translator ( void  )

Definition at line 80 of file api_translator.cpp.

References gSG_Translator.

◆ SG_Translate()

const SG_Char* SG_Translate ( const CSG_String Text)

Definition at line 93 of file api_translator.cpp.

References CSG_Translator::Get_Translation(), and gSG_Translator.

Referenced by CSG_Tool_Chain::Create().

Variable Documentation

◆ gSG_Translator

CSG_Translator gSG_Translator

Definition at line 77 of file api_translator.cpp.

Referenced by SG_Get_Translator(), and SG_Translate().