/[marvin]/marvin/src/libsip/type/type.hh
ViewVC logotype

Diff of /marvin/src/libsip/type/type.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by exos, Thu Sep 11 22:45:21 2003 UTC revision 1.11 by hannibal, Sat Sep 13 18:14:20 2003 UTC
# Line 66  public: Line 66  public:
66   /** \name Ctor & dtor.                                                         /** \name Ctor & dtor.                                                      
67     ** \{ */     ** \{ */
68    
69    /** \brief Construct a new abstract type    /** \brief Construct a new type of signal
    ** \param data: data witch represents signal in double  
    ** \param length: length of data, it's the number of double, be carefull, it should be allocated  
70     */     */
71      Type();
72      Type(double *data);
73    Type(double *data, int length);    Type(double *data, int length);
74    /** \} */    /** \} */
75    
76    // Operations    // Operations
77    /** \name Operations    /** \name Operations
78     ** \{ */     ** \{ */
79        void set_signal(Signal *signal){ _signal = signal; }
80    /** \brief set the signal of type    void operator = ( double *src );
81     ** \param signal is the new signal.    
    */  
   void set_signal(Signal *signal){ _signal = signal;}  
       
82    /** \brief display the signal contained in this    /** \brief display the signal contained in this
83     ** \param str where the signal shouild be print     ** \param str where the signal shouild be print
84     */     */
# Line 89  public: Line 86  public:
86    /** \} */    /** \} */
87    
88    
89    /** \name Accessors.    /** \name Accessors.                                                        
90     ** \{ */     ** \{ */
91    Signal *get_signal() const            { return _signal; }    Signal *get_signal() const            { return _signal; }
92    double *get_data() const              { return _signal->get_data(); }    double *get_data() const              { return _signal->get_data(); }
# Line 106  public: Line 103  public:
103    /** \} */    /** \} */
104  };  };
105    
 /** \brief Overload operator <<  
  */  
106  std::ostream operator<<(std::ostream ostr, Type a);  std::ostream operator<<(std::ostream ostr, Type a);
107    
108    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26