#include "TargetValue.h"
#include "Debug.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
const ompd_callbacks_t *TValue::callbacks = …;
ompd_device_type_sizes_t TValue::type_sizes;
inline int ompd_sizeof(ompd_target_prim_types_t t) { … }
TType &TTypeFactory::getType(ompd_address_space_context_t *context,
const char *typeName, ompd_addr_t segment) { … }
TType::TType(ompd_address_space_context_t *_context, const char *_typeName,
ompd_addr_t _segment)
: … { … }
ompd_rc_t TType::getSize(ompd_size_t *size) { … }
ompd_rc_t TType::getBitfieldMask(const char *fieldName,
uint64_t *bitfieldmask) { … }
ompd_rc_t TType::getElementOffset(const char *fieldName, ompd_size_t *offset) { … }
ompd_rc_t TType::getElementSize(const char *fieldName, ompd_size_t *size) { … }
TValue::TValue(ompd_address_space_context_t *_context,
ompd_thread_context_t *_tcontext, const char *_valueName,
ompd_addr_t segment)
: … { … }
TValue::TValue(ompd_address_space_context_t *_context,
ompd_thread_context_t *_tcontext, ompd_address_t addr)
: … { … }
TValue &TValue::cast(const char *typeName) { … }
TValue &TValue::cast(const char *typeName, int _pointerLevel,
ompd_addr_t segment) { … }
TValue TValue::dereference() const { … }
ompd_rc_t TValue::getAddress(ompd_address_t *addr) const { … }
ompd_rc_t TValue::getRawValue(void *buf, int count) { … }
ompd_rc_t TValue::getString(const char **buf) { … }
TBaseValue TValue::castBase(const char *varName) { … }
TBaseValue TValue::castBase() const { … }
TBaseValue TValue::castBase(ompd_target_prim_types_t baseType) const { … }
TValue TValue::access(const char *fieldName) const { … }
ompd_rc_t TValue::check(const char *bitfieldName, ompd_word_t *isSet) const { … }
TValue TValue::getArrayElement(int elemNumber) const { … }
TValue TValue::getPtrArrayElement(int elemNumber) const { … }
TBaseValue::TBaseValue(const TValue &_tvalue,
ompd_target_prim_types_t _baseType)
: … { … }
TBaseValue::TBaseValue(const TValue &_tvalue, ompd_size_t _baseTypeSize)
: … { … }
ompd_rc_t TBaseValue::getValue(void *buf, int count) { … }