cfg_var Class Reference

#include <cfg_var.h>

Inheritance diagram for cfg_var:

cfg_var_reader cfg_var_writer cfg_dsp_chain_config cfg_guidlist cfg_int_t< t_inttype > cfg_obj< TObj > cfg_objList< TObj > cfg_objListEx< TList > cfg_string cfg_struct_t< t_struct > cfg_window_placement cfg_window_size config_object_fixed_impl_t< p_size > config_object_impl

List of all members.

Public Member Functions

GUID get_guid () const

Protected Member Functions

 cfg_var (const GUID &p_guid)


Detailed Description

Base class for configuration variable classes; provides self-registration mechaisms and methods to set/retrieve configuration data; those methods are automatically called for all registered instances by backend when configuration file is being read or written.
Note that cfg_var class and its derivatives may be only instantiated statically (as static objects or members of other static objects), NEVER dynamically (operator new, local variables, members of objects instantiated as such).

Constructor & Destructor Documentation

cfg_var::cfg_var ( const GUID &  p_guid  )  [inline, protected]

Parameters:
p_guid GUID of the variable, used to identify variable implementations owning specific configuration file entries when reading the configuration file back. You must generate a new GUID every time you declare a new cfg_var.


Member Function Documentation

GUID cfg_var::get_guid (  )  const [inline]


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

Generated on Fri Apr 25 18:49:41 2008 for foobar2000 SDK by  doxygen 1.5.5