#include <mdtraits.h>
Inheritance diagram for MDTraits_BasicArray:
Public Member Functions | |
virtual std::string | Name () const |
A unique name for this trait. | |
Protected Member Functions | |
virtual void | SetInt (MDValuePtr Object, Int32 Val) |
virtual void | SetInt64 (MDValuePtr Object, Int64 Val) |
virtual void | SetUInt (MDValuePtr Object, UInt32 Val) |
virtual void | SetUInt64 (MDValuePtr Object, UInt64 Val) |
virtual void | SetString (MDValuePtr Object, std::string Val) |
Set string for basic array types. | |
virtual Int32 | GetInt (MDValuePtr Object) |
virtual Int64 | GetInt64 (MDValuePtr Object) |
virtual UInt32 | GetUInt (MDValuePtr Object) |
virtual UInt64 | GetUInt64 (MDValuePtr Object) |
virtual std::string | GetString (MDValuePtr Object) |
virtual size_t | ReadValue (MDValuePtr Object, const UInt8 *Buffer, size_t Size, int Count=0) |
virtual std::string Name | ( | void | ) | const [inline, virtual] |
A unique name for this trait.
Implements MDTraits.
Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.
void SetInt | ( | MDValuePtr | Object, | |
Int32 | Val | |||
) | [protected, virtual] |
Reimplemented from MDTraits.
void SetInt64 | ( | MDValuePtr | Object, | |
Int64 | Val | |||
) | [protected, virtual] |
Reimplemented from MDTraits.
void SetUInt | ( | MDValuePtr | Object, | |
UInt32 | Val | |||
) | [protected, virtual] |
Reimplemented from MDTraits.
void SetUInt64 | ( | MDValuePtr | Object, | |
UInt64 | Val | |||
) | [protected, virtual] |
Reimplemented from MDTraits.
void SetString | ( | MDValuePtr | Object, | |
std::string | Val | |||
) | [protected, virtual] |
Set string for basic array types.
Reimplemented from MDTraits.
Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.
Int32 GetInt | ( | MDValuePtr | Object | ) | [protected, virtual] |
Reimplemented from MDTraits.
Int64 GetInt64 | ( | MDValuePtr | Object | ) | [protected, virtual] |
Reimplemented from MDTraits.
UInt32 GetUInt | ( | MDValuePtr | Object | ) | [protected, virtual] |
Reimplemented from MDTraits.
UInt64 GetUInt64 | ( | MDValuePtr | Object | ) | [protected, virtual] |
Reimplemented from MDTraits.
std::string GetString | ( | MDValuePtr | Object | ) | [protected, virtual] |
Reimplemented from MDTraits.
Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.
size_t ReadValue | ( | MDValuePtr | Object, | |
const UInt8 * | Buffer, | |||
size_t | Size, | |||
int | Count = 0 | |||
) | [protected, virtual] |
Reimplemented from MDTraits.