Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Oct 12, 2024
1 parent 2920de1 commit 26b685c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/MaterialXCore/Document.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,12 @@ class MX_CORE_API Document : public GraphElement
return doc;
}

/// Get a list of source URI's referenced by the document
/// Get a list of source URIs referenced by the document
StringSet getReferencedSourceUris() const;

/// @name Data Libraries
/// @{

/// Import the given document as a library within this document.
/// The contents of the library document are copied into this one, and
/// are assigned the source URI of the library.
/// @param library The library document to be imported.
void importLibrary(const ConstDocumentPtr& library);

/// Store a reference to a data library in this document.
void setDataLibrary(ConstDocumentPtr dataLibrary)
{
Expand All @@ -84,6 +78,12 @@ class MX_CORE_API Document : public GraphElement
return _dataLibrary;
}

/// Import the given data library into this document.
/// The contents of the data library are copied into this one, and
/// are assigned the source URI of the library.
/// @param library The data library to be imported.
void importLibrary(const ConstDocumentPtr& library);

/// @}
/// @name NodeGraph Elements
/// @{
Expand Down

0 comments on commit 26b685c

Please sign in to comment.