API Guides > ConceptRT 3.x
IStringConvertible Class Referenceabstract

Interface for values that give the service of being string convertible. More...

Detailed Description

Interface for values that give the service of being string convertible.

+ Inheritance diagram for IStringConvertible:

Public Member Methods

virtual void ConvertFrom (PCChar8 text)=0
 Convert from. More...
 
virtual void ConvertTo (BaseStaticString &text) const =0
 Convert to. More...
 

Methods Documentation

virtual void ConvertFrom ( PCChar8  text)
pure virtual

Convert from.

Parameters
textThe text.

Implemented in Nullable< valueType >, DateTime, Date, WeekNumber, Time, and TimeSpan.

virtual void ConvertTo ( BaseStaticString text) const
pure virtual

Convert to.

Parameters
text[in,out] The text.

Implemented in Nullable< valueType >, DateTime, Date, WeekNumber, Time, and TimeSpan.