1 #ifndef __SSATRIBUTE__
6 #include "ssInterpolation.h"
24 ipType(SsInterpolationType::invalid) ,
31 SSAR_DECLARE_ATTRIBUTE(
time );
32 SSAR_DECLARE_ATTRIBUTE_ENUM(
ipType );
34 if ( SsNeedsCurveParams(
ipType) )
36 SSAR_DECLARE(
curve );
39 SsValueSeriarizer( ar ,
value );
44 typedef std::vector<SsKeyframe*> AttributeKeyList;
45 typedef std::map<int,SsKeyframe*> AttributeKeyDic;
57 AttributeKeyDic key_dic;
62 for ( AttributeKeyList::iterator itr = key.begin() ;
63 itr != key.end() ; itr ++ )
delete (*itr);
69 SSAR_DECLARE_ATTRIBUTE_ENUM( tag );
70 SSAR_DECLARE_LISTEX( key ,
"" );
73 for ( AttributeKeyList::iterator itr = key.begin() ; itr != key.end() ; itr++)
75 int time = (*itr)->time;