Ignore:
Timestamp:
09/08/10 15:02:31 (14 years ago)
Author:
hozdoba
Message:

Mise à jour intermédiaire ...
A venir : commit d'une version stable intégrant l'écriture de fichiers NetCDF4.
(en cours de finalisation actuellement)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/field.hpp

    r114 r120  
    77namespace XMLIOSERVER 
    88{ 
     9   class CGrid; // CGRID = CDOMAINE + CAXIS 
     10 
    911   class CField : public ObjectTemplate<CField>, public FieldAttribut 
    1012   { 
    1113      public: 
    1214 
    13          CField(void) : ObjectTemplate<CField>(), FieldAttribut() 
     15         CField(void) : ObjectTemplate<CField>(), FieldAttribut(), grid(NULL) 
    1416         {/* Ne rien faire de plus */} 
    15          CField(const string& _id) : ObjectTemplate<CField>(_id), FieldAttribut() 
     17         CField(const string& _id) : ObjectTemplate<CField>(_id), FieldAttribut(), grid(NULL) 
    1618         {/* Ne rien faire de plus */} 
    1719 
    1820         static string GetName(void) {return ("field"); } 
    1921 
     22         inline void SolveGridRef(void) ; 
     23 
     24         CGrid* getGrid(void) const { return (grid); } 
     25 
    2026         virtual CField* getReference(void) const 
    2127         { 
    22             if(!field_ref._hasValue()) return (NULL); 
     28            if(!field_ref.hasValue()) return (NULL); 
    2329            if (!CField::HasObject(field_ref)) 
    2430            { WARNING("Référence invalide sur l'objet "+GetName()+" nommé \""+((string)field_ref)+"\""); return (NULL);} 
    2531 
    26             return (&CField::GetObject(field_ref)); 
     32            return (CField::GetObject(field_ref)); 
    2733         } 
    2834 
    2935         virtual ~CField(void) 
    3036         { /* Ne rien faire de plus */ } 
     37 
     38      private : 
     39 
     40         CGrid* grid ; 
    3141 
    3242   }; // class CField 
Note: See TracChangeset for help on using the changeset viewer.