1313// NOTE: In expression graphs, the Link Id is the Input Pin Id
1414namespace rift ::ast
1515{
16- bool CanConnectExpr (p::TAccessRef <CExprInputs, CExprOutputs, CExprTypeId> access ,
16+ bool CanConnectExpr (p::TIdScopeRef <CExprInputs, CExprOutputs, CExprTypeId> scope ,
1717 ExprOutput output, ExprInput input);
1818
19- bool TryConnectExpr (p::TAccessRef <p::TWrite <CExprInputs>, CExprOutputs, CExprTypeId> access ,
19+ bool TryConnectExpr (p::TIdScopeRef <p::Writes <CExprInputs>, CExprOutputs, CExprTypeId> scope ,
2020 ExprOutput output, ExprInput input);
2121 // Disconnects a particular link. (Note: link ids are the same as input nodes)
2222 bool DisconnectExpr (Tree& ast, ExprInput input);
@@ -29,10 +29,10 @@ namespace rift::ast
2929 */
3030 void DisconnectAllExprDeep (Tree& ast, p::TView<const Id> ids, bool ignoreRoot = false );
3131
32- bool RemoveExprInputPin (p::TAccessRef<CExprInputs, p::TWrite <CInvalid>> access , ExprInput id);
32+ bool RemoveExprInputPin (p::TIdScopeRef< p::Writes <CInvalid>, CExprInputs> scope , ExprInput id);
3333 bool RemoveExprOutputPin (
34- p::TAccessRef<CExprOutputs, p::TWrite <CInvalid>> access , ExprOutput id);
34+ p::TIdScopeRef< p::Writes <CInvalid>, CExprOutputs> scope , ExprOutput id);
3535
36- ExprInput GetExprInputFromPin (p::TAccessRef <CExprInputs, CChild> access , Id pinId);
37- ExprOutput GetExprOutputFromPin (p::TAccessRef <CExprOutputs, CChild> access , Id pinId);
36+ ExprInput GetExprInputFromPin (p::TIdScopeRef <CExprInputs, CChild> scope , Id pinId);
37+ ExprOutput GetExprOutputFromPin (p::TIdScopeRef <CExprOutputs, CChild> scope , Id pinId);
3838} // namespace rift::ast
0 commit comments