SilverScreen Solid Modeler

ATTRIBUTE_NODE

ATTRIBUTE_NODE

Previous topic Next topic  

ATTRIBUTE_NODE

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

ATTRIBUTE_NODE

 

Structure

A data type that stores a property value for an attribute that is associated with a schema.

 

   

 struct ATTRIBUTE_NODE

    {

    int             bits;

    int             precision;

    double          the_double;

    NAME            name;

    char            *value;

    ATTRIBUTE_NODE  *next_attribute;

    };

 

 


Members

Member

Description

bits

A bits flag that has the following values

 

Constant

Meaning

ATT_STRING

The attribute is a string

ATT_NUMBER

The attribute is a number

ARE_FIXED

The attribute value is fixed (cannot be changed)

NOT_FIXED

The attribute value is not fixed

ATT_CREATED

The attribute has been created

HAS_VALUE

The attribute contains a string or numeric value

 

precision

display precision for attribute

the_double

The attribute's numeric value if the ATT_NUMBER flag is set in bits

name

name of attribute

value

The attribute's string value if the ATT_STRING flag is set in bits

next_attribute

pointer to next attribute

 

 

See Also

OBJECT_NODE, SCHEMA_NODE

 

Header

silver.h, ssnodes.h