Constraint manager.
Definition at line 678 of file fbconstraint.h.
#include <fbconstraint.h>
Public Member Functions |
|
FBConstraintManager () | |
Constructor. |
|
const char * | TypeGetName (int pTypeIndex) |
Get the name of a registered type of
constraint. |
|
int | TypeGetCount () |
Get the number of registered constraint
types. |
|
FBConstraint * | TypeCreateConstraint (int pTypeIndex) |
Create a constraint. |
Constructor.
const char* TypeGetName | ( | int | pTypeIndex | ) |
Get the name of a registered type of constraint.
This will search in the registry for a constraint at the index pTypeIndex.
pTypeIndex | Index of a constraint type. |
int TypeGetCount | ( | ) |
Get the number of registered constraint types.
FBConstraint* TypeCreateConstraint | ( | int | pTypeIndex | ) |
Create a constraint.
Given the index in the registry, this will create an instance of this constraint. Note that this constraint is not automatically added to the constraint tool, and must be added manually in order to use in the 'Constraints' tool.
pTypeIndex | Index of constraint type. |