Python Reference Guide
 
Loading...
Searching...
No Matches
FBPropertyListObject Class Reference

List-like structure fo system elements. More...

#include <pyfbsdk.h>

Inheritance diagram for FBPropertyListObject:

Public Member Functions

 SetSingleConnect (bool pSingleConnect)
 Set if the connection is single or multiple.
 
bool GetSingleConnect ()
 Get if the connection support only one connection.
 
 FBPropertyListObject ()
 Constructor.
 
- Public Member Functions inherited from FBProperty
 FBProperty ()
 Constructor.
 
bool AllowsLocking ()
 AllowsLocking.
 
str AsString (FBDataAsStringFlag pFlag=kFBDataAsStringUI)
 Get the property value as a string.
 
str EnumList (int pIndex)
 Return the string of an enum value.
 
FBStringList GetEnumStringList (bool pCreateIt=False)
 String list for enum properties.
 
float GetMax ()
 GetMax.
 
float GetMin ()
 GetMin.
 
str GetName ()
 Get the property's name.
 
bool GetPropertyFlag (FBFlag pFlag)
 GetPropertyFlag.
 
FBFlag GetPropertyFlags ()
 GetPropertyFlags.
 
FBType GetPropertyType ()
 Get the property's type.
 
str GetPropertyTypeName ()
 Get the property's type name.
 
FBProperty GetReferencedProperty ()
 Get the referenced property, in the case of this property is a reference property (see the IsReferenceProperty() method).
 
int GetSubMemberCount ()
 GetSubMemberCount.
 
bool HasSomethingLocked ()
 HasSomethingLocked.
 
bool IsAnimatable ()
 
bool IsInternal ()
 
bool IsList ()
 Verify if property is of this type.
 
bool IsLocked ()
 IsLocked.
 
bool IsMaxClamp ()
 Indicate if maximum value clamping will be applied on user input value.
 
bool IsMemberLocked (int pIndex)
 IsMemberLocked.
 
bool IsMinClamp ()
 Indicate if minimum value clamping will be applied on user input value.
 
bool IsObjectList ()
 Indicate if is an instance of FBPropertyListObject.
 
bool IsReadOnly ()
 Is property read-only?
 
bool IsReferenceProperty ()
 
bool IsTextureConnectableProperty ()
 
bool IsUserProperty ()
 
 ModifyPropertyFlag (FBFlag pFlag, bool pValue)
 ModifyPropertyFlag.
 
 NotifyEnumStringListChanged ()
 Notify system that the enum list was modified.
 
str OriValueAsString ()
 Get the property original value (before any modification) as string.
 
 SetLocked (bool pLocked)
 SetLocked.
 
 SetMax (float pMax, bool pForceMaxClamp=False)
 SetMax.
 
 SetMemberLocked (int pIndex, bool pLocked)
 SetMemberLocked.
 
 SetMin (float pMin, bool pForceMinClamp=False)
 SetMin.
 
 SetName (str pName)
 Set the property's name.
 
bool SetString (str pString)
 Set the property value from a string.
 
- Public Member Functions inherited from FBPropertyListComponent
int __len__ ()
 Returns the number of elements.
 
FBComponent __getitem__ (int pIndex)
 Returns the ith component Corresponds to python: print v[1].
 
 __setitem__ (int pIndex, FBComponent pComponentValue)
 Sets the ith components Corresponds to python: v[1] = my_component.
 
bool __contains__ (FBComponent pComponent)
 Check if a FCComponent is already in PropertyList Corresponds to python: if object in propertyList:
 
 append (FBComponent pComp)
 Append new FBComponent at end of list.
 
int count ()
 Returns the number of elements.
 
 insert (int pIndex, FBComponent pComp)
 Insert a new element in list.
 
 remove (int pIndex)
 Remove an element in list.
 
 removeAll ()
 Remove all elements of list

 
FBComponent pop ()
 Remove last element of list.
 
FBComponent pop (int pIndex)
 Remove an element in list.
 
- Public Member Functions inherited from FBPropertyList
int __len__ ()
 Returns the number of elements.
 
Element __getitem__ (int pIndex)
 Returns the ith component Corresponds to python: print l[1].
 

Additional Inherited Members

- Public Attributes inherited from FBProperty
str Name
 Read Property: The property's name.
 
object Data
 Read Write Property: The property data value. Type of this depends on the subclass of FBProperty (ex: in a FBPropertyInt, Data is of type int).
 
- Public Attributes inherited from FBPlug
str ClassGroupName
 ClassGroupName of the object.

 
int TypeInfo
 TypeInfo.

 

Detailed Description

List-like structure fo system elements.

b>PropertyList: ObjectPose.

This container supports most of the list interface, but is limited to contain only FBComponent objects. New objects can be added, or objects in the list can be removed. The cardinality of the list and the use of the contained object will vary according the container object type. This class supports slice access for query, but not for assignment.


Constructor & Destructor Documentation

◆ FBPropertyListObject()

Constructor.

Member Function Documentation

◆ GetSingleConnect()

bool GetSingleConnect ( )

Get if the connection support only one connection.

Returns
true is the connection support only one connection.

◆ SetSingleConnect()

SetSingleConnect ( bool  pSingleConnect)

Set if the connection is single or multiple.

Parameters
pSingleConnectset to true for only one connection allowed.