Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between public and private interfaces?

interfaces private public
0
10 Posted

What is the difference between public and private interfaces?

0

An interface in CellML is a component’s door to any other component. An interface can be public or private. In CellML a private interface only occurs between a parent component and its encapsulated child. A parent component will send and receive variables through a private interface to and from the encapsulated component. However, the encapsulated child will send and receive variables to and from its parent component through a public interface. The encapsulated child does not know it is encapsulated and does not differentiate between its parent and its siblings. All other interfaces between one component and another are public.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123