Generic class to add Nullable on Simple type More...
Generic class to add Nullable on Simple type
| valueType | Type of the nullable value. |
Inheritance diagram for Nullable< valueType >:Public Member Methods | |
| Nullable () | |
| Default constructor. More... | |
| Nullable (valueType value) | |
| Default constructor. More... | |
| Nullable (const NullableNullClass &value) | |
| Default constructor. More... | |
| Nullable< valueType > & | operator= (valueType right) |
| Assignment operator. More... | |
| Nullable< valueType > & | operator= (const NullableNullClass &right) |
| Assignment operator. More... | |
| operator const valueType & () const | |
| valueType& casting operator. More... | |
| operator valueType & () | |
| valueType& casting operator. More... | |
| bool | HasValue () const |
| Query if the nullable has a value (!= NULL) More... | |
| const valueType & | GetValue () const |
| Get the value More... | |
| valueType & | GetValue () |
| Get the value More... | |
| void | SetNull () |
| Set the nullable to null. More... | |
| void | ConvertFrom (PCChar8 text) |
| Convert from. More... | |
| void | ConvertTo (BaseStaticString &text) const |
| Convert to. More... | |
|
inline |
Default constructor.
|
inline |
Default constructor.
| value | The value. |
|
inline |
Default constructor.
| value | The value. |
|
virtual |
Convert from.
| text | The text. Use CONCEPTRT_NULL_STRING to specify null. |
Implements IStringConvertible.
|
virtual |
|
inline |
|
inline |
|
inline |
Query if the nullable has a value (!= NULL)
|
inline |
valueType& casting operator.
|
inline |
valueType& casting operator.
|
inline |
Assignment operator.
| right | The right. |
|
inline |
Assignment operator.
| right | The right. |
|
inline |
Set the nullable to null.