Open Search
    graphattribs.h File Reference

    Classes

    class  GraphAttributeInterface
     
    class  GraphMessageInterface
     

    Namespaces

     maxon
     

    Typedefs

    using GraphAttributeMap = HashMap< InternedId, ConstDataPtr >
     

    Functions

     MAXON_ATTRIBUTE (Int, OrderIndex, "orderindex")
     
     MAXON_ATTRIBUTE (Int, InsertIndex, "insertindex")
     
     MAXON_ATTRIBUTE (Data, DefaultValue, "default")
     
     MAXON_ATTRIBUTE (Data, ConstantValue, "constant")
     
     MAXON_ATTRIBUTE (String, EffectiveName, "effectivename")
     

    Variables

     NONE
     
     DIRECT
     
     DERIVED
     
     USER_STATE
     
     TRANSIENT
     
     IMMUTABLE
     
     META
     
     ROOT
     
     WARNING
     
     ERROR
     
     TYPE_MASK
     
     MESSAGE_MASK
     

    Variable Documentation

    ◆ NONE

    NONE

    No flag set.

    ◆ DIRECT

    DIRECT

    The attribute is an attribute which can be set directly by program code.

    ◆ DERIVED

    DERIVED

    The attribute is a derived attribute which can't be set by program code. The graph model implementation will derive its value from the graph.

    ◆ USER_STATE

    USER_STATE

    The attribute is a user-state attribute which can be set by program code and doesn't belong to the persistent state of the graph. User-state attributes can be set outside of a GraphTransaction, and there is the method GraphModelInterface::ResetUserState. A user-state attribute also has to set the TRANSIENT flag. The flag DERIVED can be set in addition for a derived user-state attribute.

    ◆ TRANSIENT

    TRANSIENT

    The attribute is transient (non-persistent, i.e., not stored by serialization).

    ◆ IMMUTABLE

    IMMUTABLE

    The attribute value can only be set once on creation of the node or port.

    ◆ META

    META

    The attribute is a meta attribute whose value is irrelevant for the data model and runtime behaviour of the graph. What exactly this means is graph-model-specific.

    ◆ ROOT

    ROOT

    The attribute is a graph-global attribute which is stored at the root. When the value of such an attribute is read, it is always read at the root node even if the GetValue method was called on another node. Inner graphs will use the root node of their outmost enclosing graph.

    ◆ WARNING

    WARNING

    The attribute represents a warning message. Typically this is a user-state attribute set during the analysis of the graph to inform about questionable findings.

    ◆ ERROR

    ERROR

    The attribute represents an error message. Typically this is a user-state attribute set during the analysis of the graph to inform about found errors.

    ◆ TYPE_MASK

    TYPE_MASK

    Use this mask to test for the type (one of DIRECT, DERIVED, USER_STATE or DERIVED|USER_STATE).

    ◆ MESSAGE_MASK

    MESSAGE_MASK

    Use this mask to test for WARNING or ERROR.