#include <polymorph.h>
Inheritance diagram for Polymorph< string >:


Definition at line 247 of file polymorph.h.
Public Types | |
| typedef string | value_type |
| typedef Polymorph< value_type > | self |
Public Methods | |
| Polymorph (value_type val) | |
| Polymorph (value_type *ptr) | |
| virtual Typeless * | clone () const |
| Constructs an identical copy of self and returns it. | |
| virtual Typeless * | duplicate () const |
| Same as clone except that the result is guaranteed to have an independent copy of the underlying value. | |
| virtual string | prettyprint (String::StreamFormat format=String::StreamFormat()) const\ |
| Returns a string representation of the current value of this object, with extra formatting suitable for user-visible values, if appropriate (e.g. | |
|
|
Constructs an identical copy of self and returns it. Due to Cray C++'s variance from the C++ standard, cannot use actual type as the return value (or it wouldn't match the protype in Typeless.) Reimplemented from PolymorphBase< string >. Definition at line 254 of file polymorph.h. |
|
|
Returns a string representation of the current value of this object, with extra formatting suitable for user-visible values, if appropriate (e.g. quotes around strings). Unless overridden by a particular class, this is the same as stringrep(). Reimplemented from Typeless. Definition at line 256 of file polymorph.h. References PolymorphBase< T >::stringrep(). |
1.3-rc2