AtomInterface Class Reference

#include <object_interface.h>

Inheritance diagram for AtomInterface:

Public Member Functions

MAXON_METHOD maxon::Result< void > SetAtomData (maxon::Int protonCnt, maxon::Int neutronCnt, maxon::Int electronCnt)
 
MAXON_METHOD maxon::Result< void > GetAtomData (maxon::Int &protonCnt, maxon::Int &neutronCnt, maxon::Int &electronCnt) const
 

Private Member Functions

 MAXON_INTERFACE (AtomInterface, MAXON_REFERENCE_NORMAL, "net.maxonexample.interfaces.atom")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( AtomInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxonexample.interfaces.atom"   
)
private

◆ SetAtomData()

MAXON_METHOD maxon::Result<void> SetAtomData ( maxon::Int  protonCnt,
maxon::Int  neutronCnt,
maxon::Int  electronCnt 
)

◆ GetAtomData()

MAXON_METHOD maxon::Result<void> GetAtomData ( maxon::Int protonCnt,
maxon::Int neutronCnt,
maxon::Int electronCnt 
) const