atlas  0.6
test.h
Go to the documentation of this file.
1 /*
2  This is test.h
3 
4  Copyright (C) 2004,2005 Fokko du Cloux
5  Copyright (C) 2013 Marc van Leeuwen
6  part of the Atlas of Lie Groups and Representations
7 
8  For license information see the LICENSE file
9 */
10 
11 #ifndef TEST_H /* guard against multiple inclusions */
12 #define TEST_H
13 
14 #include <map>
15 #include <string>
16 
17 #include "commands.h"
18 
19 /******** function declarations ********************************************/
20 
21 namespace atlas {
22 
23 namespace test {
24 
25 /* The following function is called to complete the various |CommandNode|
26  objects with actions defined in test.cpp, prior to constructing the
27  corresponding |CommandTree|. This addition cannot be done on the completed
28  |CommandTree|, as the commands would the fail to inherit to descendant
29  modes. Therefore the addition cannot be done in one sweep, and the pieces
30  for different |CommandNode| values are done in separate calls. Rather than
31  use a single function with a switch, we might as well use a template
32  function whose instances are distinguished by a dummy type. The node to
33  alter is passed as argument.
34  */
35 template<typename T> void addTestCommands(commands::CommandNode&);
36 
37 }
38 
39 }
40 
41 #endif
void test(std::vector< ulong > &moduli, std::vector< ChineseBox * > &box)
Definition: coef-merge.cpp:450
void addTestCommands(commands::CommandNode &)
Definition: Atlas.h:38