| 101 | }; |
| 102 | |
| 103 | struct Tr2DebugObjectReference |
| 104 | { |
| 105 | IRootPtr m_object; |
| 106 | uint32_t m_area; |
| 107 | |
| 108 | template <typename T> |
| 109 | Tr2DebugObjectReference( T* object ) : |
| 110 | m_object( object->GetRawRoot() ), |
| 111 | m_area( 0 ) |
| 112 | { |
| 113 | } |
| 114 | |
| 115 | template <typename T> |
| 116 | Tr2DebugObjectReference( T* object, uint32_t area ) : |
| 117 | m_object( object->GetRawRoot() ), |
| 118 | m_area( area ) |
| 119 | { |
| 120 | } |
| 121 | |
| 122 | Tr2DebugObjectReference( IRoot* object ); |
| 123 | Tr2DebugObjectReference( IRoot* object, uint32_t area ); |
| 124 | |
| 125 | operator bool() const; |
| 126 | bool operator<( const Tr2DebugObjectReference& other ) const; |
| 127 | bool operator==( const Tr2DebugObjectReference& other ) const; |
| 128 | bool operator!=( const Tr2DebugObjectReference& other ) const; |
| 129 | }; |
| 130 | |
| 131 | BLUE_INTERFACE( ITr2DebugRenderer2 ) : |
| 132 | public IRoot |
no outgoing calls
no test coverage detected