root/bdm/stat/loggers_ui.h @ 258

Revision 258, 0.6 kB (checked in by smidl, 15 years ago)

UI for datasource

Line 
1/*!
2  \file
3  \brief UI builders for Loggers
4  \author Vaclav Smidl.
5
6  -----------------------------------
7  BDM++ - C++ library for Bayesian Decision Making under Uncertainty
8
9  Using IT++ for numerical operations
10  -----------------------------------
11*/
12
13#ifndef LGR_UI_H
14#define LGR_UI_H
15
16#include "loggers.h"
17#include "uibuilder.h"
18
19using namespace itpp;
20using std::string;
21
22class UIdirfilelog : public UIbuilder{
23        public:
24        UIdirfilelog():UIbuilder("dirfilelog"){};
25        bdmroot* build(Setting &S) const{
26                return new dirfilelog(S["dirname"],S["maxlen"]);
27        };
28};
29
30UIREGISTER(UIdirfilelog);
31#endif // LGR_H
Note: See TracBrowser for help on using the browser.