Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Static Public Member Functions
DConfig Class Reference

This class emulates the old dconfig-style interface to our Panda config system. More...

List of all members.

Static Public Member Functions

static bool GetBool (string sym, bool def)
static bool GetBool (string sym)
static double GetDouble (string sym, double def)
static double GetDouble (string sym)
static float GetFloat (string sym, float def)
static float GetFloat (string sym)
static int GetInt (string sym, int def)
static int GetInt (string sym)
static string GetString (string sym, string def)
static string GetString (string sym)

Detailed Description

This class emulates the old dconfig-style interface to our Panda config system.

It exists only to provide backward-compatible support, and it is used primarily by Python code. For modern code, use the new ConfigVariable* interface instead of this deprecated interface.


Member Function Documentation

static bool GetBool ( string  sym,
bool  def 
) [static]
static bool GetBool ( string  sym) [static]
static double GetDouble ( string  sym,
double  def 
) [static]
static double GetDouble ( string  sym) [static]
static float GetFloat ( string  sym,
float  def 
) [static]
static float GetFloat ( string  sym) [static]
static int GetInt ( string  sym,
int  def 
) [static]
static int GetInt ( string  sym) [static]
static string GetString ( string  sym,
string  def 
) [static]
static string GetString ( string  sym) [static]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties