Attributes commands.
More...
#include <SchemaCommand.hpp>
Attributes commands.
Definition at line 422 of file SchemaCommand.hpp.
◆ SetAttributeNameCommand()
Definition at line 798 of file SchemaCommand.cpp.
805{
806 setText( QString::fromStdString(
"Set new name \"" + NewName +
"\" to attribute \"" + Attribute->
get_name() +
"\" of class \"" +
ClassName +
"\""));
807}
dunedaq::oks::OksAttribute * SchemaAttribute
std::string OldAttributeName
std::string NewAttributeName
const std::string & get_name() const noexcept
out stream operator
const std::string & get_name() const noexcept
◆ ~SetAttributeNameCommand()
dbse::SetAttributeNameCommand::~SetAttributeNameCommand |
( |
| ) |
|
◆ redo()
void dbse::SetAttributeNameCommand::redo |
( |
| ) |
|
Definition at line 813 of file SchemaCommand.cpp.
814{
816 if(a != nullptr) {
818 }
819
822}
static KernelWrapper & GetInstance()
dunedaq::oks::OksClass * FindClass(std::string ClassName) const
void ClassUpdated(QString ClassName)
void set_name(const std::string &name)
Set attribute name.
OksAttribute * find_direct_attribute(const std::string &name) const noexcept
Find direct attribute.
◆ undo()
void dbse::SetAttributeNameCommand::undo |
( |
| ) |
|
◆ ClassName
std::string dbse::SetAttributeNameCommand::ClassName |
|
private |
◆ NewAttributeName
std::string dbse::SetAttributeNameCommand::NewAttributeName |
|
private |
◆ OldAttributeName
std::string dbse::SetAttributeNameCommand::OldAttributeName |
|
private |
◆ SchemaAttribute
The documentation for this class was generated from the following files: