#include <Command.hpp>
|
| state (QUndoCommand *parent=nullptr, QUuid const &uuid=0) |
|
Definition at line 184 of file Command.hpp.
◆ remove()
dbe::actions::file::remove::remove |
( |
std::string & | db_file, |
|
|
std::string & | include_file, |
|
|
QUuid const & | src = 0, |
|
|
QUndoCommand * | parent = 0 ) |
Definition at line 165 of file Command.cpp.
167 :
state ( parent, src ),
170{
171 setText (
172 QObject::tr ( "Remove Include File %1 to %2" ).arg (
173 QFileInfo ( QString (
m_include_file.c_str() ) ).fileName() ).arg (
174 QFileInfo ( QString (
m_db_file.c_str() ) ).fileName() ) );
175}
std::string m_include_file
state(QUndoCommand *parent=nullptr, QUuid const &uuid=0)
◆ redo()
void dbe::actions::file::remove::redo |
( |
| ) |
|
Definition at line 194 of file Command.cpp.
195{
196 try
197 {
199 {
203 }
204 }
205 catch ( dunedaq::conffwk::Exception const & e )
206 {
208 }
209}
void removefile(std::string const &db, std::string const &fn)
static confaccessor & ref()
std::string const parse(ers::Issue const &)
◆ undo()
void dbe::actions::file::remove::undo |
( |
| ) |
|
Definition at line 177 of file Command.cpp.
178{
179 try
180 {
182 {
186 }
187 }
188 catch ( dunedaq::conffwk::Exception const & e )
189 {
191 }
192}
void addfile(std::string const &db, std::string const &fn)
◆ m_db_file
std::string dbe::actions::file::remove::m_db_file |
|
private |
◆ m_include_file
std::string dbe::actions::file::remove::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