#include <mdtraits.h>
Inheritance diagram for MDTraits_Int64:
Public Member Functions | |
virtual std::string | Name () const |
A unique name for this trait. | |
Protected Member Functions | |
virtual void | SetInt (MDValuePtr Object, Int32 Val) |
Set from an Int32. | |
virtual void | SetInt64 (MDValuePtr Object, Int64 Val) |
Set Int64 from an Int64. | |
virtual void | SetUInt (MDValuePtr Object, UInt32 Val) |
Set from a UInt32. | |
virtual void | SetUInt64 (MDValuePtr Object, UInt64 Val) |
Set from a UInt64. | |
virtual void | SetString (MDValuePtr Object, std::string Val) |
Set from a string. | |
virtual Int32 | GetInt (MDValuePtr Object) |
Get Int. | |
virtual UInt32 | GetUInt (MDValuePtr Object) |
Get UInt. | |
virtual Int64 | GetInt64 (MDValuePtr Object) |
Get Int64. | |
virtual UInt64 | GetUInt64 (MDValuePtr Object) |
Get UInt64. | |
virtual std::string | GetString (MDValuePtr Object) |
Get string from an integer. |
virtual std::string Name | ( | void | ) | const [inline, virtual] |
void SetInt | ( | MDValuePtr | Object, | |
Int32 | Val | |||
) | [protected, virtual] |
void SetInt64 | ( | MDValuePtr | Object, | |
Int64 | Val | |||
) | [protected, virtual] |
void SetUInt | ( | MDValuePtr | Object, | |
UInt32 | Val | |||
) | [protected, virtual] |
void SetUInt64 | ( | MDValuePtr | Object, | |
UInt64 | Val | |||
) | [protected, virtual] |
Set from a UInt64.
DRAGONS: Will this always work? This relies on the UInt64 -> Int64 -> UInt64 conversion being valid for all values!
Reimplemented from MDTraits.
void SetString | ( | MDValuePtr | Object, | |
std::string | Val | |||
) | [protected, virtual] |
Int32 GetInt | ( | MDValuePtr | Object | ) | [protected, virtual] |
UInt32 GetUInt | ( | MDValuePtr | Object | ) | [protected, virtual] |
Int64 GetInt64 | ( | MDValuePtr | Object | ) | [protected, virtual] |
UInt64 GetUInt64 | ( | MDValuePtr | Object | ) | [protected, virtual] |
std::string GetString | ( | MDValuePtr | Object | ) | [protected, virtual] |