35 #ifndef IE_CORE_FRAMELISTPARAMETER_H
36 #define IE_CORE_FRAMELISTPARAMETER_H
38 #include "IECore/Export.h"
39 #include "IECore/FrameList.h"
40 #include "IECore/SimpleTypedParameter.h"
45 class IECORE_API FrameListParameter :
public StringParameter
49 IE_CORE_DECLARERUNTIMETYPED( FrameListParameter, StringParameter );
51 FrameListParameter(
const std::string &name,
const std::string &description,
const std::string &defaultValue = std::string(),
bool allowEmptyList =
true,
52 const PresetsContainer &presets = PresetsContainer(),
bool presetsOnly =
false, ConstCompoundObjectPtr userData =
nullptr );
54 FrameListParameter(
const std::string &name,
const std::string &description, StringDataPtr defaultValue,
bool allowEmptyList =
true,
55 const ObjectPresetsContainer &presets = ObjectPresetsContainer(),
bool presetsOnly =
false, ConstCompoundObjectPtr userData =
nullptr );
57 ~FrameListParameter()
override;
59 bool valueValid(
const Object *value, std::string *reason =
nullptr )
const override;
61 void setFrameListValue( ConstFrameListPtr frameList );
64 FrameListPtr getFrameListValue(
const StringData *value )
const;
66 FrameListPtr getFrameListValue()
const;
70 bool m_allowEmptyList;
74 IE_CORE_DECLAREPTR( FrameListParameter );
78 #endif // IE_CORE_FRAMELISTPARAMETER_H
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43