c

namespace base

Include: Base/InitializeAndDetectProcessor.h

Define this to enable internal calls to the profiler, if it has been set with simul::base::SetProfilingInterface().

Classes and Structures

class BaseProfilingInterface  
class DefaultProfiler  
class EnvironmentVariables  
class FileLoader  
class MemoryInterface  
class MemoryUsageInterface  
class ProfilingInterface  
class Referenced  
class RuntimeError  
class ShowProgressInterface  
class Timer A microsecond timer.
class TrackingAllocator  
struct Variant32  

Functions

void find_and_replace(std::string source, std::string find, std::string replace)
simul::base::FeatureLevel GetFeatureLevel()
simul::base::LicenceInfo GetLicenceInfo(char lic)
simul::base::FeatureLevel GetMaximumFeatureLevel()
THREAD_TYPE GetThreadId()
bool GetUseExternalTextures()
char const * QuickFormat(char format_str)
void SetUseExternalTextures(bool t)
std::vector split(std::string source, char separator)
std::string stringFormat(std::string fmt)

Define this to enable internal calls to the profiler, if it has been set with simul::base::SetProfilingInterface().

Functions

void find_and_replace(std::string source, std::string find, std::string replace)

Proper find-and-replace function for strings:

simul::base::FeatureLevel GetFeatureLevel()

The current feature level, which determines whether this is the feature-limited trueSKY alpha, or full trueSKY.

simul::base::LicenceInfo GetLicenceInfo(char lic)

Retrieve information on the specified licence key.

simul::base::FeatureLevel GetMaximumFeatureLevel()

The maximum feature level (see GetFeatureLevel), determined by the current licence.

THREAD_TYPE GetThreadId()

Get the id of the current thread.

bool GetUseExternalTextures()

See SetUseExternalTextures.

char const * QuickFormat(char format_str)

A quick-and-dirty, non-re-entrant formatting function. Use this only for debugging.

void SetUseExternalTextures(bool t)

The current feature level, which determines whether this is the feature-limited trueSKY alpha, or full trueSKY.

std::vector split(std::string source, char separator)

Divide a string into a vector of smaller strings, based on the given separator

std::string stringFormat(std::string fmt)

Create a std::string using sprintf-style formatting, with variable arguments.

Enums

FeatureLevel The feature-level of this trueSKY version.

LicenceResult The type of licence.

TextStyle Style for text output.