Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: ModelId.h,v 1.12 2014-02-20 20:02:28 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef EECFI_MODELID_H 00010 #define EECFI_MODELID_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <CfiError.h> 00014 #include <CfiId.h> 00015 #include <LibData.h> 00016 #include <string> 00017 #include <vector> 00018 00019 //--NAMESPACES-------------------------------------------------------- 00020 00021 namespace EECFI 00022 { 00026 class XL_DECL ModelId : public CfiId 00027 { 00028 friend class Coord; 00029 friend class StateVector; 00030 friend class StarData; 00031 friend class Geodetic; 00032 friend class OrbitId; 00033 friend class DemId; 00034 friend class Attitude; 00035 friend class GeoidCalcInputs; 00036 friend class AttitudeDef; //AN-526 00037 friend struct GenericInternals<ModelId>; // AN-823 00038 00039 public: 00041 ModelId(); 00042 00045 ModelId(const ModelId& other); 00046 00048 ModelId(long mode, const std::vector<long>& models); 00049 00051 virtual ~ModelId() EXCEPT; 00052 00054 void init(long mode, const std::vector<long>& models); 00055 00057 bool status() const; 00058 00060 ModelData getData() const; 00061 00064 ModelId& operator=(const ModelId& other); 00065 00066 protected: 00068 void eraseObject(); 00069 }; 00070 00071 } // namespace EECFI 00072 00073 #endif