Skip to content

Stereotypes

LieberLieber Embedded Engineer uses stereotypes and tagged values of Uml models to extend or clarify certain issue. The Stereotypes are used to add more meaning and the predefined tagged values to your model elements.

const

Generates a const parameter for a function

Applies to Availability1
Attributes & Parameter both
Primitives both

See also

constructor

Ignores the operation name and generates a class constructor.

Applies to Availability1
Operation both

CustomArray

Allows the usage of a custom string to define an array expression via a Tagged Value (ArrayValue).

Applies to Availability1
Attribute both

CustomDocumentation

Add custom document Tagged Values to allow for custom file, attribute and function headers

Applies to Availability1
Packages & Class both

CustomRef

Contains the ReferenceImp Tagged Value for parameters

Applies to Availability1
Parameter both

See also

CustomSettings

Add custom naming Tagged Values to allow for custom extension and/or file, class name

Applies to Availability1
Packages & Class both

destructor

Ignores the operation name and generates a class destructor.

Applies to Availability1
Operation C++ only

declaration

If set with corresponding Pre/Suffix Tagged Values will generate specified pre/suffix for code part

Applies to Availability1
Class, Struct, Enumerations, Activities, Operation, Attribute both

See also

Declarations

define

Generates a #define declaration for the attribute applied to.

Applies to Availability1
Attribute both

enumeration

Generates an enumeration using the class attributes.

Applies to Availability1
Class both

See also

Enumerations

executable entry point

Generates an Entry Point to your application.

Applies to Availability1
Class both

extern

Generates an external attribute.

Applies to Availability1
Attribute both

FileIsolation

Adds custom Tagged Values (ImplDir & DeclDir) to allow using different generation directories for implementation/declaration files.

Applies to Availability1
Package both
Class both

forLoop

Changes the generation of a "while ..." loop to a "for ..." loop

Applies to Availability1
LoopNode both

fncPointer

Extends a DataType to allow linking to a Function Pointer typedef Signature Tagged Value

Applies to Availability1
Attribute & Parameters both

function preamble

Contains the FunctionPreamble Tagged Values

Applies to Availability1
Operation both

functionPointer

Warning

This is deprecated and only available to be downward compatible!

Use the new implementation described at Function Pointer

Generates an attribute for a function pointer

Applies to Availability1
Attribute both

global

Generates global include declaration (with brackets).

Applies to Availability1
Connector both

include

Contains all possible Tagged Values for include / usage connectors.

Applies to Availability1
Connector both

IncludeStorage

Use the 'IncludeStorage' Tagged Value to change where includes shall be generated

Applies to Availability1
Packages & Class & Usage link both

initialized

Add the InitialValue Tagged Value to the Primitive element.

Applies to Availability1
Primitives both

LL Embedded

Contains all possible & needed Tagged Values for code generation.

Applies to Availability1
Packages & Class both

no code generation

Disables code generation for these packages/elements.

Applies to Availability1
Packages, Class & Interfaces both

ordered

Allows for custom generation order of Elements and Features in MagicDraw only with the Pos Tagged Value|

Applies to Availability1
NamedElements both

private

Generates a private activity function / class

Applies to Availability1
Class & Activity both

public

Generates a public activity function / class

Applies to Availability1
Class & Activity both

qenum

Generates an QEnum to use as attribute within an QObject class.

Applies to Availability1
Enumerations C++ only

qobject

Generates all code needed to use QObject features.

Applies to Availability1
Class C++ only

qsignal

Generates Qt signal operation as an emitter when a particular event occurs.

Applies to Availability1
Operation C++ only

qslot

Generates Qt slot as an an operation that is called in response to a particular signal.

Applies to Availability1
Operation C++ only

readonly

Generates a readonly attribute.

Applies to Availability1
Attribute both

requirement

When realized or traced by a class, will generate a documentation link.

Applies to Availability1
Requirement both

signals

Generates an enumeration to contain all state machine signals.

Applies to Availability1
Enumerations both

See also

singleton

Generates a singleton pattern for the class.

Applies to Availability1
Classes both

standard lib

Generates a standard library include when linked with Usage connector.

Applies to Availability1
Dependencies both

static

Generates a static class

Applies to Availability1
Class both

Generates a static function for an activity.

Applies to Availability1
Activity both

Generates a 'static' Variable.

Applies to Availability1
Attribute both
Primitives both

struct

Generates a structure as part of another class.

Applies to Availability1
Class both

See also

Struct

switchCase

Changes the generation of an if..elseif.. block to an switch case block

Applies to Availability1
ConditionalNode both

trace

Generates a documentation link to the traced requirement.

Applies to Availability1
Connector both

See also

Requirements

typedef

Generate a typedef for the attribute applied to (use default value to redefine know types).

Applies to Availability1
Attribute & Parameter both
Primitives both

typedef

Generates a type definition for a function pointer

Applies to Availability1
Operation & Attribute both

union

Generates a union as part of another class.

Applies to Availability1
Class both

See also

Union

volatile

Generates a volatile parameter for a function

Applies to Availability1
Attributes & Parameter both
Primitives both

See also