libelemental 2.0.2
Public Member Functions | List of all members
Elemental::Property< T > Class Template Reference

A typed property of the chemical elements. More...

#include <element.hh>

Inheritance diagram for Elemental::Property< T >:
Inheritance graph
[legend]

Public Member Functions

 Property (const Message &name, const Message &format, const Message &description, const Message *sources[]) throw ()
 
- Public Member Functions inherited from Elemental::PropertyBase
 PropertyBase (const Message &name, const Message &format, const Message &description, const Message *sources[]) throw ()
 
ustring get_name () const throw ()
 Returns the translated name of the property.
 
bool has_format () const throw ()
 Returns whether a compose-style format for values is defined.
 
ustring get_format () const throw ()
 Returns a translated compose-style format for values of the property.
 
ustring get_description () const throw ()
 Returns a translated explanatory description of the property.
 
void make_entry (EntriesView &view, const value_base &value) const throw ()
 Possibly adds a value for this property to an EntriesView.
 
void make_entry (EntriesView &view, const ustring &value) const throw ()
 Adds a string representing a value for this property to an EntriesView.
 
virtual bool is_colorable () const throw ()
 Returns whether values of the property have color representations.
 

Additional Inherited Members

- Public Attributes inherited from Elemental::PropertyBase
std::list< const Message * > sources
 Citations for the sources of values for the property.
 
- Protected Attributes inherited from Elemental::PropertyBase
Message name
 The untranslated name of the property.
 
Message format
 An untranslated compose-style format for values of the property.
 
Message description
 An untranslated explanatory description of the property.
 

Detailed Description

template<class T>
class Elemental::Property< T >

A typed property of the chemical elements.


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