Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
Property< T > Class Template Reference

#include <property.h>

Public Member Functions

 Property (const std::string &name)
 
 Property (const std::string &name, const T &defaultValue)
 
const std::string & name () const
 
const T & get () const
 
void set (const T &value)
 
 operator T () const
 
const T * operator-> () const
 

Static Public Member Functions

static T get (const std::string &name)
 
static T get (const std::string &name, const T &defaultvalue)
 
static Property< T > unnamed (const T &value)
 

Protected Attributes

PropertyImpl< T > * m_impl
 

Detailed Description

template<class T>
class Property< T >

represents a value loaded from an .ini file


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