00001 #include <memory> 00002 #include <list> 00003 00004 namespace SctPixelRod { 00005 class RodPrimList; 00006 class RodPrimitive; 00007 } 00008 00009 namespace SctApi { 00010 struct PrimListWrapper { 00011 PrimListWrapper(); 00012 PrimListWrapper(unsigned int index); 00013 void clear(); 00014 void addPrimitive(const SctPixelRod::RodPrimitive &prim, long *data = 0); 00015 00016 ~PrimListWrapper(); 00017 00018 std::auto_ptr<SctPixelRod::RodPrimList> list; 00019 std::list<long *> data; 00020 }; 00021 }