gcu::LocalizedStringValue Class Reference

#include <gcu/value.h>

Inheritance diagram for gcu::LocalizedStringValue:

gcu::Value List of all members.

Public Member Functions

 LocalizedStringValue ()
virtual ~LocalizedStringValue ()
char const * GetAsString ()
char const * GetLocalizedString (char const *lang)

Detailed Description

Used to store translatable strings.

Definition at line 160 of file value.h.


Constructor & Destructor Documentation

gcu::LocalizedStringValue::LocalizedStringValue (  ) 

Default constructor

virtual gcu::LocalizedStringValue::~LocalizedStringValue (  )  [virtual]

Default destructor


Member Function Documentation

char const* gcu::LocalizedStringValue::GetAsString (  )  [virtual]

Returns:
the string translated to the current locale if known, otherwise, the untranslated string.

Reimplemented from gcu::Value.

char const* gcu::LocalizedStringValue::GetLocalizedString ( char const *  lang  ) 

Parameters:
lang a locale name.
Returns:
the string translated to the requested locale if known, otherwise, the untranslated string.


The documentation for this class was generated from the following file:
Generated on Tue Sep 18 15:02:26 2007 for The Gnome Chemistry Utils by  doxygen 1.5.2