Python Script Engine
1.0
GL Studio Editor Python Script API
|
Public Types | |
enum | AttribAvailableType_e { UNUSED_AVAILABILTY, OPTIONAL_AVAILABILTY, MANDATORY_AVAILABILTY, AVAILABLE_AVAILABILTY } |
Public Member Functions | |
UserDefinedAttribute (String name, AttribAvailableType_e methodAvail=UNUSED_AVAILABILTY, AttribAvailableType_e objAvail=UNUSED_AVAILABILTY, AttribAvailableType_e propAvail=UNUSED_AVAILABILTY) | |
String | GetName () |
void | SetName (String name) |
AttribAvailableType_e | GetMethodAvailability () |
void | SetMethodAvailability (AttribAvailableType_e avail) |
AttribAvailableType_e | GetObjectAvailability () |
void | SetObjectAvailability (AttribAvailableType_e avail) |
AttribAvailableType_e | GetPropertyAvailability () |
void | SetPropertyAvailability (AttribAvailableType_e avail) |
common editor interface variable
UserDefinedAttribute::UserDefinedAttribute | ( | String | name, |
AttribAvailableType_e | methodAvail = UNUSED_AVAILABILTY , |
||
AttribAvailableType_e | objAvail = UNUSED_AVAILABILTY , |
||
AttribAvailableType_e | propAvail = UNUSED_AVAILABILTY |
||
) |
Creates a User Defined Attribute with the given information set.
name | Name of new user defined attribute |
methodAvail | availablity of the attribute within methods |
objAvail | availablity of the attribute within objects |
propAvail | availablity of the attribute within properties |
AttribAvailableType_e UserDefinedAttribute::GetMethodAvailability | ( | ) |
Retrieves the attribute's method availability.
String UserDefinedAttribute::GetName | ( | ) |
Retrieves the attribute's name.
AttribAvailableType_e UserDefinedAttribute::GetObjectAvailability | ( | ) |
Retrieves the attribute's object availability.
AttribAvailableType_e UserDefinedAttribute::GetPropertyAvailability | ( | ) |
Retrieves the attribute's method availability.
void UserDefinedAttribute::SetMethodAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
avail | New availability of the attribute within methods |
void UserDefinedAttribute::SetName | ( | String | name | ) |
Sets the attribute's name.
name | New name of attribute |
void UserDefinedAttribute::SetObjectAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
avail | New availability of the attribute within objects |
void UserDefinedAttribute::SetPropertyAvailability | ( | AttribAvailableType_e | avail | ) |
Sets the attribute's method availability.
avail | New availability of the attribute within properties |