MCPcopy Create free account
hub / github.com/assimp/assimp / createDDLNode

Function createDDLNode

contrib/openddlparser/code/OpenDDLParser.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static DDLNode *createDDLNode(Text *id, OpenDDLParser *parser) {
107 if (nullptr == id || nullptr == parser || id->m_buffer == nullptr) {
108 return nullptr;
109 }
110
111 const std::string type(id->m_buffer);
112 DDLNode *parent(parser->top());
113 DDLNode *node = DDLNode::create(type, "", parent);
114
115 return node;
116}
117
118OpenDDLParser::OpenDDLParser() :
119 m_logCallback(nullptr),

Callers 1

parseHeaderMethod · 0.85

Calls 1

topMethod · 0.45

Tested by

no test coverage detected