1 #ifndef __SSLOADER_SSAE__
2 #define __SSLOADER_SSAE__
5 #include "ssarchiver.h"
6 #include "ssattribute.h"
29 SSAR_DECLARE(
pivot );
61 for (
int i = 0; i < (int)SsAttributeKind::num ; ++i)
81 SSAR_DECLARE_ENUM(
type );
91 if ( ar->getType() == EnumSsArchiver::in )
93 XMLElement* e = ar->getxml()->FirstChildElement(
"ineheritRates" );
99 const char* tag = ec->
GetText();
102 __StringToEnum_( tag , enumattr );
123 for ( std::vector<SsPart*>::iterator itr =
partList.begin() ;
124 itr !=
partList.end() ; itr ++ )
delete (*itr);
136 typedef std::vector<SsAttribute*> SsAttributeList;
142 SsAttributeList attributes;
147 for ( SsAttributeList::iterator itr = attributes.begin() ;
148 itr != attributes.end() ; itr ++ )
delete (*itr);
154 SSAR_DECLARE( partName );
155 SSAR_DECLARE_LISTEX( attributes ,
"attribute" );
169 SSAR_DECLARE(
name );
170 SSAR_DECLARE(
time );
193 for ( std::vector<SsPartAnime*>::iterator itr =
partAnimes.begin() ;
194 itr !=
partAnimes.end() ; itr ++ )
delete (*itr);
195 for ( std::vector<SsLabel*>::iterator itr =
labels.begin() ;
196 itr !=
labels.end() ; itr ++ )
delete (*itr);
202 SSAR_DECLARE( name );
204 SSAR_DECLARE_LISTEX(
partAnimes ,
"partAnime" );
205 SSAR_DECLARE_LISTEX(
labels ,
"labels" );
226 for ( std::vector<SsAnimation*>::iterator itr =
animeList.begin() ;
227 itr !=
animeList.end() ; itr ++ )
delete (*itr);
234 SSAR_DECLARE(
name );
235 SSAR_STRUCT_DECLARE(
Model );
237 SSAR_DECLARE_LISTEX(
animeList ,
"anime" );