source: src/Actions/AnalysisAction/MolecularVolumeAction.hpp

Candidate_v1.6.1
Last change on this file was 9ee38b, checked in by Frederik Heber <heber@…>, 14 years ago

Extended macro framework.

Extensions:

  • all central definitions reside in .def files
    • This if file is necessary because we need the definitions at two places: hpp and cpp
    • And as we always use the same define names, we have to undefine them at the end of both (otherwise we get compiler warnings and are prone to dumb mistakes of forgotten defines seeming present)
  • the .hpp is just a very tiny header, that should be possible to batch- construct inside Makefile as well
  • .cpp includes some Action_...hpp files and implements the function

For later (i.e. when ActionRegistry becomes prototype copier)

  • instead of waiting for clone(), for now we simply call the prototype.
  • in the action command we must not yet prefix paramreferences with "params."

Changes:

  • Dialog::query<> is a template which is specialized for every present query...() function. We need it to automatize fillDialog()
  • all AnalysisAction's are now converted, i.e. framework is functional with parameters and queries (MolecularVolume had none).
  • Property mode set to 100644
File size: 382 bytes
Line 
1/*
2 * MolecularVolumeAction.hpp
3 *
4 * Created on: May 12, 2010
5 * Author: heber
6 */
7
8#ifndef MOLECULARVOLUMEACTION_HPP_
9#define MOLECULARVOLUMEACTION_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#include "Actions/Action.hpp"
17
18#include "MolecularVolumeAction.def"
19#include "Actions/Action_impl_header.hpp"
20
21#endif /* MOLECULARVOLUMEACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.