VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrf::DtSharedFontDatabase Class Reference

Shared access to font file information. More...

Inheritance diagram for makVrf::DtSharedFontDatabase:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtSharedFontDatabase ()
 DTOR.
virtual std::string fontFileFor (const std::string &family, int flags=0) const
 Returns the font file for the partiular family.
virtual std::string fontFromFile (const std::string &file) const
 Returns the font that matches the given file.
virtual void addFont (const std::string &family, const std::string &fileName)
 Adds a new font and file name mapping.

Static Public Member Functions

static std::string className ()
 Get an instance of the settings object.

Protected Member Functions

 DtSharedFontDatabase (makVrv::DtSharedSettingsManager &)

Protected Attributes

std::map< std::string,
std::string > 
myFontFileMap

Friends

class makVrv::DtReadSettingsLock< DtSharedFontDatabase >
 Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.
class makVrv::DtWriteSettingsLock< DtSharedFontDatabase >
class makVrv::DtSharedSettingsManager

Detailed Description

Shared access to font file information.

Constructor & Destructor Documentation

virtual makVrf::DtSharedFontDatabase::~DtSharedFontDatabase ( )
virtual

DTOR.

makVrf::DtSharedFontDatabase::DtSharedFontDatabase ( makVrv::DtSharedSettingsManager &  )
protected

Member Function Documentation

static std::string makVrf::DtSharedFontDatabase::className ( )
static

Get an instance of the settings object.

Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.

virtual std::string makVrf::DtSharedFontDatabase::fontFileFor ( const std::string &  family,
int  flags = 0 
) const
virtual

Returns the font file for the partiular family.

virtual std::string makVrf::DtSharedFontDatabase::fontFromFile ( const std::string &  file) const
virtual

Returns the font that matches the given file.

virtual void makVrf::DtSharedFontDatabase::addFont ( const std::string &  family,
const std::string &  fileName 
)
virtual

Adds a new font and file name mapping.

Friends And Related Function Documentation

friend class makVrv::DtReadSettingsLock< DtSharedFontDatabase >
friend

Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access the object.

friend class makVrv::DtWriteSettingsLock< DtSharedFontDatabase >
friend
friend class makVrv::DtSharedSettingsManager
friend

Member Data Documentation

std::map<std::string, std::string> makVrf::DtSharedFontDatabase::myFontFileMap
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)