#include <SchemaCommand.hpp>
Definition at line 130 of file SchemaCommand.hpp.
◆ SetDescriptionRelationshipCommand()
Definition at line 235 of file SchemaCommand.cpp.
242{
243 setText (QString::fromStdString(
"Changed description of relationship \"" + Relationship->
get_name() +
"\" for class \"" +
ClassName +
"\""));
244}
dunedaq::oks::OksRelationship * SchemaRelationship
std::string RelationshipName
std::string OldDescription
std::string NewDescription
const std::string & get_name() const noexcept
const std::string & get_name() const noexcept
const std::string & get_description() const noexcept
◆ ~SetDescriptionRelationshipCommand()
dbse::SetDescriptionRelationshipCommand::~SetDescriptionRelationshipCommand |
( |
| ) |
|
◆ redo()
void dbse::SetDescriptionRelationshipCommand::redo |
( |
| ) |
|
Definition at line 250 of file SchemaCommand.cpp.
251{
253 if(r != nullptr) {
255 }
256
259}
static KernelWrapper & GetInstance()
dunedaq::oks::OksClass * FindClass(std::string ClassName) const
void ClassUpdated(QString ClassName)
OksRelationship * find_direct_relationship(const std::string &name) const noexcept
Find direct relationship.
void set_description(const std::string &description)
Set relationship description.
◆ undo()
void dbse::SetDescriptionRelationshipCommand::undo |
( |
| ) |
|
◆ ClassName
std::string dbse::SetDescriptionRelationshipCommand::ClassName |
|
private |
◆ NewDescription
std::string dbse::SetDescriptionRelationshipCommand::NewDescription |
|
private |
◆ OldDescription
std::string dbse::SetDescriptionRelationshipCommand::OldDescription |
|
private |
◆ RelationshipName
std::string dbse::SetDescriptionRelationshipCommand::RelationshipName |
|
private |
◆ SchemaRelationship
The documentation for this class was generated from the following files: