Module UnitCategories
This part of BtUtils is supposed to take care of unit categories definitions.
Functions
| getAllCategoryNames () | Returns array of names of available categories. |
| getCategoryTypes (qualifiedName) | Get types in given category. |
| loadCategory (qualifiedName) | Returns entry corresponding to a given category. |
| saveCategory (catDefinition) | Saves a category. |
Functions
- getAllCategoryNames ()
-
Returns array of names of available categories.
Returns:
- getCategoryTypes (qualifiedName)
-
Get types in given category.
Parameters:
- qualifiedName string Qualified name of the category.
Returns:
-
{tab}
List of tables with
nameof units in the category. - loadCategory (qualifiedName)
-
Returns entry corresponding to a given category.
Parameters:
- qualifiedName string Qualified name of the category.
Returns:
-
tab
Table containing a list of tables in
typesthat describe thenameof units in the category. - saveCategory (catDefinition)
-
Saves a category.
Parameters:
- catDefinition
tab
Category definition containing
projectname, categorynameandtypescontaining list ofnames of the units.
- catDefinition
tab
Category definition containing