inlib  1.2.0
/Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/ntu_proj
Go to the documentation of this file.
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
00002 // See the file inlib.license for terms.
00003 
00004 #ifndef inlib_ntu_proj
00005 #define inlib_ntu_proj
00006 
00007 #include <string>
00008 
00009 namespace inlib {
00010 
00011 class ntu_proj {
00012 public:
00013   ntu_proj()
00014   :m_xn(0),m_xmn(0),m_xmx(0),m_h_xmn(0),m_h_xmx(0)
00015   ,m_yn(0),m_ymn(0),m_ymx(0),m_h_ymn(0),m_h_ymx(0)
00016   {}
00017   virtual ~ntu_proj() {}
00018 public:
00019   ntu_proj(const ntu_proj& a_from)
00020   :m_tit(a_from.m_tit)
00021 
00022   ,m_xn(a_from.m_xn),m_xmn(a_from.m_xmn),m_xmx(a_from.m_xmx)
00023   ,m_h_xmn(a_from.m_h_xmn),m_h_xmx(a_from.m_h_xmx)
00024 
00025   ,m_yn(a_from.m_yn),m_ymn(a_from.m_ymn),m_ymx(a_from.m_ymx)
00026   ,m_h_ymn(a_from.m_h_ymn),m_h_ymx(a_from.m_h_ymx)
00027   {}
00028   ntu_proj& operator=(const ntu_proj& a_from){
00029     m_tit = a_from.m_tit;
00030 
00031     m_xn  = a_from.m_xn;
00032     m_xmn  = a_from.m_xmn;
00033     m_xmx  = a_from.m_xmx;
00034     m_h_xmn  = a_from.m_h_xmn;
00035     m_h_xmx  = a_from.m_h_xmx;
00036 
00037     m_yn  = a_from.m_yn;
00038     m_ymn  = a_from.m_ymn;
00039     m_ymx  = a_from.m_ymx;
00040     m_h_ymn  = a_from.m_h_ymn;
00041     m_h_ymx  = a_from.m_h_ymx;
00042 
00043     return *this;
00044   }
00045 public:
00046   std::string m_tit;
00047 
00048   unsigned int m_xn;
00049   double m_xmn;
00050   double m_xmx;
00051   double m_h_xmn;
00052   double m_h_xmx;
00053 
00054   unsigned int m_yn;
00055   double m_ymn;
00056   double m_ymx;
00057   double m_h_ymn;
00058   double m_h_ymx;
00059 };
00060 
00061 }
00062 
00063 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines