To use the constraints specified by an OECustomConstraints object the object must be passed to the receptor with OEReceptorSetCustomConstraints prior to calling the OEDock.Initialize method of OEDock.
Default constructor. Object contains no features in the default constructed state.
OECustomConstraints(const OECustomConstraints& )
OECustomConstraints& operator=(const OECustomConstraints&)
OESystem::OEIterBase< OEFeature>* GetFeatures(bool enabledOnly = true) OESystem::OEIterBase<const OEFeature>* GetFeatures(bool enabledOnly = true) const
Returns an iterator over all features contained by this class, or all enabled features if enabledOnly is true (see OEFeature.GetEnabled method).
Adds a new OEFeature object to this class and returns a pointer to the newly created OEFeature. The returned OEFeature object is owned by this class, and will be destroyed by the destructor of this class.
bool DeleteFeature(const OEFeature* feature)
unsigned int NumFeatures(bool enabledOnly = true) const
Returns the number of OEFeature objects contained by this class.