1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef POINTER_TO_MEMBER_VALUE_NODE_H 6 #define POINTER_TO_MEMBER_VALUE_NODE_H 7 8 9 #include "ValueNode.h" 10 11 12 class PointerToMemberType; 13 14 15 class PointerToMemberValueNode : public ChildlessValueNode { 16 public: 17 PointerToMemberValueNode( 18 ValueNodeChild* nodeChild, 19 PointerToMemberType* type); 20 virtual ~PointerToMemberValueNode(); 21 22 virtual Type* GetType() const; 23 24 virtual status_t ResolvedLocationAndValue( 25 ValueLoader* valueLoader, 26 ValueLocation*& _location, 27 Value*& _value); 28 29 private: 30 PointerToMemberType* fType; 31 }; 32 33 34 #endif // POINTER_TO_MEMBER_VALUE_NODE_H 35