#include <Command.hpp>
|
| state (QUndoCommand *parent=nullptr, QUuid const &uuid=0) |
|
Definition at line 169 of file Command.hpp.
◆ add()
dbe::actions::file::add::add |
( |
std::string const & | db_file, |
|
|
std::string const & | include_file, |
|
|
QUuid const & | src = 0, |
|
|
QUndoCommand * | parent = 0 ) |
Definition at line 113 of file Command.cpp.
116 :
state ( parent, src ),
119{
120 setText (
121 QObject::tr ( "Add Include File %1 to %2" ).arg (
122 QFileInfo ( QString (
m_include_file.c_str() ) ).fileName() ).arg (
123 QFileInfo ( QString (
m_db_file.c_str() ) ).fileName() ) );
124}
std::string m_include_file
state(QUndoCommand *parent=nullptr, QUuid const &uuid=0)
◆ redo()
void dbe::actions::file::add::redo |
( |
| ) |
|
Definition at line 146 of file Command.cpp.
147{
148 try
149 {
151 {
155 }
156 }
157 catch ( dunedaq::conffwk::Exception const & e )
158 {
160 }
161}
static confaccessor & ref()
void addfile(std::string const &db, std::string const &fn)
std::string const parse(ers::Issue const &)
◆ undo()
void dbe::actions::file::add::undo |
( |
| ) |
|
Definition at line 128 of file Command.cpp.
129{
130 try
131 {
133 {
135 }
136 }
137 catch ( dunedaq::conffwk::Exception const & e )
138 {
141 }
142}
void removefile(std::string const &db, std::string const &fn)
◆ m_db_file
std::string dbe::actions::file::add::m_db_file |
|
private |
◆ m_include_file
std::string dbe::actions::file::add::m_include_file |
|
private |
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/dbe/include/dbe/Command.hpp
- /github/workspace/dunedaq/sourcecode/dbe/src/internal/Command.cpp