Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

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)
static double | GetDouble (string sym, double def)
static float | GetFloat (string sym, float def)
static float | GetFloat (string sym)
static int | GetInt (string sym)
static int | GetInt (string sym, int def)
static string | GetString (string sym)
static string | GetString (string sym, string def)

## 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 | ) | `[static]`

static double GetDouble | ( | string | sym,
|  | double | def
| ) |  | `[static]`

static float GetFloat | ( | string | sym,
|  | float | def
| ) |  | `[static]`

static float GetFloat | ( | string | sym | ) | `[static]`

static int GetInt | ( | string | sym | ) | `[static]`

static int GetInt | ( | string | sym,
|  | int | def
| ) |  | `[static]`

static string GetString | ( | string | sym | ) | `[static]`

static string GetString | ( | string | sym,
|  | string | def
| ) |  | `[static]`

All Classes Namespaces Functions Variables Enumerations Enumerator Properties