Relationships Commands.
More...
#include <SchemaCommand.hpp>
Relationships Commands.
Definition at line 101 of file SchemaCommand.hpp.
◆ SetNameRelationshipCommand()
Definition at line 170 of file SchemaCommand.cpp.
177{
178 setText ( QString::fromStdString(
"Changed relationship \"" + Relationship->
get_name() +
"\" to \"" + Name +
"\" for class \"" +
ClassName +
"\"") );
179}
std::string NewRelationshipName
std::string OldRelationshipName
dunedaq::oks::OksRelationship * SchemaRelationship
const std::string & get_name() const noexcept
const std::string & get_name() const noexcept
◆ ~SetNameRelationshipCommand()
| dbse::SetNameRelationshipCommand::~SetNameRelationshipCommand |
( |
| ) |
|
◆ redo()
| void dbse::SetNameRelationshipCommand::redo |
( |
| ) |
|
Definition at line 185 of file SchemaCommand.cpp.
186{
188 if(r != nullptr) {
190 }
191
194}
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.
◆ undo()
| void dbse::SetNameRelationshipCommand::undo |
( |
| ) |
|
◆ ClassName
| std::string dbse::SetNameRelationshipCommand::ClassName |
|
private |
◆ NewRelationshipName
| std::string dbse::SetNameRelationshipCommand::NewRelationshipName |
|
private |
◆ OldRelationshipName
| std::string dbse::SetNameRelationshipCommand::OldRelationshipName |
|
private |
◆ SchemaRelationship
The documentation for this class was generated from the following files: