Logo Search packages:      
Sourcecode: fbdesk version File versions  Download package

Resource< T > Class Template Reference

#include <Resource.hh>

Inheritance diagram for Resource< T >:

Resource_base FbTk::NotCopyable

List of all members.

Detailed Description

template<typename T>
class Resource< T >

Real resource class

Definition at line 65 of file Resource.hh.

Public Member Functions

const std::string & altName () const
 get alternative name of this resource
std::string getString ()
 get string value
const std::string & name () const
 get name of this resource
const T & operator* () const
T & operator* ()
const T * operator-> () const
T * operator-> ()
Resource< T > & operator= (const T &newvalue)
 Resource (ResourceManager &rm, T val, const std::string &name, const std::string &altname)
void setDefaultValue ()
 set default value
void setFromString (const char *strval)
 set from string value

Private Attributes

ResourceManager & m_rm

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

Generated by  Doxygen 1.6.0   Back to index