Ignore:
Timestamp:
05/03/11 15:50:52 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/node/context.hpp

    r173 r188  
    55#include "xmlioserver_spl.hpp" 
    66#include "node_type.hpp" 
     7#include "calendar.hpp" 
    78 
    89#include "declare_group.hpp" 
     
    4041         //--------------------------------------------------------- 
    4142 
     43      public : 
     44 
    4245         /// Constructeurs /// 
    4346         CContext(void); 
     
    5154         //--------------------------------------------------------- 
    5255 
     56      public : 
     57       
     58         /// Mutateurs /// 
     59         void setCalendar(boost::shared_ptr<date::CCalendar> newCalendar); 
     60       
     61         /// Accesseurs /// 
     62         boost::shared_ptr<date::CCalendar> getCalendar(void) const; 
     63 
    5364         /// Accesseurs statiques /// 
    5465         static StdString GetName(void); 
    55          static StdString GetDefName(void); 
    56           
    57          static ENodeType GetType(void); 
     66         static StdString GetDefName(void);          
     67         static ENodeType GetType(void);          
    5868 
    5969         static boost::shared_ptr<CContextGroup> GetContextGroup(void); 
     70 
     71      public : 
    6072 
    6173         /// Traitements /// 
    6274         virtual void solveDescInheritance(const CAttributeMap * const parent = 0); 
    6375         void solveFieldRefInheritance(void); 
     76         void solveCalendar(void); 
    6477 
    6578         /// Autres méthodes statiques /// 
     
    6881         /// Test /// 
    6982         virtual bool hasChild(void) const; 
    70  
     83          
     84      public : 
     85       
    7186         /// Autres /// 
    7287         virtual void parse(xml::CXMLNode & node); 
     
    7590         virtual void toBinary  (StdOStream & os) const; 
    7691         virtual void fromBinary(StdIStream & is); 
     92          
     93      private : 
     94       
     95         boost::shared_ptr<date::CCalendar> calendar; 
    7796 
    7897   }; // class CContext 
Note: See TracChangeset for help on using the changeset viewer.