Public Member Functions

FBConstraintManager Class Reference

Search for all occurrences

Detailed Description

Constraint manager.

Definition at line 678 of file fbconstraint.h.

#include <fbconstraint.h>

Inheritance diagram for FBConstraintManager:
Inheritance graph
[legend]

List of all members.

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 & Destructor Documentation

Constructor.


Member Function Documentation

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.

Parameters:
pTypeIndex Index of a constraint type.
Returns:
Name of constraint type.
int TypeGetCount ( )

Get the number of registered constraint types.

Returns:
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.

Parameters:
pTypeIndex Index of constraint type.
Returns:
Newly created constraint.

The documentation for this class was generated from the following file:

FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager
FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager