COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
LibActions.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_mesh_mesh_actions_LibActions_hpp
8 #define cf3_mesh_mesh_actions_LibActions_hpp
9 
11 
12 #include "common/Library.hpp"
13 
15 
18 #ifdef COOLFLUID_MESH_ACTIONS_EXPORTS
19 # define mesh_actions_API CF3_EXPORT_API
20 # define mesh_actions_TEMPLATE
21 #else
22 # define mesh_actions_API CF3_IMPORT_API
23 # define mesh_actions_TEMPLATE CF3_TEMPLATE_EXTERN
24 #endif
25 
27 
28 namespace cf3 {
29 namespace mesh{
30 
32 namespace actions {
33 
35 
38  public common::Library {
39 
40 public:
41 
42 
43 
44 
46  LibActions ( const std::string& name) : common::Library(name) { }
47 
48 public: // functions
49 
51  static std::string library_namespace() { return "cf3.mesh.actions"; }
52 
53 
57  static std::string library_name() { return "actions"; }
58 
62  static std::string library_description()
63  {
64  return "This library implements several Mesh actions.";
65  }
66 
68  static std::string type_name() { return "mesh::actions::LibActions"; }
69 
70 }; // end mesh::actions::LibActions
71 
73 
74 } // actions
75 } // mesh
76 } // cf3
77 
79 
80 #endif // cf3_mesh_mesh_actions_LibActions_hpp
std::string name(ComponentWrapper &self)
static std::string type_name()
Gets the Class name.
Definition: LibActions.hpp:68
LibActions(const std::string &name)
Constructor.
Definition: LibActions.hpp:46
static std::string library_namespace()
Definition: LibActions.hpp:51
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Component class for a library.
Definition: Library.hpp:25
Class defines the initialization and termination of the library actions.
Definition: LibActions.hpp:37
static std::string library_description()
Definition: LibActions.hpp:62
#define mesh_actions_API
Definition: LibActions.hpp:22
static std::string library_name()
Definition: LibActions.hpp:57
Send comments to:
COOLFluiD Web Admin