|
Last change
on this file since d0ab01 was 35a889, checked in by Frederik Heber <heber@…>, 14 years ago |
|
DOCUFIX: Prefixes all three userinterface labels with userinterfaces-.
|
-
Property mode
set to
100644
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * Project: MoleCuilder
|
|---|
| 3 | * Description: creates and alters molecular systems
|
|---|
| 4 | * Copyright (C) 2010 University of Bonn. All rights reserved.
|
|---|
| 5 | * Please see the LICENSE file or "Copyright notice" in builder.cpp for details.
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | /**
|
|---|
| 9 | * \file commandline.dox
|
|---|
| 10 | *
|
|---|
| 11 | * Created on: Oct 31, 2011
|
|---|
| 12 | * Author: heber
|
|---|
| 13 | */
|
|---|
| 14 |
|
|---|
| 15 | /**
|
|---|
| 16 | * \page userinterfaces-commandline Command Line Interface
|
|---|
| 17 | *
|
|---|
| 18 | * The command line interface allows for using MoleCuilder within scripts such
|
|---|
| 19 | * system with only slightly varying parameters can be built in a straight-
|
|---|
| 20 | * forward way.
|
|---|
| 21 | *
|
|---|
| 22 | * Commands are parsed via the CommandLineParser with uses boost::program_options
|
|---|
| 23 | * to recognize the given options. ActionRegistry and OptionRegistry are used
|
|---|
| 24 | * to distinguish Option's from Action's. A specific type per option is expected
|
|---|
| 25 | * and the ValueStorage assures that only the correct type is parsed.
|
|---|
| 26 | *
|
|---|
| 27 | * So far the sequence of the Option's is not really important but for the
|
|---|
| 28 | * Action's the ordering counts: first come, first serve.
|
|---|
| 29 | *
|
|---|
| 30 | * Undoing is possible as well. But is so far only used in the regression test
|
|---|
| 31 | * to test its functionality. This will become more usefull when the
|
|---|
| 32 | * ActionHistory is stored to file and past session can be re-enacted by loading
|
|---|
| 33 | * simply it. Their undo would allow for traversing back in this history.
|
|---|
| 34 | *
|
|---|
| 35 | *
|
|---|
| 36 | * \date 2011-10-31
|
|---|
| 37 | *
|
|---|
| 38 | */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.