Lines Matching refs:document
31 daeDocument* document = getDocument(name);
32 if(document)
65 daeInt daeSTLDatabase::insertDocument(const char *name, daeElement* dom, daeDocument** document, bool zaeRootDocument, const std::string& extractedFileURI)
67 return createDocument( name, dom, document, zaeRootDocument, extractedFileURI );
69 daeInt daeSTLDatabase::createDocument(const char *name, daeElement* dom, daeDocument** document, bool zaeRootDocument, const std::string& extractedFileURI)
71 // If a document already exists with the same name, error
74 if (document)
75 *document = NULL;
79 // Make a new document
86 if (document)
87 *document = newDocument;
92 daeInt daeSTLDatabase::insertDocument(const char *name, daeDocument** document)
94 return createDocument( name, document );
96 daeInt daeSTLDatabase::createDocument(const char *name, daeDocument** document)
99 // If a document already exists with the same name, error
102 if (document)
103 *document = NULL;
106 // Make the new document
108 // Make a domCOLLADA to be the root of this new document (this makes a reference so the domCOLLADA won't delete itself
114 // Add this document to the list.
116 // If the user gave us a place to put the document, send it back to them.
117 if (document)
118 *document = newDocument;
129 daeInt daeSTLDatabase::removeDocument(daeDocument *document)
133 if ( (*iter) == document ) {
167 // Try to find a document that matches
168 daeDocument *document;
172 document = getDocument(i);
173 if(document->getDocumentURI()->str() == name)
174 return(document);
188 daeInt daeSTLDatabase::insertElement(daeDocument* document,daeElement* element)
190 insertChildren( document, element );
232 daeInt daeSTLDatabase::removeElement(daeDocument* document,daeElement* element)
237 removeChildren( document, element );
394 // If a document URI was a search key (in file) resolve it to a text URI with no fragment
400 // a document was specified
433 // If a document URI was a search key (in file) resolve it to a text URI with no fragment
439 // a document was specified
466 //a document was specified
522 // If a document URI was a search key (in file) resolve it to a text URI with no fragment
529 //a document was specified
551 //no document specified
579 // If a document URI was a search key (in file) resolve it to a text URI with no fragment
585 //a document was specified
586 // a document was specified
607 //no document specified
624 //a document was specified