Version 3 (modified by 14 years ago) ( diff ) | ,
---|
Howtos
As molecuilder has been written in C++, many standard patterns of object-oriented programming have found their way into it. E.g. there are no global variables but singleton classes. A class that needs to check whether information in another class has changed and to act subsequently just instantiates itself as an observers of this class. Variables that need to be re-calculated when a value at another place has changed, can be made cachable such that updating takes only place when necessary. The interface of a function, i.e. a integer parameter that is only valid between 0 and 5, given pointer being not NULL, i.e. allocated, can be checked to fulfill this requirement by asserts. Need specific subset of atoms, elements, molecules then look at descriptors. You want to add stuff that the user needs to be able to access, then you need to create an action.