CL_DomDocument CL_DomImplementation::create_document( const CL_DomString &namespace_uri, const CL_DomString &qualified_name, const CL_DomDocumentType &doctype) { return CL_DomDocument(namespace_uri, qualified_name, doctype); }
void Model_Impl::Load(const char *filename, std::vector<CL_Collada_Image> &library_images) { CL_File file; CL_DomDocument doc; file = CL_File(filename); doc = CL_DomDocument(file); Load(doc, "Mesh_Object", library_images); }
CL_DomDocument CL_DomNode::to_document() const { if (is_document()) return CL_DomDocument(impl); return CL_DomDocument(); }
CL_DomDocument CL_DomNode::get_owner_document() const { if (impl) return CL_DomDocument(impl->owner_document.lock()); return CL_DomDocument(); }