BodiesCDPP3DView.h 748 Bytes
#ifndef BODIESCDPP3DVIEW_H
#define BODIESCDPP3DVIEW_H



#include "BodiesAbstract.h"

#define CDPP3DVIEW_TIME_PATTERN "[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[mls]"


namespace TREPS
{
	namespace Bodies
	{
		typedef vector<ns4__Body*> t_Bodies;

		class BodiesCDPP3DViewClass : public BodiesAbstractClass
		{
			public :
				BodiesCDPP3DViewClass(RequestAbstractClass *trepsRequest);

				~BodiesCDPP3DViewClass(void);

				//retreive bodies
				bool run();


			private :
				//pointer to the WS client
				cdppBinderProxy *client;
				//retreive all bodies
				t_Bodies callListBodiesRequest(const bool isSc);
				//filter bodies with their coverage
				t_Bodies filterBodiesRequest(const t_Time *startDate, const t_Time *endDate);



		};
	}
}

#endif