Used by physics query assistant. More...
#include <query_result.h>
Public Member Functions | |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
| Fixture & | get_fixture () const |
| Get the fixture holded by the QueryResult. More... | |
| Body & | get_body () const |
| Get the body holded by the QueryResult. More... | |
| QueryResultType | get_query_type () const |
| =brief Get the query type of the QueryResult. More... | |
Operations | |
| QueryResult & | operator= (const QueryResult ©) |
| Copy operator. More... | |
Friends | |
| class | PhysicsQueryAssistant_Impl |
Construction | |
| QueryResult () | |
| Constructs a null instance. More... | |
| ~QueryResult () | |
Used by physics query assistant.
| clan::QueryResult::QueryResult | ( | ) |
Constructs a null instance.
| clan::QueryResult::~QueryResult | ( | ) |
| Body& clan::QueryResult::get_body | ( | ) | const |
Get the body holded by the QueryResult.
| Fixture& clan::QueryResult::get_fixture | ( | ) | const |
Get the fixture holded by the QueryResult.
| QueryResultType clan::QueryResult::get_query_type | ( | ) | const |
=brief Get the query type of the QueryResult.
|
inline |
Returns true if this object is invalid.
| QueryResult& clan::QueryResult::operator= | ( | const QueryResult & | copy | ) |
Copy operator.
| void clan::QueryResult::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
|
friend |