2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
5 #ifndef SYNTHETIC_PRIMITIVE_TYPE_H
6 #define SYNTHETIC_PRIMITIVE_TYPE_H
14 class SyntheticPrimitiveType
: public PrimitiveType
{
16 SyntheticPrimitiveType(uint32 typeConstant
);
17 virtual ~SyntheticPrimitiveType();
19 virtual uint32
TypeConstant() const;
21 virtual image_id
ImageID() const;
22 virtual const BString
& ID() const;
23 virtual const BString
& Name() const;
24 virtual type_kind
Kind() const;
25 virtual target_size_t
ByteSize() const;
27 virtual status_t
ResolveObjectDataLocation(
28 const ValueLocation
& objectLocation
,
29 ValueLocation
*& _location
);
30 virtual status_t
ResolveObjectDataLocation(
31 target_addr_t objectAddress
,
32 ValueLocation
*& _location
);
44 #endif // SYNTHETIC_PRIMITIVE_TYPE