Nuke binary plugins 16.0.1
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
DD::Image::GraphScopeRepository Class Reference

GraphScopeRepository constructs and store GraphScope objects. More...

#include <GraphScopeRepository.h>

Inherits std::enable_shared_from_this< GraphScopeRepository >.

Public Member Functions

GraphScopePtr build (const GsvSets &gsvSets, const GraphScopePtr parent=nullptr)
 
GraphScopePtr get (const GraphScopeId &scopeId) const
 
size_t size () const
 Returns the number of GraphScopes in the repository.
 
GraphScopeRepositoryPtr ptr ()
 Returns a shared pointer to the GraphScopeRepository.
 

Static Public Member Functions

static GraphScopeRepositoryPtr create ()
 

Detailed Description

GraphScopeRepository constructs and store GraphScope objects.

Member Function Documentation

◆ create()

GraphScopeRepositoryPtr GraphScopeRepository::create ( )
static

Creates a new GraphScopeRepository. The repository initially contains an empty GraphScope, that will be the parent of all scopes created.

◆ build()

GraphScopePtr GraphScopeRepository::build ( const GsvSets &  gsvSets,
const GraphScopePtr  parent = nullptr 
)

Returns a GraphScope with gsvSets and parent as its parent GraphScope. If an existing GraphScope matches the arguments it will be returned instead of creating a new one.

References ptr().

◆ get()

GraphScopePtr GraphScopeRepository::get ( const GraphScopeId &  scopeId) const

Retrieves a GraphScope from the repository. If no GraphScope is found, an empty shared pointer is returned.



©2025 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com