PK_ATTDEF_create_2   

PK_ERROR_code_t         PK_ATTDEF_create_2
(
--- received arguments ---
const PK_ATTDEF_sf_2_t *attsf,

--- returned arguments ---
PK_ATTDEF_t      *const attdef        --- attribute definition
)


This function creates an attribute definition from the given standard form.


Specific Errors:
    PK_ERROR_illegal_owner          invalid class for type with geometric owner
    PK_ERROR_not_found              no legal owners supplied
    PK_ERROR_bad_request_code       invalid class or field types code
    PK_ERROR_wrong_entity_in_array  invalid token found in array of owners
    PK_ERROR_duplicate_array_item   item duplicated in array of owners
    PK_ERROR_existing_attdef        attribute type already defined
    PK_ERROR_bad_name               invalid name for attribute type
    PK_ERROR_duplicate_name         duplicate in array of field names


See documentation for PK_ATTDEF_sf_2_t.

See here for more information.