Changes between Version 1 and Version 2 of HowTos


Ignore:
Timestamp:
Jul 6, 2010, 9:54:45 AM (14 years ago)
Author:
FrederikHeber
Comment:

added introductory text

Legend:

Unmodified
Added
Removed
Modified
  • HowTos

    v1 v2  
    11= Howtos =
     2
     3As 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 ''observer''s 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 ''assert''s. Need specific subset of atoms, elements, molecules then look at ''descriptor''s. You want to add stuff that the user needs to be able to access, then you need to create an ''action''.
    24
    35 * ActionHowto