Glyph Version 7.22.2 Base Entity Type - - Group |
pw:: GroupGroup type Derives FromSummary
create
This action creates a new group object. ParametersNone ReturnsThis action returns a new pw::Group object. getAll
This action gets a list of all of the current groups. Parameters
ReturnsThis action returns a list of pw::Group objects. getByName
This action gets a group with a given name. Parameters
ReturnsThis action returns a pw::Group object. EntityType
This action sets the entity type of the group. TypeThis attribute is a glyph class name, one of pw::Connector, pw::Domain, pw::Block, pw::DatabaseEntity, or pw::SourceEntity DefaultThe default value for this attribute is undefined. InformationThe entity type must be set before any entities can be added to the group. If the entity type has not been set, getEntityType will result in an error. addEntity
This action adds one or more entities to a group. Parameters
ReturnsThis action returns a boolean, which is true if at least one entity was added to the group. removeEntity
This action removes one or more entities from a group. Parameters
ReturnsThis action returns a boolean, which is true if the entities were removed from the group. contains
This action returns true if the group contains an entity. Parameters
ReturnsThis action returns a boolean, which is true if the group contains the entity. getEntity
This action gets an entity from the group. Parameters
ReturnsThis action returns a pw::Connector, pw::Domain, pw::Block, pw::DatabaseEntity, or pw::SourceEntity depending on the type of group. getEntityList
This action returns all the entities in a group as a list. ParametersNone ReturnsThis action returns a Tcl list of pw::Connector, pw::Domain, pw::Block, pw::DatabaseEntity, or pw::SourceEntity depending on the type of group. |
This action creates a new group object.
pw::Group create
This action gets a list of all of the current groups.
pw::Group getAll
This action gets a group with a given name.
pw::Group getByName name
This action sets the entity type of the group.
$group set/getEntityType type
This action deletes this group.
$group delete
This action adds one or more entities to a group.
$group addEntity entity_list
This action removes one or more entities from a group.
$group removeEntity entity_list
This action returns true if the group contains an entity.
$group contains entity ?entity ...?
This action returns the number of entities in a group.
$group getEntityCount
This action gets an entity from the group.
$group getEntity index
This action returns all the entities in a group as a list.
$group getEntityList
This action removes all entities from the group.
$group removeAll