Inspector class. This class defines an accessor to a tree-like structure of properties. It lets you add, remove, or modify a property in the tree.
More...
|
| | IlvStIPropertyTreeAccessor (IlvStIPropertyAccessor *accessor=0, IlvStIAccessor::UpdateMode updateMode=IlvStIAccessor::Inherited, IlvStIAccessor::BuildMode buildMode=IlvStIAccessor::None, const char *name=0) |
| | Constructor. More...
|
| |
| | IlvStIPropertiesAccessor (IlvStIPropertyAccessor *accessor=0, IlvStIAccessor::UpdateMode updateMode=IlvStIAccessor::Inherited, IlvStIAccessor::BuildMode buildMode=IlvStIAccessor::None, const char *name=0) |
| | Initializes an instance of IlvStIPropertiesAccessor. More...
|
| |
| virtual IlvStIEditor * | findFirstEditor () const |
| | Returns the first editor owned by the accessor. More...
|
| |
| virtual IlvStIProperty * | get () |
| | Returns the object's property. More...
|
| |
| virtual IlBoolean | initialize () |
| | Called to initialize the accessor according to the inspected data. More...
|
| |
| virtual void | set (const IlvStIProperty *, IlvStIEditor *) |
| | Sets the current property to the property. More...
|
| |
| | IlvStICombinedAccessor (IlvStIPropertyAccessor *accessor=0, UpdateMode updateMode=NoUpdate, BuildMode buildMode=None, const char *name=0) |
| | Initializes a new instance of the class IlvStICombinedAccessor. More...
|
| |
| IlvStIPropertyAccessor * | getObjectAccessor () const |
| | Returns the accessor to the object to which this accessor applies. More...
|
| |
| virtual UpdateMode | getUpdateMode () const |
| | Returns the update mode for the accessor. More...
|
| |
| virtual IlvStIError * | check () const |
| | Validates the accessor value. More...
|
| |
| virtual IlvStIError * | checkValue (const IlvStIProperty *prop) const |
| | Checks the value for a property. More...
|
| |
| IlvStIPrecondition * | getPrecondition () const |
| | Returns the precondition. More...
|
| |
| IlvStIPropertyAccessor * | getPreviewAccessor () const |
| | Returns the preview accessor. More...
|
| |
| PropertyStatus | getPropertyStatus () const |
| | Returns the status of the current stored property. More...
|
| |
| IlvStIValidator * | getValidator () const |
| | Returns the validator used by the checkValue() method. More...
|
| |
| virtual IlBoolean | isReadOnly () const |
| | Returns IlTrue if the current property is read-only. More...
|
| |
| virtual IlBoolean | isReadWrite () const |
| | Returns IlTrue if the current property has read and write access. More...
|
| |
| void | setPrecondition (IlvStIPrecondition *precond) |
| | Sets the precondition. More...
|
| |
| void | setPreviewAccessor (IlvStIPropertyAccessor *accessor) |
| | Sets the preview accessor. More...
|
| |
| void | setValidator (IlvStIValidator *validator) |
| | Sets the validator to the accessor. More...
|
| |
| void | addDependentAccessor (IlvStIAccessor *acc, DependencyMode mode=Default) |
| | Adds a dependent accessor with the specified dependency mode. More...
|
| |
| void | addEditor (IlvStIEditor *edt) |
| | Adds the specified editor to the editors stored by the accessor. More...
|
| |
| virtual IlBoolean | apply () |
| | Called to apply all the changes made to the accessor. More...
|
| |
| virtual IlvStIError * | checkAll (const IlvStIAccessor **accessor, IlBoolean modifiedOnly=IlTrue) const |
| | Checks the accessor and its hierarchical tree of dependencies. More...
|
| |
| IlvStIAccessor * | findDependentAccessor (const char *name) const |
| | Searches an dependent accessor. More...
|
| |
| IlvStIEditor * | findEditor (const char *name) const |
| | Searches the specified editor inside all dependent accessors. More...
|
| |
| BuildMode | getBuildMode () const |
| | Returns the building mode for the accessor. More...
|
| |
| IlvStIAccessor * | getDependentAccessor (const char *name) const |
| | Returns the dependent accessor whose name is specified. More...
|
| |
| IlvStIAccessor ** | getDependentAccessors (IlUInt &count) const |
| | Returns all direct dependent accessors. More...
|
| |
| IlvStIEditor * | getEditor (IlUInt index) const |
| | Returns the editor stored at the wished position. More...
|
| |
| IlUInt | getNumberOfEditors () const |
| | Returns the number of editors stored by the accessor. More...
|
| |
| IlBoolean | isModified () const |
| | Returns IlTrue if the accessor has been modified. More...
|
| |
| void | lock () |
| | Locks the accessor once. More...
|
| |
| IlBoolean | removeDependentAccessor (IlvStIAccessor *acc) |
| | Removes the specified dependent accessor. More...
|
| |
| IlBoolean | removeEditor (IlvStIEditor *edt) |
| | Removes the specified editor from the accessor. More...
|
| |
| void | setBuildMode (BuildMode mode) |
| | Sets the building mode for the accessor. More...
|
| |
| void | setUpdateMode (UpdateMode updateMode) |
| | Sets the update mode for the accessor. More...
|
| |
| void | unLock () |
| | Unlocks the accessor once. More...
|
| |
| const char * | getName () const |
| | Returns the name of the object. More...
|
| |
| virtual void | setName (const char *name) |
| | Sets the name of the object. More...
|
| |
|
| virtual void | addProperty (IlvStIProperty *property, const IlvStIProperty *parent, IlUInt index) |
| | Called when a property is added. More...
|
| |
| virtual IlvStIProperty * | createProperty (const IlvStIProperty *parent, IlUInt index, IlAny data=0) const |
| | Called to create a new property. More...
|
| |
| virtual void | deleteChildrenProperty (IlvStIProperty *property, IlvStIProperty *parent) |
| | Called when a property is deleted. More...
|
| |
| virtual IlUInt | getChildPosition (const IlvStIProperty *property, const IlvStIProperty *parent) const |
| | Returns the position of the child property. More...
|
| |
| virtual IlvStIProperty ** | getInitialChildrenProperties (IlUInt &count, const IlvStIProperty *property=0) const |
| | Called when the accessor is initialized and returns an array containing the initial children of the property. More...
|
| |
| virtual void | replaceProperty (IlvStIProperty *origProperty, IlvStIProperty *newProperty, const IlvStIProperty *parent, IlUInt index) |
| | Called when a property is repalced by another. More...
|
| |
| virtual IlvStIProperty * | createDefaultProperty () const |
| | Called to create a default property. More...
|
| |
| virtual void | deleteNewProperty (IlvStIProperty *property) |
| | Deletes the property. More...
|
| |
| virtual IlvStIProperty * | getOriginalValue () |
| | Called to retrieve the property from the inspected object. More...
|
| |
Inspector class. This class defines an accessor to a tree-like structure of properties. It lets you add, remove, or modify a property in the tree.
Library: ivstudio
- See Also
IlvStICombinedAccessor, IlvStIPropertiesAccessor.