Earth Observation Mission CFI Software Lib Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.21 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 00044 ModelId(long mode, const std::vector<long>& models); 00045 00047 virtual ~ModelId() EXCEPT; 00048 00050 void init(long mode, const std::vector<long>& models); 00051 00053 bool status() const; 00054 00056 ModelData getData() const; 00057 00059 void operator=(const ModelId& modelIdIn); // AN-872 00060 00061 protected: 00063 void eraseObject(); 00064 00066 GenericId* getId() const; // this is the xl_model_id variable 00067 00068 private: 00069 }; 00070 00071 } // namespace EECFI 00072 00073 #endif