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

Resource_base Class Reference

#include <Resource.hh>

Inheritance diagram for Resource_base:

FbTk::NotCopyable Resource< T >

List of all members.


Detailed Description

Base class for resources

Definition at line 33 of file Resource.hh.


Public Member Functions

const std::string & altName () const
 get alternative name of this resource
virtual std::string getString ()=0
 get string value
const std::string & name () const
 get name of this resource
virtual void setDefaultValue ()=0
 set default value
virtual void setFromString (char const *strval)=0
 set from string value

Protected Member Functions

 Resource_base (const std::string &name, const std::string &altname)

Private Attributes

std::string m_altname
 alternative name
std::string m_name
 name of this resource

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

Generated by  Doxygen 1.6.0   Back to index