#include <mdtraits.h>
Inheritance diagram for MDTraits_BasicCompound:
Public Member Functions | |
virtual std::string | Name () const |
A unique name for this trait. | |
Protected Member Functions | |
virtual void | SetString (MDValuePtr Object, std::string Val) |
virtual std::string | GetString (MDValuePtr Object) |
virtual size_t | ReadValue (MDValuePtr Object, const UInt8 *Buffer, size_t Size, int Count=0) |
Basic function to read a compound from a buffer. |
virtual std::string Name | ( | void | ) | const [inline, virtual] |
A unique name for this trait.
Implements MDTraits.
Reimplemented in MDTraits_Rational, and MDTraits_TimeStamp.
void SetString | ( | MDValuePtr | Object, | |
std::string | Val | |||
) | [protected, virtual] |
std::string GetString | ( | MDValuePtr | Object | ) | [protected, virtual] |
size_t ReadValue | ( | MDValuePtr | Object, | |
const UInt8 * | Buffer, | |||
size_t | Size, | |||
int | Count = 0 | |||
) | [protected, virtual] |
Basic function to read a compound from a buffer.
Reimplemented from MDTraits.