Changeset 22:6c70706c690b in rrlib_util for tTime.h


Ignore:
Timestamp:
11.03.2011 07:57:55 (9 years ago)
Author:
Max Reichardt <reichardt@…>
Branch:
default
Phase:
public
Convert:
svn:dcce5f72-5200-4218-9373-75d9081937af/trunk@29
Message:

Added optional serialization for tTime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tTime.h

    r20 r22  
    3232namespace rrlib 
    3333{ 
     34 
     35#ifdef _LIB_RRLIB_SERIALIZATION_PRESENT_ 
     36namespace serialization 
     37{ 
     38class tInputStream; 
     39class tOutputStream; 
     40} 
     41#endif 
     42 
    3443namespace util 
    3544{ 
     
    450459  return str; 
    451460} 
     461 
     462#ifdef _LIB_RRLIB_SERIALIZATION_PRESENT_ 
     463 
     464serialization::tOutputStream &operator << (serialization::tOutputStream &stream, const tTime &t); 
     465 
     466serialization::tInputStream &operator >> (serialization::tInputStream &stream, tTime &t); 
     467 
     468#endif 
     469 
    452470} 
    453471} 
Note: See TracChangeset for help on using the changeset viewer.