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

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

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

revision 1.4 by hannibal, Thu Sep 11 16:16:45 2003 UTC revision 1.5 by exos, Thu Sep 11 23:21:23 2003 UTC
# Line 73  public: Line 73  public:
73    /** \brief Construct an empty signal    /** \brief Construct an empty signal
74     */     */
75    Signal::Signal();    Signal::Signal();
   /** \brief Construct an empty signal  
    ** \param location scanner position informations                            
    */  
   Signal::Signal(double *data);  
76    /** \brief Construct a new signal with initialisation    /** \brief Construct a new signal with initialisation
77     ** \param data: data to put in the structure, its a vector of double     ** \param data: data to put in the structure, its a vector of double
78     ** \param length: length of data     ** \param length: length of data
# Line 102  public: Line 98  public:
98        return ;        return ;
99      for (i = 0; data && !data[i]; ++i)      for (i = 0; data && !data[i]; ++i)
100        _data[i] = data[i];        _data[i] = data[i];
     _data[i] = '\0';  
101    }    }
102    /** \} */    /** \} */
103    
# Line 115  public: Line 110  public:
110    double &operator [] ( unsigned valeur );    double &operator [] ( unsigned valeur );
111    double &operator [] ( unsigned valeur ) const;    double &operator [] ( unsigned valeur ) const;
112        
   /** \brief equivalent to set data function  
    ** \param a vector of double to assign  
    */  
   void operator = ( double *src );  
   
113    /** \brief Compare this to another signal    /** \brief Compare this to another signal
114     ** \param the other signal     ** \param the other signal
115     */     */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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