#include <FCDEffectParameterList.h>
Inheritance diagram for FCDEffectParameterList:
Public Member Functions | |
FCDEffectParameterList (FCDocument *document=NULL, bool ownParameters=false) | |
Constructor. | |
virtual | ~FCDEffectParameterList () |
Destructor. | |
FCDEffectParameter * | AddParameter (uint32 type) |
Creates a new parameters within this list. | |
void | ReleaseParameter (FCDEffectParameter *parameter) |
Releases a parameter contained within this list. | |
FCDEffectParameter * | FindReference (const char *reference) |
Retrieves the first effect parameter with the given reference. | |
const FCDEffectParameter * | FindReference (const char *reference) const |
See above. | |
FCDEffectParameter * | FindReference (const string &reference) |
See above. | |
const FCDEffectParameter * | FindReference (const string &reference) const |
See above. | |
FCDEffectParameter * | FindSemantic (const char *semantic) |
Retrieves the first effect parameter with the given semantic. | |
const FCDEffectParameter * | FindSemantic (const char *semantic) const |
See above. | |
FCDEffectParameter * | FindSemantic (const string &semantic) |
See above. | |
const FCDEffectParameter * | FindSemantic (const string &semantic) const |
See above. | |
void | FindReference (const char *reference, FCDEffectParameterList &list) |
Retrieves a subset of this parameter list. | |
void | FindReference (const string &reference, FCDEffectParameterList &list) |
See above. | |
void | FindSemantic (const char *semantic, FCDEffectParameterList &list) |
Retrieves a subset of this parameter list. | |
void | FindSemantic (const string &semantic, FCDEffectParameterList &list) |
See above. | |
FCDEffectParameterList * | Clone () const |
Creates a full copy of the list of parameters and its content. |
This class is based on the STL vector class and adds some useful search methods: by reference and by semantic.
|
Constructor. All the objects that need a parameter list will create it when necessary. You may also create new lists for the retrieval of parameters during a search.
|
|
Creates a new parameters within this list.
|
|
Creates a full copy of the list of parameters and its content.
|
|
Retrieves a subset of this parameter list. All the effects that match the given reference will be added to the given list. For effect parameter generators, the sub-id is used instead of the reference.
|
|
Retrieves the first effect parameter with the given reference. For effect parameter generators, the sub-id is used instead of the reference.
|
|
Retrieves a subset of this parameter list. All the effects that match the given semantic will be added to the given list.
|
|
Retrieves the first effect parameter with the given semantic.
|
|
Releases a parameter contained within this list. The memory used by this parameter will be released only if this list owns the parameters.
|