Interface for name groups.
More...
#include <NameGroupInterface.h>
|
| QString | getUniqueName (std::string const &newName, std::string const &itemTypeName) const |
| |
| bool | nameHasChanged (std::string const &newName, std::string const &oldName) const |
| |
Interface for name groups.
Definition at line 26 of file NameGroupInterface.h.
◆ NameGroupInterface() [1/2]
| NameGroupInterface::NameGroupInterface |
( |
| ) |
|
◆ ~NameGroupInterface()
| virtual NameGroupInterface::~NameGroupInterface |
( |
| ) |
|
|
virtualdefault |
◆ NameGroupInterface() [2/2]
No copying. No assignment.
◆ getDescription()
| virtual std::string NameGroupInterface::getDescription |
( |
std::string const & | itemName | ) |
const |
|
virtual |
◆ getDisplayName()
| virtual std::string NameGroupInterface::getDisplayName |
( |
std::string const & | itemName | ) |
const |
|
virtual |
◆ getIndexedItemName()
| virtual std::string NameGroupInterface::getIndexedItemName |
( |
int | itemIndex | ) |
const |
|
pure virtual |
Get name of the indexed item.
- Parameters
-
| [in] | itemIndex | Index of the selected item. |
- Returns
- Name of the selected item.
Implemented in AdHocConnectionInterface, BusInterfaceInterface, ComponentInstanceInterface, ComponentInstantiationInterface, FieldInterface, FileInterface, FileSetInterface, InterconnectionInterface, MemoryBlockInterface, MemoryMapInterface, ModuleParameterInterface, ParametersInterface, PortAbstractionInterface, PortsInterface, and RegisterInterface.
◆ getItemIndex()
| virtual int NameGroupInterface::getItemIndex |
( |
std::string const & | itemName | ) |
const |
|
pure virtual |
Get index of the selected item.
- Parameters
-
| [in] | itemName | Name of the selected item. |
- Returns
- Index of the selected item.
Implemented in AdHocConnectionInterface, BusInterfaceInterface, ComponentInstanceInterface, ComponentInstantiationInterface, FieldInterface, FileInterface, FileSetInterface, InterconnectionInterface, MemoryBlockInterface, MemoryMapInterface, ModuleParameterInterface, ParametersInterface, PortAbstractionInterface, PortsInterface, and RegisterInterface.
◆ getShortDescription()
| virtual std::string NameGroupInterface::getShortDescription |
( |
std::string const & | itemName | ) |
const |
|
virtual |
Get the short description of an item.
- Parameters
-
| [in] | itemName | Name of the selected item. |
- Returns
- Short description of the selected item.
◆ itemHasValidName()
| virtual bool NameGroupInterface::itemHasValidName |
( |
std::string const & | itemName | ) |
const |
|
pure virtual |
Check if the selected item has a valid name.
- Parameters
-
| [in] | itemName | Name of the selected item. |
- Returns
- True, if the name is valid, false otherwise.
Implemented in AbstractParameterInterface, AdHocConnectionInterface, BusInterfaceInterface, ComponentInstanceInterface, ComponentInstantiationInterface, FieldInterface, FileInterface, FileSetInterface, InterconnectionInterface, MemoryBlockInterface, MemoryMapInterface, PortAbstractionInterface, PortsInterface, and RegisterInterface.
◆ operator=()
◆ setDescription()
| virtual bool NameGroupInterface::setDescription |
( |
std::string const & | itemName, |
|
|
std::string const & | newDescription ) |
|
virtual |
◆ setDisplayName()
| virtual bool NameGroupInterface::setDisplayName |
( |
std::string const & | itemName, |
|
|
std::string const & | newDisplayName ) const |
|
virtual |
Set the display name of the selected item.
- Parameters
-
| [in] | itemName | Description |
| [in] | newDisplayName | Description |
- Returns
- True, if display name was set successfully, otherwise false.
◆ setName()
| virtual bool NameGroupInterface::setName |
( |
std::string const & | currentName, |
|
|
std::string const & | newName ) |
|
pure virtual |
Set a new name for the selected item.
- Parameters
-
| [in] | currentName | Name of the selected item. |
| [in] | newName | New name for the item. |
- Returns
- True, if successful, false otherwise.
Implemented in AbstractParameterInterface, AdHocConnectionInterface, BusInterfaceInterface, ComponentInstanceInterface, ComponentInstantiationInterface, FieldInterface, FileInterface, FileSetInterface, InterconnectionInterface, MemoryBlockInterface, MemoryMapInterface, PortAbstractionInterface, PortsInterface, and RegisterInterface.
◆ setShortDescription()
| bool NameGroupInterface::setShortDescription |
( |
std::string const & | itemName, |
|
|
std::string const & | newShortDescription ) const |
Set a new short description for the selected item.
- Parameters
-
| [in] | itemName | Description |
| [in] | newShortDescription | Description |
- Returns
- True, if successful, otherwise false.
The documentation for this class was generated from the following file: