Ignore:
Timestamp:
10/16/12 13:04:44 (12 years ago)
Author:
ymipsl
Message:

Major Update

  • redesign Type and attribute manipulation
  • add enumerate type and attribute
  • use blitz class array instead of boost class array

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/attribute.cpp

    r345 r369  
    77      CAttribute::CAttribute(const StdString & id) 
    88         : CObject(id), CBaseType() 
    9          , value() 
     9//         , value() 
    1010      { /* Ne rien faire de plus */ } 
    11  
     11/* 
    1212      CAttribute::CAttribute(const CAttribute & attribut) 
    1313         : CObject(attribut.getId()),CBaseType() 
    1414      {  
    15          this->value = attribut.getAnyValue();  
     15 //        this->value = attribut.getAnyValue();  
    1616      } 
    17        
     17*/       
    1818      CAttribute::~CAttribute(void) 
    1919      { /* Ne rien faire de plus */ } 
    2020       
    2121      ///-------------------------------------------------------------- 
    22  
     22/* 
    2323      const boost::any & CAttribute::getAnyValue(void) const 
    2424      {  
     
    4343         return (this->value.empty());  
    4444      } 
    45  
     45*/ 
    4646      const StdString & CAttribute::getName(void) const 
    4747      {  
     
    5252      ///-------------------------------------------------------------- 
    5353 
    54        
     54 
    5555      CMessage& operator<<(CMessage& msg,CAttribute& type) 
    5656      { 
     
    6161     CMessage& operator<<(CMessage& msg, const CAttribute&  type) 
    6262     { 
    63        msg.push(*type.duplicate()) ; 
     63//       msg.push(*type.clone()) ; 
    6464       return msg ; 
    6565     } 
Note: See TracChangeset for help on using the changeset viewer.