Public Member Functions | |
void | resolveNodeNames () |
Public Member Functions inherited from NodeResolver | |
NodeResolver () | |
virtual | ~NodeResolver () |
void | cloneTo (NodeResolver *res) const |
bool | getIdFromNrBacklog (content_t *result_out, const std::string &node_alt, content_t c_fallback, bool error_on_fallback=true) |
bool | getIdsFromNrBacklog (std::vector< content_t > *result_out, bool all_required=false, content_t c_fallback=CONTENT_IGNORE) |
bool | isResolveDone () const |
void | reset (bool resolve_done=false) |
Public Attributes | |
content_t | test_nr_node1 |
content_t | test_nr_node2 |
content_t | test_nr_node3 |
content_t | test_nr_node4 |
content_t | test_nr_node5 |
std::vector< content_t > | test_nr_list |
std::vector< content_t > | test_nr_list_group |
std::vector< content_t > | test_nr_list_required |
std::vector< content_t > | test_nr_list_empty |
Public Attributes inherited from NodeResolver | |
std::vector< std::string > | m_nodenames |
std::vector< size_t > | m_nnlistsizes |
Friends | |
class | TestNodeResolver |
Additional Inherited Members | |
Protected Attributes inherited from NodeResolver | |
const NodeDefManager * | m_ndef = nullptr |
u32 | m_nodenames_idx = 0 |
|
virtual |
Implements NodeResolver.
References CONTENT_AIR, CONTENT_IGNORE, NodeResolver::getIdFromNrBacklog(), NodeResolver::getIdsFromNrBacklog(), test_nr_list, test_nr_list_empty, test_nr_list_group, test_nr_list_required, test_nr_node1, test_nr_node2, test_nr_node3, test_nr_node4, test_nr_node5, and UASSERT.
|
friend |
std::vector<content_t> Foobar::test_nr_list |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
std::vector<content_t> Foobar::test_nr_list_empty |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
std::vector<content_t> Foobar::test_nr_list_group |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
std::vector<content_t> Foobar::test_nr_list_required |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
content_t Foobar::test_nr_node1 |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
content_t Foobar::test_nr_node2 |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
content_t Foobar::test_nr_node3 |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
content_t Foobar::test_nr_node4 |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().
content_t Foobar::test_nr_node5 |
Referenced by resolveNodeNames(), and TestNodeResolver::testNodeResolving().