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 |
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 |
|
|
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 |
*/ |
*/ |